OSB_GUI::RatingCfgAdmin Class Reference

Inheritance diagram for OSB_GUI::RatingCfgAdmin:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Adminstration console for the evaluation of rated parties.

Definition at line 71 of file ratingcfg.h.

Public Member Functions

Private Types

Private Slots

Private Member Functions

Private Attributes


Member Enumeration Documentation

enum OSB_GUI::RatingCfgAdmin::MenuCmd [private]

Id's of menu commands.

Enumerator:
cmdDetail  Show configuration of rated party evaluator.
cmdAdd  Add a rated party evaluator.
cmdRemove  Remove the selected rated party evaluator.
cmdSave  Save configuration for current network and element.
cmdConfigRp  Maintain rateable parties.
cmdLast  The last menu command.

Definition at line 75 of file ratingcfg.h.


Constructor & Destructor Documentation

OSB_GUI::RatingCfgAdmin::RatingCfgAdmin ( AdminType  type,
QWidget parent,
const char *  name = 0,
WFlags  flags = 0 
)

Constructor with type of administraction widget and Qt arguments.

OSB_GUI::RatingCfgAdmin::~RatingCfgAdmin (  ) 

Destructor: deletes RpConfigData::instance_.

OSB_GUI::RatingCfgAdmin::RatingCfgAdmin ( const RatingCfgAdmin  )  [private]

Prevent copying until needed: not implemented.


Member Function Documentation

void OSB_GUI::RatingCfgAdmin::addRpEval (  )  [private]

Add a rated party evaluator.

void OSB_GUI::RatingCfgAdmin::buildMenu (  )  [private]

Create and populate the menu.

void OSB_GUI::RatingCfgAdmin::buildWidgets (  )  [private]

Create and layout the widgets.

void OSB_GUI::RatingCfgAdmin::clearMenuAccels (  )  [virtual]

Clear any accelerators of the administration widget's popup menu.

This function is needed because any accelerators of the adminstratiion widget's menu are active even if the popup menu is not in the menu bar of the main window.

Implements OSB_GUI::AdminWidget.

void OSB_GUI::RatingCfgAdmin::closeEvent ( QCloseEvent *  e  )  [private]

Close event: ask to save.

void OSB_GUI::RatingCfgAdmin::configRatedParties (  )  [private]

Rated party configuration.

void OSB_GUI::RatingCfgAdmin::enableMenuItems (  )  [private, slot]

Enable or disable menu items.

void OSB_GUI::RatingCfgAdmin::languageChange (  )  [virtual]

Process a language change.

Implements OSB_GUI::AdminWidget.

QPopupMenu* OSB_GUI::RatingCfgAdmin::menu (  )  [virtual]

The popup menu of the administration widget.

If the administration window does not use a menu the function returns 0.
Else the admin widget should install the accelerators for the popup menu.

See also:
clearMenuAccels()

Implements OSB_GUI::AdminWidget.

void OSB_GUI::RatingCfgAdmin::menuEvent ( int  cmd  )  [private, slot]

Handle commands from menu_.

std::string OSB_GUI::RatingCfgAdmin::menuTitle (  )  const [virtual]

Title of the administration wiget's menu.

The returned string is empty if does not support a menu, i.e., menu() returns 0.

Implements OSB_GUI::AdminWidget.

void OSB_GUI::RatingCfgAdmin::networkSelected (  )  [private, slot]

Populate the combobox with the network elements.

Populates cmbNwElement_ with all elements of the selected network and adds an entry default.

void OSB_GUI::RatingCfgAdmin::nwElementSelected (  )  [private, slot]

Selection of network element changed.

RatingCfgAdmin& OSB_GUI::RatingCfgAdmin::operator= ( const RatingCfgAdmin  )  [private]

Prevent assignment until needed: not implemented.

void OSB_GUI::RatingCfgAdmin::removeRpEval (  )  [private]

Remove the selected rated party evaluator.

bool OSB_GUI::RatingCfgAdmin::save ( bool  closing  )  [private]

Save the rating configuration.

Parameters:
closing Flag if the window is beeing closed.
Returns:
true if changes have been saved, else false.

void OSB_GUI::RatingCfgAdmin::showNetworks (  )  [private, slot]

Populate the combobox with the networks.

Reads the network information from database (if needed), populates cmbNetwork_ with all known networks and adds an entry default.

void OSB_GUI::RatingCfgAdmin::showRpEval (  )  [private, slot]

Show details of the selected rated party evaluator.


Member Data Documentation

LvRatingCfg* OSB_GUI::RatingCfgAdmin::cfg_ [private]

Listview to display the rating configuration.

Definition at line 206 of file ratingcfg.h.

CmbNetwork* OSB_GUI::RatingCfgAdmin::cmbNetwork_ [private]

Combobox for network elements.

Definition at line 192 of file ratingcfg.h.

CmbNwElement* OSB_GUI::RatingCfgAdmin::cmbNwElement_ [private]

Combobox for network elements.

Definition at line 196 of file ratingcfg.h.

bool OSB_GUI::RatingCfgAdmin::dirty_ [private]

Dirty indicator.

true if the configuration for cmbNetwork_ and cmbNwElement_ was modified by the user, else false.

Definition at line 184 of file ratingcfg.h.

QVBoxLayout* OSB_GUI::RatingCfgAdmin::layout_ [private]

Layout for the whole widget.

Definition at line 209 of file ratingcfg.h.

QFrame* OSB_GUI::RatingCfgAdmin::lineCtl_ [private]

Line below configuration widgets.

Definition at line 200 of file ratingcfg.h.

QHBoxLayout* OSB_GUI::RatingCfgAdmin::loCtl_ [private]

Layout for configuration widgets.

Definition at line 203 of file ratingcfg.h.

QPopupMenu* OSB_GUI::RatingCfgAdmin::menu_ [private]

The popup menu for rating configuration.

Definition at line 187 of file ratingcfg.h.

QSpacerItem* OSB_GUI::RatingCfgAdmin::spCtl_ [private]

Spacer right of network element combo.

Definition at line 198 of file ratingcfg.h.

QLabel* OSB_GUI::RatingCfgAdmin::tlElement_ [private]

Label for network combo.

Definition at line 194 of file ratingcfg.h.

QLabel* OSB_GUI::RatingCfgAdmin::tlNetwork_ [private]

Label for network combo.

Definition at line 190 of file ratingcfg.h.


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