Definition at line 145 of file levaluecombo.h.
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().
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_.
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_.
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().
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_.
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_.
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().
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().