Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkViewNavigatorWidget Class Reference

#include <QmitkViewNavigatorWidget.h>

Inheritance diagram for QmitkViewNavigatorWidget:
Collaboration diagram for QmitkViewNavigatorWidget:

Public Slots

void CustomMenuRequested (QPoint pos)
 
void ItemClicked (const QModelIndex &index)
 
void SaveCurrentPerspectiveAs ()
 
void ResetCurrentPerspective ()
 
void CloseAllPerspectives ()
 
void ClosePerspective ()
 
void ExpandAll ()
 
void CollapseAll ()
 
void FilterChanged ()
 

Public Member Functions

 QmitkViewNavigatorWidget (berry::IWorkbenchWindow::Pointer window, QWidget *parent=nullptr, Qt::WindowFlags f=nullptr)
 
virtual ~QmitkViewNavigatorWidget ()
 
virtual void CreateQtPartControl (QWidget *parent)
 
void setFocus ()
 
bool FillTreeList ()
 
void UpdateTreeList (QStandardItem *item=nullptr, berry::IWorkbenchPartReference *partRef=nullptr, const std::string &changeId="")
 

Public Attributes

QScopedPointer< berry::IPerspectiveListenerm_PerspectiveListener
 
QScopedPointer< berry::IWindowListenerm_WindowListener
 

Protected Attributes

Ui::QmitkViewNavigatorWidgetControls m_Controls
 
QWidget * m_Parent
 
QStandardItemModel * m_TreeModel
 
ClassFilterProxyModel * m_FilterProxyModel
 
QMenu * m_ContextMenu
 
berry::IPerspectiveDescriptor::Pointer m_ActivePerspective
 
bool m_Generated
 

Detailed Description

Definition at line 41 of file QmitkViewNavigatorWidget.h.

Constructor & Destructor Documentation

QmitkViewNavigatorWidget::QmitkViewNavigatorWidget ( berry::IWorkbenchWindow::Pointer  window,
QWidget *  parent = nullptr,
Qt::WindowFlags  f = nullptr 
)

Definition at line 260 of file QmitkViewNavigatorWidget.cpp.

References CreateQtPartControl(), and m_Generated.

QmitkViewNavigatorWidget::~QmitkViewNavigatorWidget ( )
virtual

Definition at line 269 of file QmitkViewNavigatorWidget.cpp.

References m_PerspectiveListener.

Member Function Documentation

void QmitkViewNavigatorWidget::CloseAllPerspectives ( )
slot
void QmitkViewNavigatorWidget::ClosePerspective ( )
slot

Definition at line 611 of file QmitkViewNavigatorWidget.cpp.

Referenced by CustomMenuRequested().

void QmitkViewNavigatorWidget::CollapseAll ( )
slot

Definition at line 643 of file QmitkViewNavigatorWidget.cpp.

References m_Controls.

Referenced by CustomMenuRequested().

void QmitkViewNavigatorWidget::CreateQtPartControl ( QWidget *  parent)
virtual
void QmitkViewNavigatorWidget::ExpandAll ( )
slot

Definition at line 638 of file QmitkViewNavigatorWidget.cpp.

References m_Controls.

Referenced by CustomMenuRequested().

void QmitkViewNavigatorWidget::FilterChanged ( )
slot

Definition at line 537 of file QmitkViewNavigatorWidget.cpp.

References m_Controls, and m_FilterProxyModel.

Referenced by CreateQtPartControl().

void QmitkViewNavigatorWidget::ResetCurrentPerspective ( )
slot
void QmitkViewNavigatorWidget::SaveCurrentPerspectiveAs ( )
slot
void QmitkViewNavigatorWidget::setFocus ( )

Definition at line 274 of file QmitkViewNavigatorWidget.cpp.

References m_Controls.

void QmitkViewNavigatorWidget::UpdateTreeList ( QStandardItem *  item = nullptr,
berry::IWorkbenchPartReference partRef = nullptr,
const std::string &  changeId = "" 
)

Member Data Documentation

berry::IPerspectiveDescriptor::Pointer QmitkViewNavigatorWidget::m_ActivePerspective
protected

Definition at line 83 of file QmitkViewNavigatorWidget.h.

Referenced by CustomMenuRequested().

QMenu* QmitkViewNavigatorWidget::m_ContextMenu
protected

Definition at line 82 of file QmitkViewNavigatorWidget.h.

Referenced by CreateQtPartControl(), and CustomMenuRequested().

Ui::QmitkViewNavigatorWidgetControls QmitkViewNavigatorWidget::m_Controls
protected
ClassFilterProxyModel* QmitkViewNavigatorWidget::m_FilterProxyModel
protected
bool QmitkViewNavigatorWidget::m_Generated
protected

Definition at line 84 of file QmitkViewNavigatorWidget.h.

Referenced by QmitkViewNavigatorWidget(), and UpdateTreeList().

QWidget* QmitkViewNavigatorWidget::m_Parent
protected

Definition at line 79 of file QmitkViewNavigatorWidget.h.

Referenced by CreateQtPartControl().

QScopedPointer<berry::IPerspectiveListener> QmitkViewNavigatorWidget::m_PerspectiveListener

Definition at line 58 of file QmitkViewNavigatorWidget.h.

Referenced by CreateQtPartControl(), and ~QmitkViewNavigatorWidget().

QStandardItemModel* QmitkViewNavigatorWidget::m_TreeModel
protected
QScopedPointer<berry::IWindowListener> QmitkViewNavigatorWidget::m_WindowListener

Definition at line 59 of file QmitkViewNavigatorWidget.h.

Referenced by FillTreeList().


The documentation for this class was generated from the following files: