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

#include <Modules/Loadable/Markups/qSlicerMarkupsSettingsPanel.h>

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

Public Types

typedef ctkSettingsPanel Superclass
 Superclass typedef. More...
 

Properties

double defaultGlyphScale
 
QString defaultGlyphType
 
double defaultOpacity
 
QColor defaultSelectedColor
 
double defaultTextScale
 
QColor defaultUnselectedColor
 

Public Slots

void setDefaultGlyphScale (const double scale)
 
void setDefaultGlyphType (const QString &type)
 
void setDefaultOpacity (const double scale)
 
void setDefaultSelectedColor (const QColor color)
 
void setDefaultTextScale (const double scale)
 
void setDefaultUnselectedColor (const QColor color)
 

Signals

void defaultGlyphScaleChanged (const double)
 
void defaultGlyphTypeChanged (const QString &)
 
void defaultOpacityChanged (const double)
 
void defaultSelectedColorChanged (QColor)
 
void defaultTextScaleChanged (const double)
 
void defaultUnselectedColorChanged (QColor)
 

Public Member Functions

double defaultGlyphScale () const
 
QString defaultGlyphType () const
 
double defaultOpacity () const
 
QColor defaultSelectedColor () const
 
double defaultTextScale () const
 
QColor defaultUnselectedColor () const
 
vtkSlicerMarkupsLogicmarkupsLogic () const
 
 qSlicerMarkupsSettingsPanel (QWidget *parent=nullptr)
 Constructor. More...
 
void setMarkupsLogic (vtkSlicerMarkupsLogic *logic)
 
 ~qSlicerMarkupsSettingsPanel () override
 Destructor. More...
 

Protected Slots

void onDefaultGlyphScaleChanged (double)
 
void onDefaultGlyphTypeChanged (int)
 
void onDefaultOpacityChanged (double)
 
void onDefaultSelectedColorChanged (QColor)
 
void onDefaultTextScaleChanged (double)
 
void onDefaultUnselectedColorChanged (QColor)
 
void onMarkupsLogicModified ()
 
void updateMarkupsLogicDefaultGlyphScale ()
 
void updateMarkupsLogicDefaultGlyphType ()
 
void updateMarkupsLogicDefaultOpacity ()
 
void updateMarkupsLogicDefaultSelectedColor ()
 
void updateMarkupsLogicDefaultTextScale ()
 
void updateMarkupsLogicDefaultUnselectedColor ()
 

Protected Attributes

QScopedPointer< qSlicerMarkupsSettingsPanelPrivate > d_ptr
 

Detailed Description

Definition at line 30 of file qSlicerMarkupsSettingsPanel.h.

Member Typedef Documentation

◆ Superclass

typedef ctkSettingsPanel qSlicerMarkupsSettingsPanel::Superclass

Superclass typedef.

Definition at line 44 of file qSlicerMarkupsSettingsPanel.h.

Property Documentation

◆ defaultGlyphScale

double qSlicerMarkupsSettingsPanel::defaultGlyphScale
readwrite

Definition at line 38 of file qSlicerMarkupsSettingsPanel.h.

◆ defaultGlyphType

QString qSlicerMarkupsSettingsPanel::defaultGlyphType
readwrite

Definition at line 35 of file qSlicerMarkupsSettingsPanel.h.

◆ defaultOpacity

double qSlicerMarkupsSettingsPanel::defaultOpacity
readwrite

Definition at line 40 of file qSlicerMarkupsSettingsPanel.h.

◆ defaultSelectedColor

QColor qSlicerMarkupsSettingsPanel::defaultSelectedColor
readwrite

Definition at line 37 of file qSlicerMarkupsSettingsPanel.h.

◆ defaultTextScale

double qSlicerMarkupsSettingsPanel::defaultTextScale
readwrite

Definition at line 39 of file qSlicerMarkupsSettingsPanel.h.

◆ defaultUnselectedColor

QColor qSlicerMarkupsSettingsPanel::defaultUnselectedColor
readwrite

Definition at line 36 of file qSlicerMarkupsSettingsPanel.h.

Constructor & Destructor Documentation

◆ qSlicerMarkupsSettingsPanel()

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

Constructor.

◆ ~qSlicerMarkupsSettingsPanel()

qSlicerMarkupsSettingsPanel::~qSlicerMarkupsSettingsPanel ( )
override

Destructor.

Member Function Documentation

◆ defaultGlyphScale()

double qSlicerMarkupsSettingsPanel::defaultGlyphScale ( ) const

◆ defaultGlyphScaleChanged

void qSlicerMarkupsSettingsPanel::defaultGlyphScaleChanged ( const double  )
signal

◆ defaultGlyphType()

QString qSlicerMarkupsSettingsPanel::defaultGlyphType ( ) const

◆ defaultGlyphTypeChanged

void qSlicerMarkupsSettingsPanel::defaultGlyphTypeChanged ( const QString &  )
signal

◆ defaultOpacity()

double qSlicerMarkupsSettingsPanel::defaultOpacity ( ) const

◆ defaultOpacityChanged

void qSlicerMarkupsSettingsPanel::defaultOpacityChanged ( const double  )
signal

◆ defaultSelectedColor()

QColor qSlicerMarkupsSettingsPanel::defaultSelectedColor ( ) const

◆ defaultSelectedColorChanged

void qSlicerMarkupsSettingsPanel::defaultSelectedColorChanged ( QColor  )
signal

◆ defaultTextScale()

double qSlicerMarkupsSettingsPanel::defaultTextScale ( ) const

◆ defaultTextScaleChanged

void qSlicerMarkupsSettingsPanel::defaultTextScaleChanged ( const double  )
signal

◆ defaultUnselectedColor()

QColor qSlicerMarkupsSettingsPanel::defaultUnselectedColor ( ) const

◆ defaultUnselectedColorChanged

void qSlicerMarkupsSettingsPanel::defaultUnselectedColorChanged ( QColor  )
signal

◆ markupsLogic()

vtkSlicerMarkupsLogic* qSlicerMarkupsSettingsPanel::markupsLogic ( ) const

◆ onDefaultGlyphScaleChanged

void qSlicerMarkupsSettingsPanel::onDefaultGlyphScaleChanged ( double  )
protectedslot

◆ onDefaultGlyphTypeChanged

void qSlicerMarkupsSettingsPanel::onDefaultGlyphTypeChanged ( int  )
protectedslot

◆ onDefaultOpacityChanged

void qSlicerMarkupsSettingsPanel::onDefaultOpacityChanged ( double  )
protectedslot

◆ onDefaultSelectedColorChanged

void qSlicerMarkupsSettingsPanel::onDefaultSelectedColorChanged ( QColor  )
protectedslot

◆ onDefaultTextScaleChanged

void qSlicerMarkupsSettingsPanel::onDefaultTextScaleChanged ( double  )
protectedslot

◆ onDefaultUnselectedColorChanged

void qSlicerMarkupsSettingsPanel::onDefaultUnselectedColorChanged ( QColor  )
protectedslot

◆ onMarkupsLogicModified

void qSlicerMarkupsSettingsPanel::onMarkupsLogicModified ( )
protectedslot

◆ setDefaultGlyphScale

void qSlicerMarkupsSettingsPanel::setDefaultGlyphScale ( const double  scale)
slot

◆ setDefaultGlyphType

void qSlicerMarkupsSettingsPanel::setDefaultGlyphType ( const QString &  type)
slot

◆ setDefaultOpacity

void qSlicerMarkupsSettingsPanel::setDefaultOpacity ( const double  scale)
slot

◆ setDefaultSelectedColor

void qSlicerMarkupsSettingsPanel::setDefaultSelectedColor ( const QColor  color)
slot

◆ setDefaultTextScale

void qSlicerMarkupsSettingsPanel::setDefaultTextScale ( const double  scale)
slot

◆ setDefaultUnselectedColor

void qSlicerMarkupsSettingsPanel::setDefaultUnselectedColor ( const QColor  color)
slot

◆ setMarkupsLogic()

void qSlicerMarkupsSettingsPanel::setMarkupsLogic ( vtkSlicerMarkupsLogic logic)

Markups logic is synchronized with the settings.

See also
vtkSlicerMarkupsLogic::SetDefaultMarkupsDisplayNodeGlyphType
vtkSlicerMarkupsLogic::SetDefaultMarkupsDisplayNodeGlyphScale
vtkSlicerMarkupsLogic::SetDefaultMarkupsDisplayNodeTextScale
vtkSlicerMarkupsLogic::SetDefaultMarkupsDisplayNodeOpacity
vtkSlicerMarkupsLogic::SetDefaultMarkupsDisplayNodeColor
vtkSlicerMarkupsLogic::SetDefaultMarkupsDisplayNodeSelectedColor

◆ updateMarkupsLogicDefaultGlyphScale

void qSlicerMarkupsSettingsPanel::updateMarkupsLogicDefaultGlyphScale ( )
protectedslot

◆ updateMarkupsLogicDefaultGlyphType

void qSlicerMarkupsSettingsPanel::updateMarkupsLogicDefaultGlyphType ( )
protectedslot

◆ updateMarkupsLogicDefaultOpacity

void qSlicerMarkupsSettingsPanel::updateMarkupsLogicDefaultOpacity ( )
protectedslot

◆ updateMarkupsLogicDefaultSelectedColor

void qSlicerMarkupsSettingsPanel::updateMarkupsLogicDefaultSelectedColor ( )
protectedslot

◆ updateMarkupsLogicDefaultTextScale

void qSlicerMarkupsSettingsPanel::updateMarkupsLogicDefaultTextScale ( )
protectedslot

◆ updateMarkupsLogicDefaultUnselectedColor

void qSlicerMarkupsSettingsPanel::updateMarkupsLogicDefaultUnselectedColor ( )
protectedslot

Member Data Documentation

◆ d_ptr

QScopedPointer<qSlicerMarkupsSettingsPanelPrivate> qSlicerMarkupsSettingsPanel::d_ptr
protected

Definition at line 107 of file qSlicerMarkupsSettingsPanel.h.


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