OSB_GUI::TpsCfg Class Reference

Inheritance diagram for OSB_GUI::TpsCfg:

Inheritance graph
[legend]
Collaboration diagram for OSB_GUI::TpsCfg:

Collaboration graph
[legend]
List of all members.

Detailed Description

Widget to show/configure a TPS version.

Definition at line 158 of file dlgtpsvs.h.

Public Slots

Public Member Functions

Public Attributes

Private Types

Private Slots


Member Typedef Documentation

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.


Constructor & Destructor Documentation

OSB_GUI::TpsCfg::TpsCfg ( QWidget parent,
const char *  name = "tpsCfg_" 
) [explicit]

Constructor wit Qt arguments.


Member Function Documentation

void OSB_GUI::TpsCfg::cfgStMenu ( StMenu stMenu,
QPushButton *  pb 
)

Configure the switch time menu.

Parameters:
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.

Parameters:
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.

Parameters:
event Information about selected switch time.
Sets the switch time info and switches the selected day class and tariff period on.

void OSB_GUI::TpsCfg::tpMenuCmd ( TpId  tpId  )  [private, slot]

Handle activation signal from tariff period menu.


Member Data Documentation

bool OSB_GUI::TpsCfg::dirty_

Flag if the configuration was modified.

Definition at line 217 of file dlgtpsvs.h.

DcInfoGroup* OSB_GUI::TpsCfg::gbDc_

Group box for day classes.

Definition at line 219 of file dlgtpsvs.h.

SwitchTimeInfo* OSB_GUI::TpsCfg::gbSt_

Group box for switch times.

Definition at line 223 of file dlgtpsvs.h.

TpInfoGroup* OSB_GUI::TpsCfg::gbTp_

Group box for tariff periods.

Definition at line 221 of file dlgtpsvs.h.

QGridLayout* OSB_GUI::TpsCfg::layout_

Layout of the widget.

Definition at line 225 of file dlgtpsvs.h.


The documentation for this class was generated from the following file:
Generated on Sat Sep 2 14:20:56 2006 for OSB Library by  doxygen 1.4.7