#include <kptwbsdefinitionpanel.h>
Public Member Functions | |
| ComboBoxDelegate (QStringList &list, 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 | updateEditorGeometry (QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &index) const |
Private Attributes | |
| QStringList | m_list |
Definition at line 36 of file kptwbsdefinitionpanel.h.
| KPlato::ComboBoxDelegate::ComboBoxDelegate | ( | QStringList & | list, | |
| QObject * | parent = 0 | |||
| ) |
| QWidget * KPlato::ComboBoxDelegate::createEditor | ( | QWidget * | parent, | |
| const QStyleOptionViewItem & | option, | |||
| const QModelIndex & | index | |||
| ) | const |
Definition at line 50 of file kptwbsdefinitionpanel.cc.
| void KPlato::ComboBoxDelegate::setEditorData | ( | QWidget * | editor, | |
| const QModelIndex & | index | |||
| ) | const |
| void KPlato::ComboBoxDelegate::setModelData | ( | QWidget * | editor, | |
| QAbstractItemModel * | model, | |||
| const QModelIndex & | index | |||
| ) | const |
Definition at line 68 of file kptwbsdefinitionpanel.cc.
| void KPlato::ComboBoxDelegate::updateEditorGeometry | ( | QWidget * | editor, | |
| const QStyleOptionViewItem & | option, | |||
| const QModelIndex & | index | |||
| ) | const |
Definition at line 75 of file kptwbsdefinitionpanel.cc.
QStringList KPlato::ComboBoxDelegate::m_list [private] |
Definition at line 51 of file kptwbsdefinitionpanel.h.
Referenced by ComboBoxDelegate(), and setEditorData().
1.5.1-p1