35 #ifndef INSPECTORDELEGATE_H
36 #define INSPECTORDELEGATE_H
38 #include <QStyledItemDelegate>
75 QWidget* parent,
const QStyleOptionViewItem& option,
76 const QModelIndex& index )
const;
95 QWidget* editor, QAbstractItemModel* model,
96 const QModelIndex & index )
const;
110 #endif // INSPECTORDELEGATE_H
void _handleCloseEditor(QWidget *, QAbstractItemDelegate::EndEditHint)
reset working dir
delegate to handle parameter types and offer specialized editors
bool eventFilter(QObject *object, QEvent *event)
filter editor events
InspectorDelegate(QObject *parent=0)
standart constructor
void _setFileDialogFlag(bool flag)
set _fileDialogFlag
virtual void setModelData(QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const
Sets the data for the item at the given index in the model to the contents of the given editor...
virtual QWidget * createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const
create own editors, if necessary
bool _fileDialogFlag
file dialog opened