OSB_GUI::TpMenu Class Reference

Inheritance diagram for OSB_GUI::TpMenu:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Menu to select a tariff period.

Definition at line 755 of file tpscfg.h.

Public Types

Signals

Public Member Functions

Private Slots


Member Typedef Documentation

typedef OSB_LIB::Id<OSB_LIB::TariffPeriod> OSB_GUI::TpMenu::TpId

Definition at line 759 of file tpscfg.h.


Constructor & Destructor Documentation

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

Constructor with Qt arguments.


Member Function Documentation

void OSB_GUI::TpMenu::activated ( TpId  tpId  )  [signal]

Tariff period selected.

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

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

Parameters:
tpId Tariff period to check.
check Flag to set or clear the check mark.


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