KTextEditor
katecategorydrawer.cpp
20void KateCategoryDrawer::drawCategory(const QModelIndex &index, int sortRole, const QStyleOption &option, QPainter *painter) const
185 const QString category = index.model()->data(index, Qt::DisplayRole).toString(); // KCategorizedSortFilterProxyModel::CategoryDisplayRole).toString();
200int KateCategoryDrawer::categoryHeight(const QModelIndex &index, const QStyleOption &option) const
Q_SCRIPTABLE Q_NOREPLY void start()
Category category(StandardShortcut id)
virtual QVariant data(const QModelIndex &index, int role) const const=0
QFont font()
void setAlphaF(float alpha)
int height() const const
const QAbstractItemModel * model() const const
Antialiasing
void drawArc(const QRect &rectangle, int startAngle, int spanAngle)
void drawText(const QPoint &position, const QString &text)
void fillRect(const QRect &rectangle, QGradient::Preset preset)
Qt::LayoutDirection layoutDirection() const const
void restore()
void save()
void setFont(const QFont &font)
void setPen(Qt::PenStyle style)
void setRenderHint(RenderHint hint, bool on)
int & rx()
int & ry()
int height() const const
int left() const const
void setLeft(int x)
void setTop(int y)
int top() const const
QPoint topLeft() const const
QPoint topRight() const const
int width() const const
void translate(const QPointF &offset)
AlignLeft
transparent
DisplayRole
LeftToRight
QString toString() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 4 2024 12:03:01 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 4 2024 12:03:01 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.