13 #ifndef QmitkAbstractView_h
14 #define QmitkAbstractView_h
32 #include <QItemSelectionModel>
39 class QmitkAbstractViewPrivate;
40 class QmitkAbstractViewSelectionProvider;
126 virtual void FireNodesSelected(
const QList<mitk::DataNode::Pointer>& nodes);
134 QList<mitk::DataNode::Pointer> GetCurrentSelection()
const;
142 bool IsCurrentSelectionValid()
const;
150 QList<mitk::DataNode::Pointer> GetDataManagerSelection()
const;
158 bool IsDataManagerSelectionValid()
const;
167 QItemSelectionModel::SelectionFlags flags = QItemSelectionModel::ClearAndSelect)
const;
173 void SynchronizeDataManagerSelection()
const;
216 void HandleException( std::exception& e, QWidget* parent =
nullptr,
bool showDialog =
true )
const;
222 void HandleException(
const char* str, QWidget* parent =
nullptr,
bool showDialog =
true )
const;
232 void WaitCursorOff();
242 void BusyCursorOff();
247 void RestoreOverrideCursor();
258 virtual void SetSelectionProvider();
272 virtual QItemSelectionModel* GetDataNodeSelectionModel()
const;
324 virtual void DataStorageModified();
343 void AfterCreateQtPartControl();
347 friend class QmitkAbstractViewPrivate;
348 friend class QmitkViewCoordinator;
352 const QScopedPointer<QmitkAbstractViewPrivate> d;