13 #ifndef QmitkPropertiesTableModel_h
14 #define QmitkPropertiesTableModel_h
21 #include <QAbstractTableModel>
34 static const int PROPERTY_NAME_COLUMN = 0;
35 static const int PROPERTY_VALUE_COLUMN = 1;
59 Qt::ItemFlags flags(
const QModelIndex &index)
const override;
63 QVariant headerData(
int section, Qt::Orientation orientation,
int role = Qt::DisplayRole)
const override;
67 QVariant data(
const QModelIndex &index,
int role = Qt::DisplayRole)
const override;
71 int rowCount(
const QModelIndex &parent = QModelIndex())
const override;
76 int columnCount(
const QModelIndex &parent)
const override;
86 virtual void PropertyListDelete();
91 virtual void PropertyModified(
const itk::Object *caller,
const itk::EventObject &event);
96 virtual void PropertyDelete(
const itk::Object *caller,
const itk::EventObject &event);
101 virtual void SetFilterPropertiesKeyWord(std::string _FilterKeyWord);
106 bool setData(
const QModelIndex &index,
const QVariant &value,
int role)
override;
111 void sort(
int column, Qt::SortOrder order = Qt::AscendingOrder)
override;
143 CompareOperator _CompareOperator = Less);
186 void RemoveSelectedProperty(
unsigned int _Index);