Kate
katecategorydrawer.cpp
Go to the documentation of this file.
248 const QString category = index.model()->data(index, Qt::DisplayRole).toString(); // KCategorizedSortFilterProxyModel::CategoryDisplayRole).toString();
263 int KateCategoryDrawer::categoryHeight(const QModelIndex &index, const QStyleOption &option) const
int & rx()
int & ry()
QPoint topRight() const
void fillRect(const QRectF &rectangle, const QBrush &brush)
void setRenderHint(RenderHint hint, bool on)
void setColorAt(qreal position, const QColor &color)
virtual int categoryHeight(const QModelIndex &index, const QStyleOption &option) const
Definition: katecategorydrawer.cpp:263
QPoint bottomRight() const
void translate(int dx, int dy)
void save()
QPoint bottomLeft() const
int height() const
Qt::LayoutDirection layoutDirection() const
int x() const
int y() const
void setBold(bool enable)
void setFont(const QFont &font)
QFont font()
void translate(qreal dx, qreal dy)
void drawArc(const QRectF &rectangle, int startAngle, int spanAngle)
int top() const
void fillPath(const QPainterPath &path, const QBrush &brush)
void setPen(const QColor &color)
void lineTo(const QPointF &endPoint)
void setTop(int y)
int left() const
void drawText(const QPointF &position, const QString &text)
virtual QVariant data(const QModelIndex &index, int role) const =0
void setFinalStop(const QPointF &stop)
void restore()
int width() const
const QAbstractItemModel * model() const
int height() const
QPoint topLeft() const
qreal & rx()
void setStart(const QPointF &start)
void setAlphaF(qreal alpha)
virtual void drawCategory(const QModelIndex &index, int sortRole, const QStyleOption &option, QPainter *painter) const
Definition: katecategorydrawer.cpp:35
QString toString() const
void setLeft(int x)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:56:57 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:56:57 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.