OSB_GUI::LeValueCombo< Value > Class Template Reference

Inheritance diagram for OSB_GUI::LeValueCombo< Value >:

Inheritance graph
[legend]
Collaboration diagram for OSB_GUI::LeValueCombo< Value >:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<typename Value>
class OSB_GUI::LeValueCombo< Value >

Line edit whose content is identified by a value.

Definition at line 145 of file levaluecombo.h.

Public Member Functions

Private Member Functions

Private Attributes


Constructor & Destructor Documentation

template<typename Value>
OSB_GUI::LeValueCombo< Value >::LeValueCombo ( QWidget parent,
const char *  name = "leValueCombo_",
ValueCombo< Value > *  combo = 0 
)

Constructor with Qt arguments and combobox.

Definition at line 187 of file levaluecombo.h.

References OSB_GUI::LeValueCombo< Value >::setCombo().


Member Function Documentation

template<typename Value>
void OSB_GUI::LeValueCombo< Value >::comboActivated ( int  index  )  [private, virtual]

Handle activation signals from the combobox.

Gets value_ and text from combo_.

Reimplemented from OSB_GUI::LeCombo.

Definition at line 227 of file levaluecombo.h.

References OSB_GUI::LeValueCombo< Value >::combo_, and OSB_GUI::LeValueCombo< Value >::value_.

template<typename Value>
const Value & OSB_GUI::LeValueCombo< Value >::getValue (  )  const

Get the value.

Definition at line 197 of file levaluecombo.h.

References OSB_GUI::LeValueCombo< Value >::value_.

template<typename Value>
void OSB_GUI::LeValueCombo< Value >::setCombo ( ValueCombo< Value > *  combo  ) 

Set the combo to use.

Definition at line 203 of file levaluecombo.h.

References OSB_GUI::LeValueCombo< Value >::combo_, OSB_GUI::LeCombo::setCombo(), and OSB_GUI::LeValueCombo< Value >::value_.

Referenced by OSB_GUI::LeValueCombo< Value >::LeValueCombo().

template<typename Value>
void OSB_GUI::LeValueCombo< Value >::setComboItem (  )  const [private, virtual]

Set the current item of the combo box.

Reimplemented from OSB_GUI::LeCombo.

Definition at line 221 of file levaluecombo.h.

References OSB_GUI::LeValueCombo< Value >::combo_, and OSB_GUI::LeValueCombo< Value >::value_.

template<typename Value>
void OSB_GUI::LeValueCombo< Value >::setValue ( const Value &  value,
const std::string &  text 
)

Set the value and its text.

Definition at line 211 of file levaluecombo.h.

References OSB_GUI::LeValueCombo< Value >::value_.


Member Data Documentation

template<typename Value>
ValueCombo<Value>* OSB_GUI::LeValueCombo< Value >::combo_ [private]

Combobox to use.

Reimplemented from OSB_GUI::LeCombo.

Definition at line 176 of file levaluecombo.h.

Referenced by OSB_GUI::LeValueCombo< Value >::comboActivated(), OSB_GUI::LeValueCombo< Value >::setCombo(), and OSB_GUI::LeValueCombo< Value >::setComboItem().

template<typename Value>
Value OSB_GUI::LeValueCombo< Value >::value_ [private]

Value that the line edit represents.

Definition at line 174 of file levaluecombo.h.

Referenced by OSB_GUI::LeValueCombo< Value >::comboActivated(), OSB_GUI::LeValueCombo< Value >::getValue(), OSB_GUI::LeValueCombo< Value >::setCombo(), OSB_GUI::LeValueCombo< Value >::setComboItem(), and OSB_GUI::LeValueCombo< Value >::setValue().


The documentation for this class was generated from the following file:
Generated on Sat Sep 2 14:18:45 2006 for OSB Library by  doxygen 1.4.7