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
qMRMLCollapsibleButton Class Reference

#include <Libs/MRML/Widgets/qMRMLCollapsibleButton.h>

Inheritance diagram for qMRMLCollapsibleButton:
Collaboration diagram for qMRMLCollapsibleButton:

Public Types

typedef ctkCollapsibleButton Superclass
 Superclass typedef.
 

Public Slots

void setMRMLScene (vtkMRMLScene *scene)
 

Signals

void mrmlSceneChanged (vtkMRMLScene *)
 

Public Member Functions

vtkMRMLScenemrmlScene () const
 Return a pointer on the MRML scene.
 
 qMRMLCollapsibleButton (QWidget *parent=nullptr)
 Constructors.
 
 ~qMRMLCollapsibleButton () override
 

Protected Attributes

QScopedPointer< qMRMLCollapsibleButtonPrivate > d_ptr
 

Detailed Description

This class is intended to improve visual appearance and convenience of ctkCollapsibleButton.

Currently the visual appearance is the same as its base class.

The mrmlSceneChanged signal can be used to simplify scene settings in Qt Designer: it allows drawing one long signal/slot arrow from the top-level widget to the collapsible button and a short signal/slot arrow from the collapsible button to each child widget in it.

Definition at line 40 of file qMRMLCollapsibleButton.h.

Member Typedef Documentation

◆ Superclass

typedef ctkCollapsibleButton qMRMLCollapsibleButton::Superclass

Superclass typedef.

Definition at line 45 of file qMRMLCollapsibleButton.h.

Constructor & Destructor Documentation

◆ qMRMLCollapsibleButton()

qMRMLCollapsibleButton::qMRMLCollapsibleButton ( QWidget * parent = nullptr)
explicit

Constructors.

◆ ~qMRMLCollapsibleButton()

qMRMLCollapsibleButton::~qMRMLCollapsibleButton ( )
override

Member Function Documentation

◆ mrmlScene()

vtkMRMLScene * qMRMLCollapsibleButton::mrmlScene ( ) const

Return a pointer on the MRML scene.

◆ mrmlSceneChanged

void qMRMLCollapsibleButton::mrmlSceneChanged ( vtkMRMLScene * )
signal

◆ setMRMLScene

void qMRMLCollapsibleButton::setMRMLScene ( vtkMRMLScene * scene)
slot

Member Data Documentation

◆ d_ptr

QScopedPointer<qMRMLCollapsibleButtonPrivate> qMRMLCollapsibleButton::d_ptr
protected

Definition at line 61 of file qMRMLCollapsibleButton.h.


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