Definition at line 755 of file tpscfg.h.
OSB_GUI::TpMenu::TpMenu | ( | QWidget * | parent, | |
const char * | name = "tpMenu_" | |||
) | [explicit] |
Constructor with Qt arguments.
void OSB_GUI::TpMenu::activated | ( | TpId | tpId | ) | [signal] |
Tariff period selected.
tpId | Id of the selected tariff period. |
void OSB_GUI::TpMenu::activationEvent | ( | int | id | ) | [private, slot] |
Handle signal activated from base class.
void OSB_GUI::TpMenu::addTp | ( | const OSB_LIB::TariffPeriod & | tp, | |
bool | enabled | |||
) |
Add a tariff period as menu item.
tp | Tariff period to add. | |
enabled | Enable or disable the created menu item? |
void OSB_GUI::TpMenu::checkTp | ( | const TpId & | tpId, | |
bool | check | |||
) |
Set the checked mark for a tariff period.
tpId | Tariff period to check. | |
check | Flag to set or clear the check mark. |