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

#include <Int3ControlElement.hh>

Inheritance diagram for Int3ControlElement:
Collaboration diagram for Int3ControlElement:

Public Slots

void setValue (const blitz::TinyVector< int, 3 > &value)
 
void setValue (const std::string &value)
 

Signals

void activationStateChanged (bool)
 
void valueChanged ()
 

Public Member Functions

 Int3ControlElement (const QString &label, const blitz::TinyVector< int, 3 > &value=-1, QWidget *parent=0)
 
 ~Int3ControlElement ()
 
QWidget * controlWidget ()
 
bool isActive () const
 
QString label () const
 
QWidget * labelWidget ()
 
void setActive (const bool active)
 
void setLabel (const QString &label)
 
void setRange (const blitz::TinyVector< int, 3 > &min, const blitz::TinyVector< int, 3 > &max)
 
void setSwitchable (const bool switchable)
 
bool switchable () const
 
std::string toStdString () const
 
blitz::TinyVector< int, 3 > value () const
 

Protected Attributes

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

Detailed Description

Definition at line 38 of file Int3ControlElement.hh.

Constructor & Destructor Documentation

◆ Int3ControlElement()

Int3ControlElement::Int3ControlElement ( const QString &  label,
const blitz::TinyVector< int, 3 > &  value = -1,
QWidget *  parent = 0 
)

◆ ~Int3ControlElement()

Int3ControlElement::~Int3ControlElement ( )

Member Function Documentation

◆ setRange()

void Int3ControlElement::setRange ( const blitz::TinyVector< int, 3 > &  min,
const blitz::TinyVector< int, 3 > &  max 
)

◆ value()

blitz::TinyVector<int,3> Int3ControlElement::value ( ) const

◆ toStdString()

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

◆ setValue [1/2]

void Int3ControlElement::setValue ( const blitz::TinyVector< int, 3 > &  value)
slot

◆ setValue [2/2]

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