parley
KVTTableDelegate Class Reference
#include <kvttabledelegate.h>
Inheritance diagram for KVTTableDelegate:

Detailed Description
Definition at line 31 of file kvttabledelegate.h.
Public Member Functions | |
| KVTTableDelegate (QObject *parent=0) | |
| QWidget * | createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const |
| void | setEditorData (QWidget *editor, const QModelIndex &index) const |
| void | setModelData (QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const |
| void | setCurrentIndex (const QModelIndex &index) |
| void | updateEditorGeometry (QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &index) const |
| QSize | sizeHint (const QStyleOptionViewItem &option, const QModelIndex &index) const |
| void | paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const |
Protected Member Functions | |
| void | drawDisplay (QPainter *painter, const QStyleOptionViewItem &option, const QRect &rect, const QString &text) const |
| void | drawFocus (QPainter *painter, const QStyleOptionViewItem &option, const QRect &rect) const |
Constructor & Destructor Documentation
| KVTTableDelegate::KVTTableDelegate | ( | QObject * | parent = 0 |
) |
Definition at line 43 of file kvttabledelegate.cpp.
Member Function Documentation
| QWidget * KVTTableDelegate::createEditor | ( | QWidget * | parent, | |
| const QStyleOptionViewItem & | option, | |||
| const QModelIndex & | index | |||
| ) | const |
Definition at line 46 of file kvttabledelegate.cpp.
| void KVTTableDelegate::setEditorData | ( | QWidget * | editor, | |
| const QModelIndex & | index | |||
| ) | const |
Definition at line 98 of file kvttabledelegate.cpp.
| void KVTTableDelegate::setModelData | ( | QWidget * | editor, | |
| QAbstractItemModel * | model, | |||
| const QModelIndex & | index | |||
| ) | const |
Definition at line 128 of file kvttabledelegate.cpp.
| void KVTTableDelegate::setCurrentIndex | ( | const QModelIndex & | index | ) |
Definition at line 324 of file kvttabledelegate.cpp.
| void KVTTableDelegate::updateEditorGeometry | ( | QWidget * | editor, | |
| const QStyleOptionViewItem & | option, | |||
| const QModelIndex & | index | |||
| ) | const |
- Todo:
- a better way to calculate the width of this combobox?
Definition at line 167 of file kvttabledelegate.cpp.
| QSize KVTTableDelegate::sizeHint | ( | const QStyleOptionViewItem & | option, | |
| const QModelIndex & | index | |||
| ) | const |
Definition at line 239 of file kvttabledelegate.cpp.
| void KVTTableDelegate::paint | ( | QPainter * | painter, | |
| const QStyleOptionViewItem & | option, | |||
| const QModelIndex & | index | |||
| ) | const |
Definition at line 244 of file kvttabledelegate.cpp.
| void KVTTableDelegate::drawDisplay | ( | QPainter * | painter, | |
| const QStyleOptionViewItem & | option, | |||
| const QRect & | rect, | |||
| const QString & | text | |||
| ) | const [protected] |
Definition at line 188 of file kvttabledelegate.cpp.
| void KVTTableDelegate::drawFocus | ( | QPainter * | painter, | |
| const QStyleOptionViewItem & | option, | |||
| const QRect & | rect | |||
| ) | const [protected] |
Definition at line 227 of file kvttabledelegate.cpp.
The documentation for this class was generated from the following files:
KDE 4.0 API Reference