Definition at line 386 of file tpscfg.h.
OSB_GUI::TpInfoToggle::TpInfoToggle | ( | const OSB_LIB::TariffPeriod & | tp, | |
QWidget * | parent, | |||
const char * | name = "tpInfo_" , |
|||
WFlags | flags = 0 | |||
) | [explicit] |
Constructor with tariff period and Qt arguments.
void OSB_GUI::TpInfoToggle::leftClicked | ( | TpInfoToggle & | tpInfo | ) | [signal] |
Signal sent on left mouse clicks.
tpInfo | Dereferenced this pointer. |
void OSB_GUI::TpInfoToggle::leftClicked | ( | ) | [private, virtual] |
Handle left mouse clicks.
Emits leftClicked(TpInfoToggle&).
Reimplemented from OSB_GUI::ToggleFrame.
void OSB_GUI::TpInfoToggle::setLineWidth | ( | int | lw | ) |
Set the line width.
lw | Line width of the frame, this also defines the margin of layout_. |
void OSB_GUI::TpInfoToggle::setName | ( | const std::string & | name | ) |
Change the name of the tariff period.
std::string OSB_GUI::TpInfoToggle::text | ( | ) | const |
Get the tariff period name.
OSB_LIB::Id<OSB_LIB::TariffPeriod> OSB_GUI::TpInfoToggle::tpId | ( | ) | const |
Get the tariff period id.
TpColor* OSB_GUI::TpInfoToggle::color_ [private] |
QLabel* OSB_GUI::TpInfoToggle::label_ [private] |
QHBoxLayout* OSB_GUI::TpInfoToggle::layout_ [private] |