Definition at line 158 of file dlgtpsvs.h.
typedef OSB_LIB::Id<OSB_LIB::DayClass> OSB_GUI::TpsCfg::DcId [private] |
Definition at line 164 of file dlgtpsvs.h.
typedef OSB_LIB::Id<OSB_LIB::TariffPeriod> OSB_GUI::TpsCfg::TpId [private] |
Definition at line 162 of file dlgtpsvs.h.
OSB_GUI::TpsCfg::TpsCfg | ( | QWidget * | parent, | |
const char * | name = "tpsCfg_" | |||
) | [explicit] |
Constructor wit Qt arguments.
void OSB_GUI::TpsCfg::cfgStMenu | ( | StMenu & | stMenu, | |
QPushButton * | pb | |||
) |
Configure the switch time menu.
stMenu | Switch time menu to configure. | |
pb | Push button with the menu. It may be 0. |
void OSB_GUI::TpsCfg::dcMenuCmd | ( | DcId | dcId | ) | [private, slot] |
Handle activation signal from day class menu.
bool OSB_GUI::TpsCfg::dirty | ( | ) | const |
Configuration modified?
void OSB_GUI::TpsCfg::languageChange | ( | ) |
Process a language change.
void OSB_GUI::TpsCfg::populate | ( | OSB_LIB::TpsVersion * | tpsVs | ) | const |
Write the configuration to a TPS version.
void OSB_GUI::TpsCfg::setDcMenu | ( | DcMenu & | dcMenu | ) |
Populate the tariff period menu.
void OSB_GUI::TpsCfg::setTpMenu | ( | TpMenu & | tpMenu | ) |
Populate the tariff period menu.
void OSB_GUI::TpsCfg::setup | ( | bool | showOnly | ) |
Setup widgets for edit or show mode.
showOnly | Flag not to allow editing. |
void OSB_GUI::TpsCfg::switchTimeCmd | ( | const SwitchTimeCmd & | cmd | ) | [private, slot] |
Handle commands from switch time menu.
void OSB_GUI::TpsCfg::switchTimeEvent | ( | const SwitchTimeEvent & | event | ) | [slot] |
Handle signals for switch times.
event | Information about selected switch time. |
void OSB_GUI::TpsCfg::tpMenuCmd | ( | TpId | tpId | ) | [private, slot] |
Handle activation signal from tariff period menu.
QGridLayout* OSB_GUI::TpsCfg::layout_ |