13 #ifndef QmitkRenderWindowDataStorageTreeModel_h
14 #define QmitkRenderWindowDataStorageTreeModel_h
64 QModelIndex index(
int row,
int column,
const QModelIndex& parent = QModelIndex())
const override;
65 QModelIndex parent(
const QModelIndex& parent)
const override;
67 int rowCount(
const QModelIndex& parent = QModelIndex())
const override;
68 int columnCount(
const QModelIndex& parent = QModelIndex())
const override;
70 QVariant data(
const QModelIndex& index,
int role)
const override;
71 bool setData(
const QModelIndex& index,
const QVariant& value,
int role = Qt::EditRole)
override;
73 Qt::ItemFlags flags(
const QModelIndex& index)
const override;
75 Qt::DropActions supportedDropActions()
const override;
76 Qt::DropActions supportedDragActions()
const override;
77 QStringList mimeTypes()
const override;
78 QMimeData* mimeData(
const QModelIndexList& indexes)
const override;
80 bool dropMimeData(
const QMimeData* data, Qt::DropAction action,
int row,
int column,
const QModelIndex& parent)
override;
90 void UpdateModelData();
96 void AdjustLayerProperty();
125 std::unique_ptr<mitk::RenderWindowLayerController> m_RenderWindowLayerController;