Slicer  4.10
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 | Static Public Member Functions | Protected Slots | Protected Attributes
qSlicerSettingsStylesPanel Class Reference

#include <Base/QTGUI/qSlicerSettingsStylesPanel.h>

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

Public Types

typedef ctkSettingsPanel Superclass
 Superclass typedef. More...
 

Properties

QString currentStyle
 

Public Slots

void setCurrentStyle (const QString &)
 

Signals

void currentStyleChanged (const QString &)
 

Public Member Functions

QString currentStyle () const
 
 qSlicerSettingsStylesPanel (QWidget *parent=0)
 Constructor. More...
 
virtual ~qSlicerSettingsStylesPanel ()
 Destructor. More...
 

Static Public Member Functions

static QStringList availableSlicerStyles ()
 

Protected Slots

void onAdditionalStylePathsChanged ()
 
void onAddStyleAdditionalPathClicked ()
 
void onFontChanged (const QFont &font)
 
void onRemoveStyleAdditionalPathClicked ()
 
void onShowToolButtonTextToggled (bool enable)
 
void onShowToolTipsToggled (bool)
 
void onStyleChanged (const QString &)
 

Protected Attributes

QScopedPointer< qSlicerSettingsStylesPanelPrivate > d_ptr
 

Detailed Description

Definition at line 33 of file qSlicerSettingsStylesPanel.h.

Member Typedef Documentation

◆ Superclass

typedef ctkSettingsPanel qSlicerSettingsStylesPanel::Superclass

Superclass typedef.

Definition at line 43 of file qSlicerSettingsStylesPanel.h.

Property Documentation

◆ currentStyle

QString qSlicerSettingsStylesPanel::currentStyle
readwrite

Holds the current style's name for the settings. The current style itself can be accessed using qSlicerApplication

See also
currentStyle(), setCurrentStyle(), currentStyleChanged()

Definition at line 40 of file qSlicerSettingsStylesPanel.h.

Constructor & Destructor Documentation

◆ qSlicerSettingsStylesPanel()

qSlicerSettingsStylesPanel::qSlicerSettingsStylesPanel ( QWidget *  parent = 0)
explicit

Constructor.

◆ ~qSlicerSettingsStylesPanel()

virtual qSlicerSettingsStylesPanel::~qSlicerSettingsStylesPanel ( )
virtual

Destructor.

Member Function Documentation

◆ availableSlicerStyles()

static QStringList qSlicerSettingsStylesPanel::availableSlicerStyles ( )
static

Return list of all available styles.

Qt built-in styles are not included in the list.

See also
setCurrentStyle

◆ currentStyle()

QString qSlicerSettingsStylesPanel::currentStyle ( ) const
See also
currentStyle

◆ currentStyleChanged

void qSlicerSettingsStylesPanel::currentStyleChanged ( const QString &  )
signal

Signal emitted when the current style is changed

See also
currentStyle

◆ onAdditionalStylePathsChanged

void qSlicerSettingsStylesPanel::onAdditionalStylePathsChanged ( )
protectedslot

◆ onAddStyleAdditionalPathClicked

void qSlicerSettingsStylesPanel::onAddStyleAdditionalPathClicked ( )
protectedslot

◆ onFontChanged

void qSlicerSettingsStylesPanel::onFontChanged ( const QFont &  font)
protectedslot

◆ onRemoveStyleAdditionalPathClicked

void qSlicerSettingsStylesPanel::onRemoveStyleAdditionalPathClicked ( )
protectedslot

◆ onShowToolButtonTextToggled

void qSlicerSettingsStylesPanel::onShowToolButtonTextToggled ( bool  enable)
protectedslot

◆ onShowToolTipsToggled

void qSlicerSettingsStylesPanel::onShowToolTipsToggled ( bool  )
protectedslot

◆ onStyleChanged

void qSlicerSettingsStylesPanel::onStyleChanged ( const QString &  )
protectedslot

◆ setCurrentStyle

void qSlicerSettingsStylesPanel::setCurrentStyle ( const QString &  )
slot

Change the current style based on its name

See also
currentStyle

Member Data Documentation

◆ d_ptr

QScopedPointer<qSlicerSettingsStylesPanelPrivate> qSlicerSettingsStylesPanel::d_ptr
protected

Definition at line 81 of file qSlicerSettingsStylesPanel.h.


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