13 #ifndef QmitkDataStorageTableModel_h
14 #define QmitkDataStorageTableModel_h
25 #include <QAbstractTableModel>
49 QObject *parent =
nullptr);
76 QVariant headerData(
int section, Qt::Orientation orientation,
int role)
const override;
81 Qt::ItemFlags flags(
const QModelIndex &index)
const override;
85 int rowCount(
const QModelIndex &parent)
const override;
89 int columnCount(
const QModelIndex &parent)
const override;
93 QVariant data(
const QModelIndex &index,
int role)
const override;
120 virtual std::vector<mitk::DataNode *> GetNodeSet()
const;
127 virtual void PropertyModified(
const itk::Object *caller,
const itk::EventObject &event);
131 bool setData(
const QModelIndex &index,
const QVariant &value,
int role)
override;
135 void sort(
int column, Qt::SortOrder order = Qt::AscendingOrder)
override;
168 DataNodeCompareFunction(CompareCriteria _CompareCriteria = CompareByName, CompareOperator _CompareOperator = Less);
185 virtual void Reset();