OSB_GUI::LvTzConfig Class Reference

Inheritance diagram for OSB_GUI::LvTzConfig:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

List view for the configuration of one tariff zone.

Definition at line 64 of file tzcfgview.h.

Public Types

Public Member Functions

Private Slots

Private Member Functions

Private Attributes


Member Enumeration Documentation

enum OSB_GUI::LvTzConfig::Col

Contents of columns.

Enumerator:
colTz  Tariff zone.
colOrigin  Origin connection point.
colDest  Destination connection point.
colStatus  Status of configuration.
colStart  Release timestamp of configuration.
colEnd  Expiry timestamp of configuration.

Definition at line 68 of file tzcfgview.h.


Constructor & Destructor Documentation

OSB_GUI::LvTzConfig::LvTzConfig ( QWidget parent = 0,
const char *  name = "lvTzConfig_",
WFlags  flags = 0 
) [explicit]

Constructor with Qt arguments.


Member Function Documentation

void OSB_GUI::LvTzConfig::add ( const OSB_LIB::TzConfig cfg  )  [private]

Add a tariff zone configuration.

ToMenu* OSB_GUI::LvTzConfig::cfgMenu (  ) 

Access to configuration menu.

void OSB_GUI::LvTzConfig::commandEvent ( ToMenuCmd  cmd  )  [private, slot]

Process commands from tariff object menu.

void OSB_GUI::LvTzConfig::display ( const OSB_LIB::TariffZone::Oid tzId,
bool  allTz,
bool  readOnly 
)

Populate for one or all tariff zones.

Parameters:
tzId Id of the tariff zone for which to show the configuration, ignored if allTz is true.
allTz Flag to show the configuration of all tariff zones.
readOnly Flag not to allow the configuration of the tariff zones.

void OSB_GUI::LvTzConfig::languageChange (  ) 

Process a language change.

void OSB_GUI::LvTzConfig::newCfg (  )  [private]

Create a new tariff zone configuration.

void OSB_GUI::LvTzConfig::setupMenu (  )  [private, slot]

Configure the configuration menu.

void OSB_GUI::LvTzConfig::showCfgMenu ( QListViewItem item,
const QPoint &  pos,
int  col 
) [private, slot]

Execute the configuration menu.


Member Data Documentation

bool OSB_GUI::LvTzConfig::allTz_ [private]

Flag to show the configuration of all tariff zones.

Definition at line 133 of file tzcfgview.h.

ToMenu* OSB_GUI::LvTzConfig::cfgMenu_ [private]

The configuration context menu.

Definition at line 137 of file tzcfgview.h.

bool OSB_GUI::LvTzConfig::readOnly_ [private]

Read-only flag.

Definition at line 135 of file tzcfgview.h.

OSB_LIB::TariffZone::Oid OSB_GUI::LvTzConfig::tzId_ [private]

Object id of displayed tariff zone.

It is not set if more than one tariff zone is displayed.

Definition at line 131 of file tzcfgview.h.


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