Medical Imaging Interaction Toolkit
2024.06.00
Medical Imaging Interaction Toolkit
|
A view that shows all data nodes of the data storage in a qt tree view. More...
#include <QmitkDataManagerView.h>
Public Slots | |
void | OnPreferencesChanged (const mitk::IPreferences *prefs) override |
void | NodeTreeViewRowsInserted (const QModelIndex &parent, int start, int end) |
When rows are inserted auto expand them. More... | |
void | NodeTreeViewRowsRemoved (const QModelIndex &parent, int start, int end) |
will setup m_CurrentRowCount More... | |
void | NodeSelectionChanged (const QItemSelection &selected, const QItemSelection &deselected) |
Whenever the selection changes set the "selected" property respectively. More... | |
void | OnNodeVisibilityChanged () |
Public Member Functions | |
QmitkDataManagerView () | |
~QmitkDataManagerView () override | |
Public Member Functions inherited from QmitkAbstractView | |
berryObjectMacro (QmitkAbstractView) | |
QmitkAbstractView () | |
~QmitkAbstractView () override | |
Public Member Functions inherited from berry::QtViewPart | |
berryObjectMacro (QtViewPart) | |
Public Member Functions inherited from berry::ViewPart | |
berryObjectMacro (ViewPart, WorkbenchPart, IViewPart) | |
void | Init (IViewSite::Pointer site, IMemento::Pointer memento=IMemento::Pointer(nullptr)) override |
void | SaveState (IMemento::Pointer memento) override |
IViewSite::Pointer | GetViewSite () override |
Public Member Functions inherited from berry::WorkbenchPart | |
berryObjectMacro (WorkbenchPart, QObject, IWorkbenchPart, IExecutableExtension) | |
~WorkbenchPart () override | |
void | AddPropertyListener (IPropertyChangeListener *l) override |
void | RemovePropertyListener (IPropertyChangeListener *l) override |
void | SetPartProperty (const QString &key, const QString &value) override |
QString | GetPartProperty (const QString &key) const override |
const QHash< QString, QString > & | GetPartProperties () const override |
void | SetInitializationData (const IConfigurationElement::Pointer &cfig, const QString &propertyName, const Object::Pointer &data) override |
IWorkbenchPartSite::Pointer | GetSite () const override |
QString | GetPartName () const override |
QString | GetContentDescription () const override |
QIcon | GetTitleImage () const override |
QString | GetTitleToolTip () const override |
Public Member Functions inherited from berry::IWorkbenchPart | |
berryObjectMacro (berry::IWorkbenchPart, Object) | |
~IWorkbenchPart () override | |
Public Member Functions inherited from berry::Object | |
virtual QString | GetClassName () const |
virtual Reflection::TypeInfo | GetTypeInfo () const |
virtual QList< Reflection::TypeInfo > | GetSuperclasses () const |
virtual void | Delete () |
QDebug | Print (QDebug os, Indent Indent=0) const |
virtual QString | ToString () const |
virtual uint | HashCode () const |
virtual bool | operator< (const Object *) const |
void | Register () const |
void | UnRegister (bool del=true) const |
int | GetReferenceCount () const |
void | SetReferenceCount (int) |
void | AddDestroyListener (const MessageAbstractDelegate<> &delegate) const |
void | RemoveDestroyListener (const MessageAbstractDelegate<> &delegate) const |
virtual bool | operator== (const Object *) const |
Public Member Functions inherited from berry::IExecutableExtension | |
virtual | ~IExecutableExtension () |
virtual void | SetInitializationData (const SmartPointer< IConfigurationElement > &config, const QString &propertyName, const Object::Pointer &data)=0 |
Public Member Functions inherited from berry::IViewPart | |
berryObjectMacro (berry::IViewPart, IWorkbenchPart) | |
~IViewPart () override | |
Static Public Attributes | |
static const QString | VIEW_ID |
Protected Member Functions | |
void | CreateQtPartControl (QWidget *parent) override |
void | SetFocus () override |
void | NodeChanged (const mitk::DataNode *node) override |
Protected Member Functions inherited from QmitkAbstractView | |
void | FireNodeSelected (mitk::DataNode::Pointer node) |
virtual void | FireNodesSelected (const QList< mitk::DataNode::Pointer > &nodes) |
QList< mitk::DataNode::Pointer > | GetCurrentSelection () const |
bool | IsCurrentSelectionValid () const |
QList< mitk::DataNode::Pointer > | GetDataManagerSelection () const |
bool | IsDataManagerSelectionValid () const |
void | SetDataManagerSelection (const berry::ISelection::ConstPointer &selection, QItemSelectionModel::SelectionFlags flags=QItemSelectionModel::ClearAndSelect) const |
void | SynchronizeDataManagerSelection () const |
virtual mitk::IPreferences * | GetPreferences () const |
mitk::IDataStorageReference::Pointer | GetDataStorageReference () const |
mitk::DataStorage::Pointer | GetDataStorage () const |
mitk::IRenderWindowPart * | GetRenderWindowPart (mitk::WorkbenchUtil::IRenderWindowPartStrategies strategies=mitk::WorkbenchUtil::NONE) const |
void | RequestRenderWindowUpdate (mitk::RenderingManager::RequestType requestType=mitk::RenderingManager::REQUEST_UPDATE_ALL) |
void | HandleException (std::exception &e, QWidget *parent=nullptr, bool showDialog=true) const |
void | HandleException (const char *str, QWidget *parent=nullptr, bool showDialog=true) const |
void | WaitCursorOn () |
void | WaitCursorOff () |
void | BusyCursorOn () |
void | BusyCursorOff () |
void | RestoreOverrideCursor () |
Protected Member Functions inherited from berry::ViewPart | |
ViewPart () | |
void | CheckSite (IWorkbenchPartSite::Pointer site) override |
Protected Member Functions inherited from berry::WorkbenchPart | |
WorkbenchPart () | |
IConfigurationElement::Pointer | GetConfigurationElement () const |
void | SetSite (IWorkbenchPartSite::Pointer site) |
virtual void | SetTitleImage (const QIcon &titleImage) |
virtual void | SetTitleToolTip (const QString &toolTip) |
virtual void | SetPartName (const QString &partName) |
virtual void | SetContentDescription (const QString &description) |
void | FirePropertyChanged (const QString &key, const QString &oldValue, const QString &newValue) |
void | FirePropertyChange (int propertyId) |
Protected Member Functions inherited from berry::Object | |
Object () | |
virtual | ~Object () |
virtual QDebug | PrintSelf (QDebug os, Indent indent) const |
virtual QDebug | PrintHeader (QDebug os, Indent indent) const |
virtual QDebug | PrintTrailer (QDebug os, Indent indent) const |
Protected Attributes | |
QWidget * | m_Parent |
QmitkDnDFrameWidget * | m_DnDFrameWidget |
QmitkDataStorageTreeModel * | m_NodeTreeModel |
A plain widget as the base pane. More... | |
QmitkDataStorageFilterProxyModel * | m_FilterModel |
mitk::NodePredicateBase::Pointer | m_HelperObjectFilterPredicate |
mitk::NodePredicateBase::Pointer | m_NodeWithNoDataFilterPredicate |
QTreeView * | m_NodeTreeView |
The Table view to show the selected nodes. More... | |
QmitkDataNodeContextMenu * | m_DataNodeContextMenu |
The context menu that shows up when right clicking on a node. More... | |
size_t | m_CurrentRowCount |
saves the current amount of rows shown in the data manager More... | |
QmitkDataManagerItemDelegate * | m_ItemDelegate |
Protected Attributes inherited from berry::Object | |
QAtomicInt | m_ReferenceCount |
QMutex | m_ReferenceCountLock |
Additional Inherited Members | |
Public Types inherited from berry::Object | |
typedef Object | Self |
typedef berry::SmartPointer< Self > | Pointer |
typedef berry::SmartPointer< const Self > | ConstPointer |
typedef berry::WeakPointer< Self > | WeakPtr |
typedef berry::WeakPointer< const Self > | ConstWeakPtr |
Static Public Member Functions inherited from berry::Object | |
static const char * | GetStaticClassName () |
static Reflection::TypeInfo | GetStaticTypeInfo () |
static QList< Reflection::TypeInfo > | GetStaticSuperclasses () |
A view that shows all data nodes of the data storage in a qt tree view.
Definition at line 43 of file QmitkDataManagerView.h.
QmitkDataManagerView::QmitkDataManagerView | ( | ) |
|
override |
|
overrideprotectedvirtual |
Implements berry::QtViewPart.
|
overrideprotectedvirtual |
React to node changes. Overridden from QmitkAbstractView.
Reimplemented from QmitkAbstractView.
|
slot |
Whenever the selection changes set the "selected" property respectively.
|
slot |
When rows are inserted auto expand them.
|
slot |
will setup m_CurrentRowCount
|
slot |
|
overrideslot |
|
overrideprotectedvirtual |
Asks this part to take focus within the workbench.
Clients should not call this method (the workbench calls this method at appropriate times). To have the workbench activate a part, use IWorkbenchPage.activate(IWorkbenchPart) instead
.
Implements berry::WorkbenchPart.
|
protected |
saves the current amount of rows shown in the data manager
Definition at line 107 of file QmitkDataManagerView.h.
|
protected |
The context menu that shows up when right clicking on a node.
Definition at line 104 of file QmitkDataManagerView.h.
|
protected |
Definition at line 87 of file QmitkDataManagerView.h.
|
protected |
Definition at line 93 of file QmitkDataManagerView.h.
|
protected |
Definition at line 94 of file QmitkDataManagerView.h.
|
protected |
Definition at line 109 of file QmitkDataManagerView.h.
|
protected |
A plain widget as the base pane.
Definition at line 92 of file QmitkDataManagerView.h.
|
protected |
The Table view to show the selected nodes.
Definition at line 100 of file QmitkDataManagerView.h.
|
protected |
Definition at line 95 of file QmitkDataManagerView.h.
|
protected |
Definition at line 86 of file QmitkDataManagerView.h.
|
static |
Definition at line 49 of file QmitkDataManagerView.h.