OSB_GUI::DlgRpConfig Class Reference

Inheritance diagram for OSB_GUI::DlgRpConfig:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Dialog to create a rated party evaluator.

Todo:
rated party must be unique by usage type (network, element). This is requires that the applicable RpEvalList is passed as argument to exec().
At the same time this allows that the dialog exclusively deals with adding a rating configuration.

Definition at line 94 of file dlgrpcfg.h.

Public Slots

Public Member Functions

Private Types

Private Slots

Private Member Functions

Private Attributes


Member Typedef Documentation

typedef OSB_LIB::TypeId<OSB_LIB::RatedPartyEval> OSB_GUI::DlgRpConfig::RpEvalType [private]

Short-hand for the type of the rated party evaluator.

Definition at line 99 of file dlgrpcfg.h.


Constructor & Destructor Documentation

OSB_GUI::DlgRpConfig::DlgRpConfig ( QWidget parent = 0,
const char *  name = "dlgRpConfig_",
bool  modal = true,
WFlags  flags = 0 
) [explicit]

Constructor with QT arguments.

OSB_GUI::DlgRpConfig::~DlgRpConfig (  ) 

Destructor: deletes config_.

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

Prevent copying until needed: not implemented.


Member Function Documentation

std::auto_ptr<OSB_LIB::RatedPartyEval> OSB_GUI::DlgRpConfig::creRpEval (  ) 

Create a rated party evaluator.

Returns:
Pointer to the newly created rated party evaluator,
it is 0 if the cancelled the dialog or in case of an invalid RP evaluator type.
Todo:
Avoid duplicates NW, Usage, RP?

void OSB_GUI::DlgRpConfig::creRpEvalConfig (  )  [private, slot]

Show or hide the configuration widgets.

void OSB_GUI::DlgRpConfig::creRpEvalConfig ( const RpEvalType rpeType  )  [private]

Create the configruation widget for a rated party evaluator.

void OSB_GUI::DlgRpConfig::enable ( bool  on  )  [private]

Enable or disable the widgets.

int OSB_GUI::DlgRpConfig::exec (  )  [private]

Hide exec() inherited from QDialog.

virtual void OSB_GUI::DlgRpConfig::languageChange (  )  [virtual, slot]

Change the language.

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

Prevent assignment until needed: not implemented.

void OSB_GUI::DlgRpConfig::showRpEval ( const OSB_LIB::UsageType usgType,
const OSB_LIB::RatedPartyEval rpEval 
)

Show the configuration of a rated party evaluator.

Parameters:
usgType Usage type for the rated party evaluator.
rpEval Rated party evaluator to show.

OSB_LIB::UsageType OSB_GUI::DlgRpConfig::usageType (  )  const


Member Data Documentation

CmbRpType* OSB_GUI::DlgRpConfig::cmbRatedParty_ [private]

Combobox for usage type.

Definition at line 167 of file dlgrpcfg.h.

CmbRpEval* OSB_GUI::DlgRpConfig::cmbRpEval_ [private]

Combobox for rated party evaluator.

Definition at line 171 of file dlgrpcfg.h.

CmbUsageType* OSB_GUI::DlgRpConfig::cmbUsgType_ [private]

Combobox for usage type.

Definition at line 163 of file dlgrpcfg.h.

RpConfigBase* OSB_GUI::DlgRpConfig::config_ [private]

Configuration of the rated party evaluator.

Definition at line 185 of file dlgrpcfg.h.

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

Layout for whole dialog.

Definition at line 192 of file dlgrpcfg.h.

QFrame* OSB_GUI::DlgRpConfig::linePb_ [private]

Line above push buttons.

Definition at line 174 of file dlgrpcfg.h.

QGridLayout* OSB_GUI::DlgRpConfig::loConfig_ [private]

Layout for the configuration.

Definition at line 187 of file dlgrpcfg.h.

QHBoxLayout* OSB_GUI::DlgRpConfig::loPb_ [private]

Layout for push buttons.

Definition at line 182 of file dlgrpcfg.h.

QPushButton* OSB_GUI::DlgRpConfig::pbCancel_ [private]

Pushbutton Cancel.

Definition at line 178 of file dlgrpcfg.h.

QPushButton* OSB_GUI::DlgRpConfig::pbOk_ [private]

Pushbutton OK.

Definition at line 176 of file dlgrpcfg.h.

QSpacerItem* OSB_GUI::DlgRpConfig::spConfig_ [private]

Spacer below configuration widgets.

Definition at line 189 of file dlgrpcfg.h.

QSpacerItem* OSB_GUI::DlgRpConfig::spPb_ [private]

Spacer right of push buttons.

Definition at line 180 of file dlgrpcfg.h.

QLabel* OSB_GUI::DlgRpConfig::tlRatedParty_ [private]

Label for rated party.

Definition at line 165 of file dlgrpcfg.h.

QLabel* OSB_GUI::DlgRpConfig::tlRpEval_ [private]

Label for rated party evaluator.

Definition at line 169 of file dlgrpcfg.h.

QLabel* OSB_GUI::DlgRpConfig::tlUsgType_ [private]

Label for usage type.

Definition at line 161 of file dlgrpcfg.h.


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