23 #ifndef DIGIKAM_WS_COMBO_BOX_DELEGATE_H
24 #define DIGIKAM_WS_COMBO_BOX_DELEGATE_H
28 #include <QAbstractItemDelegate>
29 #include <QAbstractItemModel>
31 #include <QModelIndex>
35 #include <QStyleOptionViewItem>
60 void startEditing(QTreeWidgetItem*,
int);
66 void paint(QPainter*,
const QStyleOptionViewItem&,
const QModelIndex&)
const override;
67 QSize sizeHint(
const QStyleOptionViewItem&,
const QModelIndex&)
const override;
68 QWidget* createEditor(QWidget*,
const QStyleOptionViewItem&,
const QModelIndex&)
const override;
69 void setEditorData(QWidget*,
const QModelIndex&)
const override;
70 void setModelData(QWidget*, QAbstractItemModel*,
const QModelIndex&)
const override;
75 void slotCommitAndCloseEditor(
int);
76 void slotResetEditedState(QObject*);
Definition: wscomboboxdelegate.h:47
Definition: ditemslist.h:196
Definition: datefolderview.cpp:43