Slicer  4.11
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Public Types | Public Slots | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes
qSlicerSceneViewsModuleWidget Class Reference

#include <Modules/Loadable/SceneViews/GUI/qSlicerSceneViewsModuleWidget.h>

Inheritance diagram for qSlicerSceneViewsModuleWidget:
Inheritance graph
[legend]
Collaboration diagram for qSlicerSceneViewsModuleWidget:
Collaboration graph
[legend]

Public Types

typedef qSlicerAbstractModuleWidget Superclass
 
- Public Types inherited from qSlicerAbstractModuleRepresentation
typedef qSlicerObject Superclass
 

Public Slots

void editSceneView (const QString &mrmlId)
 User clicked on property edit button. More...
 
void onMRMLSceneReset ()
 
void restoreSceneView (const QString &mrmlId)
 User clicked on restore button. More...
 
void showSceneViewDialog ()
 
- Public Slots inherited from qSlicerWidget
void setMRMLScene (vtkMRMLScene *scene) override
 

Public Member Functions

void enter () override
 Set up the GUI from mrml when entering. More...
 
void exit () override
 Disconnect from scene when exiting. More...
 
 qSlicerSceneViewsModuleWidget (QWidget *parent=nullptr)
 
bool setEditedNode (vtkMRMLNode *node, QString role=QString(), QString context=QString()) override
 Node editing. More...
 
 ~qSlicerSceneViewsModuleWidget () override
 
- Public Member Functions inherited from qSlicerAbstractModuleWidget
bool isEntered () const
 
Q_INVOKABLE double nodeEditable (vtkMRMLNode *node) override
 
 qSlicerAbstractModuleWidget (QWidget *parent=nullptr)
 
 ~qSlicerAbstractModuleWidget () override
 
- Public Member Functions inherited from qSlicerWidget
vtkSlicerApplicationLogicappLogic () const
 
vtkMRMLAbstractLogicmoduleLogic (const QString &moduleName) const
 
 qSlicerWidget (QWidget *parent=nullptr, Qt::WindowFlags f=nullptr)
 
 ~qSlicerWidget () override
 
- Public Member Functions inherited from qSlicerObject
vtkMRMLScenemrmlScene () const
 Return a pointer on the MRML scene. More...
 
 qSlicerObject ()
 
virtual void setMRMLScene (vtkMRMLScene *)
 Set the current MRML scene to the widget. More...
 
virtual ~qSlicerObject ()
 
- Public Member Functions inherited from qSlicerAbstractModuleRepresentation
qSlicerAbstractCoreModulemodule () const
 
QString moduleName () const
 Set/Get module name. More...
 
 qSlicerAbstractModuleRepresentation ()
 
 ~qSlicerAbstractModuleRepresentation () override
 

Protected Slots

void moveDownSelected (QString mrmlId)
 
void moveUpSelected (QString mrmlId)
 
void onDeleteButtonClicked ()
 
void onEditButtonClicked ()
 
void onMRMLSceneEvent (vtkObject *, vtkObject *node)
 Respond to scene events. More...
 
void onRestoreButtonClicked ()
 
void onSceneViewDoubleClicked (int row, int column)
 
void updateFromMRMLScene ()
 respond to mrml events More...
 

Protected Member Functions

void setup () override
 
- Protected Member Functions inherited from qSlicerAbstractModuleRepresentation
vtkMRMLAbstractLogiclogic () const
 

Protected Attributes

QScopedPointer< qSlicerSceneViewsModuleWidgetPrivate > d_ptr
 
- Protected Attributes inherited from qSlicerAbstractModuleWidget
QScopedPointer< qSlicerAbstractModuleWidgetPrivate > d_ptr
 
- Protected Attributes inherited from qSlicerWidget
QScopedPointer< qSlicerWidgetPrivate > d_ptr
 
- Protected Attributes inherited from qSlicerObject
QScopedPointer< qSlicerObjectPrivate > d_ptr
 
- Protected Attributes inherited from qSlicerAbstractModuleRepresentation
QScopedPointer< qSlicerAbstractModuleRepresentationPrivate > d_ptr
 

Additional Inherited Members

- Properties inherited from qSlicerAbstractModuleWidget
bool isEntered
 
- Signals inherited from qSlicerWidget
void mrmlSceneChanged (vtkMRMLScene *)
 

Detailed Description

Definition at line 22 of file qSlicerSceneViewsModuleWidget.h.

Member Typedef Documentation

◆ Superclass

Definition at line 28 of file qSlicerSceneViewsModuleWidget.h.

Constructor & Destructor Documentation

◆ qSlicerSceneViewsModuleWidget()

qSlicerSceneViewsModuleWidget::qSlicerSceneViewsModuleWidget ( QWidget *  parent = nullptr)

◆ ~qSlicerSceneViewsModuleWidget()

qSlicerSceneViewsModuleWidget::~qSlicerSceneViewsModuleWidget ( )
override

Member Function Documentation

◆ editSceneView

void qSlicerSceneViewsModuleWidget::editSceneView ( const QString &  mrmlId)
slot

User clicked on property edit button.

◆ enter()

void qSlicerSceneViewsModuleWidget::enter ( )
overridevirtual

Set up the GUI from mrml when entering.

Reimplemented from qSlicerAbstractModuleWidget.

◆ exit()

void qSlicerSceneViewsModuleWidget::exit ( )
overridevirtual

Disconnect from scene when exiting.

Reimplemented from qSlicerAbstractModuleWidget.

◆ moveDownSelected

void qSlicerSceneViewsModuleWidget::moveDownSelected ( QString  mrmlId)
protectedslot

◆ moveUpSelected

void qSlicerSceneViewsModuleWidget::moveUpSelected ( QString  mrmlId)
protectedslot

◆ onDeleteButtonClicked

void qSlicerSceneViewsModuleWidget::onDeleteButtonClicked ( )
protectedslot

◆ onEditButtonClicked

void qSlicerSceneViewsModuleWidget::onEditButtonClicked ( )
protectedslot

◆ onMRMLSceneEvent

void qSlicerSceneViewsModuleWidget::onMRMLSceneEvent ( vtkObject *  ,
vtkObject *  node 
)
protectedslot

Respond to scene events.

◆ onMRMLSceneReset

void qSlicerSceneViewsModuleWidget::onMRMLSceneReset ( )
slot

scene was closed or imported or restored or finished batch processing, reset as necessary

◆ onRestoreButtonClicked

void qSlicerSceneViewsModuleWidget::onRestoreButtonClicked ( )
protectedslot

◆ onSceneViewDoubleClicked

void qSlicerSceneViewsModuleWidget::onSceneViewDoubleClicked ( int  row,
int  column 
)
protectedslot

◆ restoreSceneView

void qSlicerSceneViewsModuleWidget::restoreSceneView ( const QString &  mrmlId)
slot

User clicked on restore button.

◆ setEditedNode()

bool qSlicerSceneViewsModuleWidget::setEditedNode ( vtkMRMLNode node,
QString  role = QString(),
QString  context = QString() 
)
overridevirtual

Node editing.

Reimplemented from qSlicerAbstractModuleWidget.

◆ setup()

void qSlicerSceneViewsModuleWidget::setup ( )
overrideprotectedvirtual

All initialization code (typically setupUi()) must be done in setup() The module and the logic are accessible.

Reimplemented from qSlicerAbstractModuleWidget.

◆ showSceneViewDialog

void qSlicerSceneViewsModuleWidget::showSceneViewDialog ( )
slot

a public slot allowing other modules to open up the scene view capture dialog (get the module manager, get the module sceneviews, get the widget representation, then invoke this method, see qSlicerIOManager openSceneViewsDialog

◆ updateFromMRMLScene

void qSlicerSceneViewsModuleWidget::updateFromMRMLScene ( )
protectedslot

respond to mrml events

Member Data Documentation

◆ d_ptr

QScopedPointer<qSlicerSceneViewsModuleWidgetPrivate> qSlicerSceneViewsModuleWidget::d_ptr
protected

Definition at line 73 of file qSlicerSceneViewsModuleWidget.h.


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