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 | Properties | Signals | Public Member Functions | Protected Slots | Protected Attributes
qSlicerUnitsSettingsPanel Class Reference

#include <Modules/Loadable/Units/qSlicerUnitsSettingsPanel.h>

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

Public Types

typedef ctkSettingsPanel Superclass
 Superclass typedef. More...
 

Properties

QStringList quantities
 

Signals

void quantitiesChanged (const QStringList &)
 

Public Member Functions

 qSlicerUnitsSettingsPanel (QWidget *parent=0)
 Constructor. More...
 
QStringList quantities ()
 
void setUnitsLogic (vtkSlicerUnitsLogic *logic)
 
virtual ~qSlicerUnitsSettingsPanel ()
 Destructor. More...
 

Protected Slots

void onUnitsLogicModified ()
 
void setQuantities (const QStringList &quantities)
 
void showAll (bool showAll)
 
void updateFromSelectionNode ()
 

Protected Attributes

QScopedPointer< qSlicerUnitsSettingsPanelPrivate > d_ptr
 

Detailed Description

Definition at line 40 of file qSlicerUnitsSettingsPanel.h.

Member Typedef Documentation

◆ Superclass

typedef ctkSettingsPanel qSlicerUnitsSettingsPanel::Superclass

Superclass typedef.

Definition at line 49 of file qSlicerUnitsSettingsPanel.h.

Property Documentation

◆ quantities

QStringList qSlicerUnitsSettingsPanel::quantities
readwrite

Definition at line 45 of file qSlicerUnitsSettingsPanel.h.

Constructor & Destructor Documentation

◆ qSlicerUnitsSettingsPanel()

qSlicerUnitsSettingsPanel::qSlicerUnitsSettingsPanel ( QWidget *  parent = 0)

Constructor.

◆ ~qSlicerUnitsSettingsPanel()

virtual qSlicerUnitsSettingsPanel::~qSlicerUnitsSettingsPanel ( )
virtual

Destructor.

Member Function Documentation

◆ onUnitsLogicModified

void qSlicerUnitsSettingsPanel::onUnitsLogicModified ( )
protectedslot

◆ quantities()

QStringList qSlicerUnitsSettingsPanel::quantities ( )

Return the quantities for which units can be set. The quantities are saved in the settings.

◆ quantitiesChanged

void qSlicerUnitsSettingsPanel::quantitiesChanged ( const QStringList &  )
signal

◆ setQuantities

void qSlicerUnitsSettingsPanel::setQuantities ( const QStringList &  quantities)
protectedslot

◆ setUnitsLogic()

void qSlicerUnitsSettingsPanel::setUnitsLogic ( vtkSlicerUnitsLogic logic)

Set the units logic. The logic is observed to get the application scene and used to set the defaults units.

◆ showAll

void qSlicerUnitsSettingsPanel::showAll ( bool  showAll)
protectedslot

◆ updateFromSelectionNode

void qSlicerUnitsSettingsPanel::updateFromSelectionNode ( )
protectedslot

Member Data Documentation

◆ d_ptr

QScopedPointer<qSlicerUnitsSettingsPanelPrivate> qSlicerUnitsSettingsPanel::d_ptr
protected

Definition at line 75 of file qSlicerUnitsSettingsPanel.h.


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