Definition at line 219 of file osbcombos.h.
OSB_GUI::CmbUnits::CmbUnits | ( | QWidget * | parent, | |
const char * | name = "cmbUnit_" | |||
) |
Constructor with Qt arguments.
void OSB_GUI::CmbUnits::activated | ( | const OSB_LIB::Unit & | unit | ) | [signal] |
Signal a change of the selection.
unit | The selected unit. It is default constructed (object id is not set) if no unit is currently selected. |
void OSB_GUI::CmbUnits::activated | ( | ) | [slot] |
Handle activated signals from base.
Gets the selected unit from the list manager and emits activated(const OSB_LIB::Unit& unit).
void OSB_GUI::CmbUnits::populate | ( | ) |
Populate the combo.
Populates the combo with all entries in OSB_LIB::ListMgr::units() and calls activated().