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

#include <DoubleVectorControlElement.hh>

Inheritance diagram for DoubleVectorControlElement:
Collaboration diagram for DoubleVectorControlElement:

Public Slots

void setLength (size_t length)
 
void setRange (const double min, const double max)
 
void setSingleStep (const double step)
 
void setValue (const std::vector< double > &value)
 
void setValue (const std::string &value)
 

Signals

void activationStateChanged (bool)
 
void valueChanged ()
 

Public Member Functions

 DoubleVectorControlElement (const QString &label, const std::vector< double > &value=std::vector< double >(), QWidget *parent=0)
 
 ~DoubleVectorControlElement ()
 
QWidget * controlWidget ()
 
bool isActive () const
 
QString label () const
 
QWidget * labelWidget ()
 
size_t length () const
 
void pop_back ()
 
void push_back (const double value)
 
void setActive (const bool active)
 
void setLabel (const QString &label)
 
void setSwitchable (const bool switchable)
 
bool switchable () const
 
std::string toStdString () const
 
std::vector< double > value () const
 

Protected Attributes

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

Detailed Description

Definition at line 38 of file DoubleVectorControlElement.hh.

Constructor & Destructor Documentation

◆ DoubleVectorControlElement()

DoubleVectorControlElement::DoubleVectorControlElement ( const QString &  label,
const std::vector< double > &  value = std::vector< double >(),
QWidget *  parent = 0 
)

◆ ~DoubleVectorControlElement()

DoubleVectorControlElement::~DoubleVectorControlElement ( )

Member Function Documentation

◆ length()

size_t DoubleVectorControlElement::length ( ) const

◆ push_back()

void DoubleVectorControlElement::push_back ( const double  value)

◆ pop_back()

void DoubleVectorControlElement::pop_back ( )

◆ value()

std::vector<double> DoubleVectorControlElement::value ( ) const

◆ toStdString()

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

◆ setRange

void DoubleVectorControlElement::setRange ( const double  min,
const double  max 
)
slot

◆ setSingleStep

void DoubleVectorControlElement::setSingleStep ( const double  step)
slot

◆ setLength

void DoubleVectorControlElement::setLength ( size_t  length)
slot

◆ setValue [1/2]

void DoubleVectorControlElement::setValue ( const std::vector< double > &  value)
slot

◆ setValue [2/2]

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