13 #ifndef QMITKABSTRACTVIEW_H_ 14 #define QMITKABSTRACTVIEW_H_ 35 #include <QItemSelectionModel> 42 struct IBerryPreferences;
45 class QmitkAbstractViewPrivate;
46 class QmitkAbstractViewSelectionProvider;
132 virtual void FireNodesSelected(
const QList<mitk::DataNode::Pointer>& nodes);
140 QList<mitk::DataNode::Pointer> GetCurrentSelection()
const;
148 bool IsCurrentSelectionValid()
const;
156 QList<mitk::DataNode::Pointer> GetDataManagerSelection()
const;
164 bool IsDataManagerSelectionValid()
const;
173 QItemSelectionModel::SelectionFlags flags = QItemSelectionModel::ClearAndSelect)
const;
179 void SynchronizeDataManagerSelection()
const;
222 void HandleException( std::exception& e, QWidget* parent =
nullptr,
bool showDialog =
true )
const;
228 void HandleException(
const char* str, QWidget* parent =
nullptr,
bool showDialog =
true )
const;
238 void WaitCursorOff();
248 void BusyCursorOff();
253 void RestoreOverrideCursor();
264 virtual void SetSelectionProvider();
278 virtual QItemSelectionModel* GetDataNodeSelectionModel()
const;
330 virtual void DataStorageModified();
343 void CreatePartControl(QWidget* parent)
override;
349 void AfterCreateQtPartControl();
353 friend class QmitkAbstractViewPrivate;
354 friend class QmitkViewCoordinator;
358 const QScopedPointer<QmitkAbstractViewPrivate> d;
Interface for a MITK Workbench Part providing a render window.
DataCollection - Class to facilitate loading/accessing structured data.
#define berryObjectMacro(...)
A convenient base class for MITK related BlueBerry Views.
Class for nodes of the DataTree.