36 #ifndef DISP3DLIB_DATA3DTREEDELEGATE_H 37 #define DISP3DLIB_DATA3DTREEDELEGATE_H 43 #include "../../disp3D_global.h" 44 #include "../model/items/common/abstracttreeitem.h" 50 #include <QStyledItemDelegate> 51 #include <QColorDialog> 89 QWidget *createEditor(QWidget* parent,
const QStyleOptionViewItem& option,
const QModelIndex& index)
const;
90 void setEditorData(QWidget* editor,
const QModelIndex& index)
const;
91 void setModelData(QWidget* editor, QAbstractItemModel* model,
const QModelIndex& index)
const;
92 void updateEditorGeometry(QWidget* editor,
const QStyleOptionViewItem& option,
const QModelIndex& index)
const;
95 void onEditorEdited();
101 #endif // DISP3DLIB_DATA3DTREEDELEGATE_H #define DISP3DSHARED_EXPORT
Provides a delegate to render user specific input methods in the tree model.