Definition at line 71 of file privadmin.h.
typedef OSB_LIB::Id<OSB_LIB::UserGroup> OSB_GUI::PrivAdminWidget::GrpId [private] |
Id's of menu commands.
cmdRefresh | Refresh data. |
cmdExport | Export module access rights. |
wdgtMask | Mask for widgets. |
wdgtGroups | Show user groups. |
wdgtAccess | Show group access rights. |
wdgtModule | Show module access rights. |
Definition at line 75 of file privadmin.h.
OSB_GUI::PrivAdminWidget::PrivAdminWidget | ( | AdminType | type, | |
QWidget * | parent, | |||
const char * | name = 0 , |
|||
WFlags | flags = 0 | |||
) |
Constructor with type of administraction widget and Qt arguments.
OSB_GUI::PrivAdminWidget::~PrivAdminWidget | ( | ) |
Destructor: delete priv. admin data.
OSB_GUI::PrivAdminWidget::PrivAdminWidget | ( | const PrivAdminWidget & | ) | [private] |
Prevent copying: not implemented.
void OSB_GUI::PrivAdminWidget::cfgGroup | ( | const GrpId | grpId | ) | [private, slot] |
Configure the access rights of a user group.
void OSB_GUI::PrivAdminWidget::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.
GrpId OSB_GUI::PrivAdminWidget::curGroup | ( | ) | const [private] |
Get the currently selected group.
void OSB_GUI::PrivAdminWidget::expModAccess | ( | ) |
Export the module access rights.
void OSB_GUI::PrivAdminWidget::languageChange | ( | ) | [virtual, slot] |
QPopupMenu* OSB_GUI::PrivAdminWidget::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::PrivAdminWidget::menuEvent | ( | int | cmd | ) | [slot] |
Handle commands from menu_.
std::string OSB_GUI::PrivAdminWidget::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.
PrivAdminWidget& OSB_GUI::PrivAdminWidget::operator= | ( | const PrivAdminWidget & | ) | [private] |
Prevent assignment: not implemented.
void OSB_GUI::PrivAdminWidget::readData | ( | ) | [slot] |
Read priv. admin data.
WdgtUsrGroups* OSB_GUI::PrivAdminWidget::grps_ [private] |
QPopupMenu* OSB_GUI::PrivAdminWidget::menu_ [private] |
QWidgetStack* OSB_GUI::PrivAdminWidget::privWidgets_ [private] |