Slicer  4.10
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Signals | Public Member Functions | Static Public Member Functions | Protected Attributes
qSlicerWidgetValueWrapper Class Referenceabstract

#include <Base/QTCLI/qSlicerCLIModuleUIHelper.h>

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

Signals

void valueChanged ()
 

Public Member Functions

QString label ()
 
QString name ()
 
 qSlicerWidgetValueWrapper (const QString &_name, const QString &_label, QObject *parent)
 
virtual void setValue (const QString &_value)=0
 
virtual QVariant value ()=0
 
virtual ~qSlicerWidgetValueWrapper ()
 

Static Public Member Functions

static bool toBool (const QString &_value)
 
static double toDouble (const QString &_value)
 
static int toInt (const QString &_value)
 
static QString toString (const QString &_value)
 

Protected Attributes

QString Label
 
QString Name
 

Detailed Description

Definition at line 43 of file qSlicerCLIModuleUIHelper.h.

Constructor & Destructor Documentation

◆ qSlicerWidgetValueWrapper()

qSlicerWidgetValueWrapper::qSlicerWidgetValueWrapper ( const QString &  _name,
const QString &  _label,
QObject *  parent 
)

◆ ~qSlicerWidgetValueWrapper()

virtual qSlicerWidgetValueWrapper::~qSlicerWidgetValueWrapper ( )
virtual

Member Function Documentation

◆ label()

QString qSlicerWidgetValueWrapper::label ( )
inline

Definition at line 50 of file qSlicerCLIModuleUIHelper.h.

◆ name()

QString qSlicerWidgetValueWrapper::name ( )
inline

Definition at line 51 of file qSlicerCLIModuleUIHelper.h.

◆ setValue()

virtual void qSlicerWidgetValueWrapper::setValue ( const QString &  _value)
pure virtual

◆ toBool()

static bool qSlicerWidgetValueWrapper::toBool ( const QString &  _value)
inlinestatic

Definition at line 60 of file qSlicerCLIModuleUIHelper.h.

◆ toDouble()

static double qSlicerWidgetValueWrapper::toDouble ( const QString &  _value)
inlinestatic

Definition at line 70 of file qSlicerCLIModuleUIHelper.h.

◆ toInt()

static int qSlicerWidgetValueWrapper::toInt ( const QString &  _value)
inlinestatic

Definition at line 65 of file qSlicerCLIModuleUIHelper.h.

◆ toString()

static QString qSlicerWidgetValueWrapper::toString ( const QString &  _value)
inlinestatic

Definition at line 55 of file qSlicerCLIModuleUIHelper.h.

◆ value()

virtual QVariant qSlicerWidgetValueWrapper::value ( )
pure virtual

◆ valueChanged

void qSlicerWidgetValueWrapper::valueChanged ( )
signal

Member Data Documentation

◆ Label

QString qSlicerWidgetValueWrapper::Label
protected

Definition at line 80 of file qSlicerCLIModuleUIHelper.h.

◆ Name

QString qSlicerWidgetValueWrapper::Name
protected

Definition at line 79 of file qSlicerCLIModuleUIHelper.h.


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