Slicer  4.8
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
virtual void setMRMLScene (vtkMRMLScene *scene)
 

Public Member Functions

virtual void enter ()
 Set up the GUI from mrml when entering. More...
 
virtual void exit ()
 Disconnect from scene when exiting. More...
 
 qSlicerSceneViewsModuleWidget (QWidget *parent=0)
 
virtual bool setEditedNode (vtkMRMLNode *node, QString role=QString(), QString context=QString())
 Node editing. More...
 
 ~qSlicerSceneViewsModuleWidget ()
 
- Public Member Functions inherited from qSlicerAbstractModuleWidget
bool isEntered () const
 
virtual Q_INVOKABLE double nodeEditable (vtkMRMLNode *node)
 
 qSlicerAbstractModuleWidget (QWidget *parent=0)
 
virtual ~qSlicerAbstractModuleWidget ()
 
- Public Member Functions inherited from qSlicerWidget
 qSlicerWidget (QWidget *parent=0, Qt::WindowFlags f=0)
 
virtual ~qSlicerWidget ()
 
- 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 ()
 
virtual ~qSlicerAbstractModuleRepresentation ()
 

Protected Slots

void captureLinkClicked (const QUrl &url)
 
void moveDownSelected (QString mrmlId)
 
void moveUpSelected (QString mrmlId)
 
void onMRMLSceneEvent (vtkObject *, vtkObject *node)
 Respond to scene events. More...
 
void restoreScrollPosition (const QSize &size)
 
void updateFromMRMLScene ()
 respond to mrml events More...
 

Protected Member Functions

void removeTemporaryFiles ()
 
virtual void setup ()
 
- 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 = 0)

◆ ~qSlicerSceneViewsModuleWidget()

qSlicerSceneViewsModuleWidget::~qSlicerSceneViewsModuleWidget ( )

Member Function Documentation

◆ captureLinkClicked

void qSlicerSceneViewsModuleWidget::captureLinkClicked ( const QUrl &  url)
protectedslot

◆ editSceneView

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

User clicked on property edit button.

◆ enter()

virtual void qSlicerSceneViewsModuleWidget::enter ( )
virtual

Set up the GUI from mrml when entering.

Reimplemented from qSlicerAbstractModuleWidget.

◆ exit()

virtual void qSlicerSceneViewsModuleWidget::exit ( )
virtual

Disconnect from scene when exiting.

Reimplemented from qSlicerAbstractModuleWidget.

◆ moveDownSelected

void qSlicerSceneViewsModuleWidget::moveDownSelected ( QString  mrmlId)
protectedslot

◆ moveUpSelected

void qSlicerSceneViewsModuleWidget::moveUpSelected ( QString  mrmlId)
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

◆ removeTemporaryFiles()

void qSlicerSceneViewsModuleWidget::removeTemporaryFiles ( )
protected

◆ restoreSceneView

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

User clicked on restore button.

◆ restoreScrollPosition

void qSlicerSceneViewsModuleWidget::restoreScrollPosition ( const QSize &  size)
protectedslot

When the html changes, try to go back to any previous scroll position. Connected to contents size changed signal. /sa savedScrollPosition

◆ setEditedNode()

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

Node editing.

Reimplemented from qSlicerAbstractModuleWidget.

◆ setup()

virtual void qSlicerSceneViewsModuleWidget::setup ( )
protectedvirtual

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 74 of file qSlicerSceneViewsModuleWidget.h.


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