#include <kpttaskeditor.h>
Public Member Functions | |
EnumDelegate (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 |
Definition at line 44 of file kpttaskeditor.h.
KPlato::EnumDelegate::EnumDelegate | ( | QObject * | parent = 0 |
) |
Definition at line 55 of file kpttaskeditor.cc.
QWidget * KPlato::EnumDelegate::createEditor | ( | QWidget * | parent, | |
const QStyleOptionViewItem & | option, | |||
const QModelIndex & | index | |||
) | const |
Definition at line 60 of file kpttaskeditor.cc.
void KPlato::EnumDelegate::setEditorData | ( | QWidget * | editor, | |
const QModelIndex & | index | |||
) | const |
Definition at line 67 of file kpttaskeditor.cc.
References KPlato::Role::EnumList, and KPlato::Role::EnumListValue.
void KPlato::EnumDelegate::setModelData | ( | QWidget * | editor, | |
QAbstractItemModel * | model, | |||
const QModelIndex & | index | |||
) | const |
Definition at line 77 of file kpttaskeditor.cc.
void KPlato::EnumDelegate::updateEditorGeometry | ( | QWidget * | editor, | |
const QStyleOptionViewItem & | option, | |||
const QModelIndex & | index | |||
) | const |
Definition at line 85 of file kpttaskeditor.cc.