Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
qMRMLSceneViewMenu Class Reference

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

Inheritance diagram for qMRMLSceneViewMenu:
Collaboration diagram for qMRMLSceneViewMenu:

Public Types

typedef QMenu Superclass
 Superclass typedef.
 

Properties

QVTK_OBJECTQString NoSceneViewText
 

Public Slots

virtual void setMRMLScene (vtkMRMLScene *scene)
 Set the MRML scene associated with the widget.
 

Signals

void mrmlSceneChanged (vtkMRMLScene *)
 

Public Member Functions

vtkMRMLScenemrmlScene () const
 Return a pointer on the current MRML scene.
 
QString noSceneViewText () const
 This property holds the menu's text displayed when there are no scene views.
 
 qMRMLSceneViewMenu (QWidget *newParent=nullptr)
 Constructors.
 
void setNoSceneViewText (const QString &newText)
 
void setSceneViewsLogic (vtkSlicerSceneViewsModuleLogic *logic)
 
 ~qMRMLSceneViewMenu () override
 

Protected Attributes

QScopedPointer< qMRMLSceneViewMenuPrivate > d_ptr
 

Detailed Description

Definition at line 38 of file qMRMLSceneViewMenu.h.

Member Typedef Documentation

◆ Superclass

Superclass typedef.

Definition at line 45 of file qMRMLSceneViewMenu.h.

Property Documentation

◆ NoSceneViewText

QVTK_OBJECTQString qMRMLSceneViewMenu::NoSceneViewText
readwrite

Definition at line 42 of file qMRMLSceneViewMenu.h.

Constructor & Destructor Documentation

◆ qMRMLSceneViewMenu()

qMRMLSceneViewMenu::qMRMLSceneViewMenu ( QWidget * newParent = nullptr)
explicit

Constructors.

◆ ~qMRMLSceneViewMenu()

qMRMLSceneViewMenu::~qMRMLSceneViewMenu ( )
override

Member Function Documentation

◆ mrmlScene()

vtkMRMLScene * qMRMLSceneViewMenu::mrmlScene ( ) const

Return a pointer on the current MRML scene.

◆ mrmlSceneChanged

void qMRMLSceneViewMenu::mrmlSceneChanged ( vtkMRMLScene * )
signal

◆ noSceneViewText()

QString qMRMLSceneViewMenu::noSceneViewText ( ) const

This property holds the menu's text displayed when there are no scene views.

◆ setMRMLScene

virtual void qMRMLSceneViewMenu::setMRMLScene ( vtkMRMLScene * scene)
virtualslot

Set the MRML scene associated with the widget.

◆ setNoSceneViewText()

void qMRMLSceneViewMenu::setNoSceneViewText ( const QString & newText)

◆ setSceneViewsLogic()

void qMRMLSceneViewMenu::setSceneViewsLogic ( vtkSlicerSceneViewsModuleLogic * logic)

Member Data Documentation

◆ d_ptr

QScopedPointer<qMRMLSceneViewMenuPrivate> qMRMLSceneViewMenu::d_ptr
protected

Definition at line 69 of file qMRMLSceneViewMenu.h.


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