OSB_GUI::PrivAdminWidget Class Reference

Inheritance diagram for OSB_GUI::PrivAdminWidget:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Main widget for privilege administration.

Definition at line 71 of file privadmin.h.

Public Types

Public Slots

Public Member Functions

Private Types

Private Slots

Private Member Functions

Private Attributes


Member Typedef Documentation

typedef OSB_LIB::Id<OSB_LIB::UserGroup> OSB_GUI::PrivAdminWidget::GrpId [private]

Convenient short-hand.

Definition at line 130 of file privadmin.h.


Member Enumeration Documentation

enum OSB_GUI::PrivAdminWidget::MenuCmd

Id's of menu commands.

Enumerator:
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.


Constructor & Destructor Documentation

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.


Member Function Documentation

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]

Process a language change.

Implements OSB_GUI::AdminWidget.

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.

See also:
clearMenuAccels()

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.


Member Data Documentation

WdgtGrpAccess* OSB_GUI::PrivAdminWidget::grpAccess_ [private]

Widget for user group access rights.

Definition at line 147 of file privadmin.h.

WdgtUsrGroups* OSB_GUI::PrivAdminWidget::grps_ [private]

The user group widget.

Definition at line 145 of file privadmin.h.

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

The popup menu for stream administration.

Definition at line 141 of file privadmin.h.

WdgtModAccess* OSB_GUI::PrivAdminWidget::modAccess_ [private]

Widget for module access rights.

Definition at line 149 of file privadmin.h.

QWidgetStack* OSB_GUI::PrivAdminWidget::privWidgets_ [private]

The widget stack with groups, access rights and grants.

Definition at line 143 of file privadmin.h.


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