Definition at line 71 of file ratingcfg.h.
enum OSB_GUI::RatingCfgAdmin::MenuCmd [private] |
Id's of menu commands.
Definition at line 75 of file ratingcfg.h.
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.
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] |
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.
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.
closing | Flag if the window is beeing closed. |
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.
LvRatingCfg* OSB_GUI::RatingCfgAdmin::cfg_ [private] |
CmbNetwork* OSB_GUI::RatingCfgAdmin::cmbNetwork_ [private] |
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] |
QFrame* OSB_GUI::RatingCfgAdmin::lineCtl_ [private] |
QHBoxLayout* OSB_GUI::RatingCfgAdmin::loCtl_ [private] |
QPopupMenu* OSB_GUI::RatingCfgAdmin::menu_ [private] |
QSpacerItem* OSB_GUI::RatingCfgAdmin::spCtl_ [private] |
QLabel* OSB_GUI::RatingCfgAdmin::tlElement_ [private] |
QLabel* OSB_GUI::RatingCfgAdmin::tlNetwork_ [private] |