iRoCS Toolbox  1.1.0
Public Slots | Signals | Public Member Functions | Protected Attributes
DoubleRangeControlElement Class Reference

#include <DoubleRangeControlElement.hh>

Inheritance diagram for DoubleRangeControlElement:
Collaboration diagram for DoubleRangeControlElement:

Public Slots

void setLowerBound (double lbound)
 
void setUpperBound (double ubound)
 
void setValue (double lbound, double ubound)
 
void setValue (const std::string &value)
 

Signals

void activationStateChanged (bool)
 
void valueChanged (double, double)
 
void valueChanged ()
 

Public Member Functions

 DoubleRangeControlElement (const QString &label, double lbound=0.0, double ubound=0.0, QWidget *parent=0)
 
 ~DoubleRangeControlElement ()
 
QWidget * controlWidget ()
 
bool isActive () const
 
QString label () const
 
QWidget * labelWidget ()
 
double lowerBound () const
 
void setActive (const bool active)
 
void setLabel (const QString &label)
 
void setRange (const double min, const double max)
 
void setSingleStep (const double step)
 
void setSwitchable (const bool switchable)
 
bool switchable () const
 
std::string toStdString () const
 
double upperBound () const
 

Protected Attributes

QHBoxLayout * p_controlLayout
 
QLabel * p_label
 
QHBoxLayout * p_labelLayout
 
QCheckBox * p_switch
 

Detailed Description

Definition at line 36 of file DoubleRangeControlElement.hh.

Constructor & Destructor Documentation

◆ DoubleRangeControlElement()

DoubleRangeControlElement::DoubleRangeControlElement ( const QString &  label,
double  lbound = 0.0,
double  ubound = 0.0,
QWidget *  parent = 0 
)

◆ ~DoubleRangeControlElement()

DoubleRangeControlElement::~DoubleRangeControlElement ( )

Member Function Documentation

◆ setRange()

void DoubleRangeControlElement::setRange ( const double  min,
const double  max 
)

◆ setSingleStep()

void DoubleRangeControlElement::setSingleStep ( const double  step)

◆ lowerBound()

double DoubleRangeControlElement::lowerBound ( ) const

◆ upperBound()

double DoubleRangeControlElement::upperBound ( ) const

◆ toStdString()

std::string DoubleRangeControlElement::toStdString ( ) const
virtual

◆ valueChanged [1/2]

void DoubleRangeControlElement::valueChanged ( double  ,
double   
)
signal

◆ setLowerBound

void DoubleRangeControlElement::setLowerBound ( double  lbound)
slot

◆ setUpperBound

void DoubleRangeControlElement::setUpperBound ( double  ubound)
slot

◆ setValue [1/2]

void DoubleRangeControlElement::setValue ( double  lbound,
double  ubound 
)
slot

◆ setValue [2/2]

void DoubleRangeControlElement::setValue ( const std::string &  value)
slot

◆ setSwitchable()

void AbstractControlElement::setSwitchable ( const bool  switchable)
inherited

◆ switchable()

bool AbstractControlElement::switchable ( ) const
inherited

◆ setActive()

void AbstractControlElement::setActive ( const bool  active)
inherited

◆ isActive()

bool AbstractControlElement::isActive ( ) const
inherited

◆ label()

QString AbstractControlElement::label ( ) const
inherited

◆ setLabel()

void AbstractControlElement::setLabel ( const QString &  label)
inherited

◆ labelWidget()

QWidget* AbstractControlElement::labelWidget ( )
inherited

◆ controlWidget()

QWidget* AbstractControlElement::controlWidget ( )
inherited

◆ activationStateChanged

void AbstractControlElement::activationStateChanged ( bool  )
signalinherited

◆ valueChanged [2/2]

void AbstractControlElement::valueChanged ( )
signalinherited

Field Documentation

◆ p_labelLayout

QHBoxLayout* AbstractControlElement::p_labelLayout
protectedinherited

Definition at line 85 of file AbstractControlElement.hh.

◆ p_controlLayout

QHBoxLayout* AbstractControlElement::p_controlLayout
protectedinherited

Definition at line 86 of file AbstractControlElement.hh.

◆ p_switch

QCheckBox* AbstractControlElement::p_switch
protectedinherited

Definition at line 88 of file AbstractControlElement.hh.

◆ p_label

QLabel* AbstractControlElement::p_label
protectedinherited

Definition at line 89 of file AbstractControlElement.hh.


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