13 #ifndef QmitkModelViewSelectionConnector_h
14 #define QmitkModelViewSelectionConnector_h
22 #include <QAbstractItemView>
63 void SetView(QAbstractItemView* view);
70 bool GetSelectOnlyVisibleNodes()
const;
79 void CurrentSelectionChanged(QList<mitk::DataNode::Pointer> nodes);
94 void SetSelectOnlyVisibleNodes(
bool selectOnlyVisibleNodes);
108 void SetCurrentSelection(QList<mitk::DataNode::Pointer> selectedNodes);
121 void ChangeModelSelection(
const QItemSelection& selected,
const QItemSelection& deselected);
126 QAbstractItemView* m_View;
128 bool m_SelectOnlyVisibleNodes;
129 QList<mitk::DataNode::Pointer> m_NonVisibleSelection;
138 QList<mitk::DataNode::Pointer> GetInternalSelectedNodes()
const;
145 QList<mitk::DataNode::Pointer> FilterNodeList(
const QList<mitk::DataNode::Pointer>& nodes)
const;