Kate
ExpandingDelegate Class Reference
#include <expandingdelegate.h>

Detailed Description
This is a delegate that cares, together with ExpandingWidgetModel, about embedded widgets in tree-view.Definition at line 41 of file expandingdelegate.h.
Constructor & Destructor Documentation
ExpandingDelegate::ExpandingDelegate | ( | ExpandingWidgetModel * | model, | |
QObject * | parent = 0L | |||
) | [explicit] |
Definition at line 32 of file expandingdelegate.cpp.
Member Function Documentation
void ExpandingDelegate::adjustStyle | ( | const QModelIndex & | index, | |
QStyleOptionViewItem & | option | |||
) | const [protected, virtual] |
QSize ExpandingDelegate::basicSizeHint | ( | const QModelIndex & | index | ) | const |
Definition at line 79 of file expandingdelegate.cpp.
QList< QTextLayout::FormatRange > ExpandingDelegate::createHighlighting | ( | const QModelIndex & | index, | |
QStyleOptionViewItem & | option | |||
) | const [protected, virtual] |
void ExpandingDelegate::drawBackground | ( | QPainter * | painter, | |
const QStyleOptionViewItem & | option, | |||
const QModelIndex & | index | |||
) | const [protected, virtual] |
Definition at line 181 of file expandingdelegate.cpp.
void ExpandingDelegate::drawDisplay | ( | QPainter * | painter, | |
const QStyleOptionViewItem & | option, | |||
const QRect & | rect, | |||
const QString & | text | |||
) | const [protected, virtual] |
Definition at line 102 of file expandingdelegate.cpp.
bool ExpandingDelegate::editorEvent | ( | QEvent * | event, | |
QAbstractItemModel * | model, | |||
const QStyleOptionViewItem & | option, | |||
const QModelIndex & | index | |||
) | [protected, virtual] |
Definition at line 196 of file expandingdelegate.cpp.
void ExpandingDelegate::heightChanged | ( | ) | const [protected, virtual] |
QList< QTextLayout::FormatRange > ExpandingDelegate::highlightingFromVariantList | ( | const QList< QVariant > & | customHighlights | ) | const [protected] |
Creates a list of FormatRanges as should be returned by createHighlighting from a list of QVariants as described in the kde header ktexteditor/codecompletionmodel.h.
Definition at line 216 of file expandingdelegate.cpp.
void ExpandingDelegate::initStyleOption | ( | QStyleOptionViewItem * | option, | |
const QModelIndex & | index | |||
) | const [protected] |
ExpandingWidgetModel * ExpandingDelegate::model | ( | ) | const |
Definition at line 189 of file expandingdelegate.cpp.
void ExpandingDelegate::paint | ( | QPainter * | painter, | |
const QStyleOptionViewItem & | option, | |||
const QModelIndex & | index | |||
) | const [virtual] |
Definition at line 38 of file expandingdelegate.cpp.
QSize ExpandingDelegate::sizeHint | ( | const QStyleOptionViewItem & | option, | |
const QModelIndex & | index | |||
) | const [protected, virtual] |
Definition at line 83 of file expandingdelegate.cpp.
Member Data Documentation
Qt::Alignment ExpandingDelegate::m_cachedAlignment [mutable, protected] |
Definition at line 81 of file expandingdelegate.h.
QList<QTextLayout::FormatRange> ExpandingDelegate::m_cachedHighlights [mutable, protected] |
Definition at line 79 of file expandingdelegate.h.
int ExpandingDelegate::m_currentColumnStart [mutable, protected] |
Definition at line 77 of file expandingdelegate.h.
QList<int> ExpandingDelegate::m_currentColumnStarts [mutable, protected] |
Definition at line 78 of file expandingdelegate.h.
The documentation for this class was generated from the following files: