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

#include <FileNameSelectionControlElement.hh>

Inheritance diagram for FileNameSelectionControlElement:
Collaboration diagram for FileNameSelectionControlElement:

Public Slots

void setValue (const std::string &value)
 

Signals

void activationStateChanged (bool)
 
void valueChanged (QString const &filename)
 
void valueChanged (std::string const &filename)
 
void valueChanged ()
 

Public Member Functions

 FileNameSelectionControlElement (const QString &label, const std::string &value=std::string(), bool onlyExistingFiles=false, const QString &filter="", QWidget *parent=0)
 
 ~FileNameSelectionControlElement ()
 
QWidget * controlWidget ()
 
bool isActive () const
 
QString label () const
 
QWidget * labelWidget ()
 
void setActive (const bool active)
 
void setLabel (const QString &label)
 
void setSwitchable (const bool switchable)
 
bool switchable () const
 
std::string toStdString () const
 
std::string value () const
 

Protected Attributes

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

Detailed Description

Definition at line 36 of file FileNameSelectionControlElement.hh.

Constructor & Destructor Documentation

◆ FileNameSelectionControlElement()

FileNameSelectionControlElement::FileNameSelectionControlElement ( const QString &  label,
const std::string &  value = std::string(),
bool  onlyExistingFiles = false,
const QString &  filter = "",
QWidget *  parent = 0 
)

◆ ~FileNameSelectionControlElement()

FileNameSelectionControlElement::~FileNameSelectionControlElement ( )

Member Function Documentation

◆ value()

std::string FileNameSelectionControlElement::value ( ) const

◆ toStdString()

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

◆ setValue

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

◆ valueChanged [1/3]

void FileNameSelectionControlElement::valueChanged ( QString const &  filename)
signal

◆ valueChanged [2/3]

void FileNameSelectionControlElement::valueChanged ( std::string const &  filename)
signal

◆ 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 [3/3]

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: