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

#include <IntDoubleMapControlElement.hh>

Inheritance diagram for IntDoubleMapControlElement:
Collaboration diagram for IntDoubleMapControlElement:

Public Slots

void setValue (const IntDoubleMap &value)
 
void setValue (const std::string &value)
 

Signals

void activationStateChanged (bool)
 
void valueChanged ()
 

Public Member Functions

 IntDoubleMapControlElement (const QString &label, const IntDoubleMap &value=IntDoubleMap(), QWidget *parent=0)
 
 ~IntDoubleMapControlElement ()
 
void clear ()
 
QWidget * controlWidget ()
 
void erase (const int key)
 
bool isActive () const
 
QString label () const
 
QWidget * labelWidget ()
 
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)
 
void setValue (const int key, const double value)
 
bool switchable () const
 
std::string toStdString () const
 
double value (const int key) const
 
IntDoubleMap value () const
 

Protected Attributes

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

Detailed Description

Definition at line 42 of file IntDoubleMapControlElement.hh.

Constructor & Destructor Documentation

◆ IntDoubleMapControlElement()

IntDoubleMapControlElement::IntDoubleMapControlElement ( const QString &  label,
const IntDoubleMap value = IntDoubleMap(),
QWidget *  parent = 0 
)

◆ ~IntDoubleMapControlElement()

IntDoubleMapControlElement::~IntDoubleMapControlElement ( )

Member Function Documentation

◆ setRange()

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

◆ setSingleStep()

void IntDoubleMapControlElement::setSingleStep ( const double  step)

◆ setValue() [1/3]

void IntDoubleMapControlElement::setValue ( const int  key,
const double  value 
)

◆ value() [1/2]

double IntDoubleMapControlElement::value ( const int  key) const

◆ erase()

void IntDoubleMapControlElement::erase ( const int  key)

◆ clear()

void IntDoubleMapControlElement::clear ( )

◆ value() [2/2]

IntDoubleMap IntDoubleMapControlElement::value ( ) const

◆ toStdString()

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

◆ setValue [2/3]

void IntDoubleMapControlElement::setValue ( const IntDoubleMap value)
slot

◆ setValue [3/3]

void IntDoubleMapControlElement::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

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: