13 #ifndef QmitkRenderWindowDataNodeTableModel_h
14 #define QmitkRenderWindowDataNodeTableModel_h
42 void UpdateModelData();
48 using NodeList = QList<mitk::DataNode::Pointer>;
49 void SetCurrentSelection(
NodeList selectedNodes);
50 NodeList GetCurrentSelection()
const;
53 QModelIndex index(
int row,
int column,
const QModelIndex& parent = QModelIndex())
const override;
54 QModelIndex parent(
const QModelIndex& child)
const override;
56 int rowCount(
const QModelIndex& parent = QModelIndex())
const override;
57 int columnCount(
const QModelIndex& parent = QModelIndex())
const override;
59 QVariant data(
const QModelIndex& index,
int role)
const override;
60 bool setData(
const QModelIndex& index,
const QVariant& value,
int role = Qt::EditRole)
override;
62 Qt::ItemFlags flags(
const QModelIndex& index)
const override;
64 Qt::DropActions supportedDropActions()
const override;
65 Qt::DropActions supportedDragActions()
const override;
66 QStringList mimeTypes()
const override;
67 QMimeData* mimeData(
const QModelIndexList& indexes)
const override;
69 bool dropMimeData(
const QMimeData* data, Qt::DropAction action,
int row,
int column,
const QModelIndex& parent)
override;
77 std::unique_ptr<mitk::RenderWindowLayerController> m_RenderWindowLayerController;
82 QIcon m_InvisibleIcon;