13 #ifndef UAT_DELEGATE_H 14 #define UAT_DELEGATE_H 18 #include <epan/uat-int.h> 20 #include <QStyledItemDelegate> 21 #include <QModelIndex> 30 QWidget *createEditor(QWidget *parent,
const QStyleOptionViewItem &
option,
31 const QModelIndex &index)
const;
32 void setEditorData(QWidget *editor,
const QModelIndex &index)
const;
33 void setModelData(QWidget *editor, QAbstractItemModel *model,
34 const QModelIndex &index)
const;
37 void applyFilename(
const QModelIndex& index);
38 void applyColor(
const QModelIndex& index);
41 uat_field_t *indexToField(
const QModelIndex &index)
const;
43 #endif // UAT_DELEGATE_H
Definition: uat_delegate.h:23