Kate
expandingtree.cpp
Go to the documentation of this file.
35 void ExpandingTree::drawRow ( QPainter * painter, const QStyleOptionViewItem & option, const QModelIndex & index ) const {
void setPageSize(const QSizeF &size)
void fillRect(const QRectF &rectangle, const QBrush &brush)
QString partialExpandText(const QModelIndex &row) const
Definition: expandingwidgetmodel.cpp:244
ExpansionType isPartiallyExpanded(const QModelIndex &index) const
Returns whether the given index is currently partially expanded. Does not do any other checks like ca...
Definition: expandingwidgetmodel.cpp:139
virtual void drawRow(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const
Definition: expandingtree.cpp:35
void setUniformRowHeights(bool uniform)
int height() const
int columnWidth(int column) const
int top() const
int left() const
QAbstractTextDocumentLayout * documentLayout() const
QRect rect() const
virtual int sizeHintForColumn(int column) const
Definition: expandingtree.cpp:62
bool isValid() const
int width() const
void translate(const QPointF &offset)
void setHtml(const QString &html)
virtual void draw(QPainter *painter, const PaintContext &context)=0
void setPaintDevice(QPaintDevice *device)
void setViewTransformEnabled(bool enable)
QAbstractItemModel * model() const
virtual void drawRow(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const
Cares about expanding/un-expanding items in a tree-view together with ExpandingDelegate.
Definition: expandingwidgetmodel.h:36
QRect partialExpandRect(const QModelIndex &row) const
Returns the rectangle for the partially expanded part of the given row.
Definition: expandingwidgetmodel.cpp:251
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.