OSB_GUI::WdgtGrpAccess Class Reference

Inheritance diagram for OSB_GUI::WdgtGrpAccess:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Widget to maintain the access rights of a user group.

Definition at line 81 of file privgrpacs.h.

Public Slots

Public Member Functions

Private Slots

Private Member Functions

Private Attributes


Constructor & Destructor Documentation

OSB_GUI::WdgtGrpAccess::WdgtGrpAccess ( QWidget parent,
const char *  name = 0,
WFlags  flags = 0 
)

Constructor with QT arguments.

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

Prevent copying until needed: not implemented.


Member Function Documentation

void OSB_GUI::WdgtGrpAccess::addAccess ( bool  addSibling  )  [private]

Create a group access.

Parameters:
addSibling Flag to create the new access right as sibling of the currently selected access (or as access root).

void OSB_GUI::WdgtGrpAccess::addChild (  )  [private, slot]

Create an access right as a child of the currently selected access.

void OSB_GUI::WdgtGrpAccess::addSibling (  )  [private, slot]

Create an access right as a sibling of the currently selected access.

const OSB_LIB::Id<OSB_LIB::UserGroup> OSB_GUI::WdgtGrpAccess::curGroup (  )  const

Get the selected group id.

Returns:
The id of the currently displayed user group, it may not be set.

void OSB_GUI::WdgtGrpAccess::delAccess (  )  [private, slot]

Delete the currently selected access.

void OSB_GUI::WdgtGrpAccess::enablePbs (  )  [private, slot]

En/disable the push buttons.

void OSB_GUI::WdgtGrpAccess::grpChanged ( bool  force = false  )  [private, slot]

User has selected a different user group in the combo.

void OSB_GUI::WdgtGrpAccess::languageChange (  )  [slot]

Change the language.

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

Prevent assignment until needed: not implemented.

void OSB_GUI::WdgtGrpAccess::populate ( const OSB_LIB::Id< OSB_LIB::UserGroup grpId  ) 

Populate the widget.

Parameters:
grpId Id of the user group to display.
Uses OSB_LIB::userMgmt().groups() to populate the combo.


Member Data Documentation

CmbUserGroup* OSB_GUI::WdgtGrpAccess::cmbGroups_ [private]

Combo with user groups.

Definition at line 163 of file privgrpacs.h.

OSB_LIB::Id<OSB_LIB::UserGroup> OSB_GUI::WdgtGrpAccess::curGroup_ [private]

The current user group.

Definition at line 154 of file privgrpacs.h.

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

Layout for the whole widget.

Definition at line 158 of file privgrpacs.h.

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

Line above push buttons.

Definition at line 171 of file privgrpacs.h.

QHBoxLayout* OSB_GUI::WdgtGrpAccess::loHead_ [private]

Layout for combobox with user groups.

Definition at line 165 of file privgrpacs.h.

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

Layout for push buttons.

Definition at line 180 of file privgrpacs.h.

LvGrpAccess* OSB_GUI::WdgtGrpAccess::lvAccess_ [private]

List view with access rights for current group.

Definition at line 168 of file privgrpacs.h.

QPushButton* OSB_GUI::WdgtGrpAccess::pbChild_ [private]

Push button "new child".

Definition at line 175 of file privgrpacs.h.

QPushButton* OSB_GUI::WdgtGrpAccess::pbDel_ [private]

Push button "delete".

Definition at line 177 of file privgrpacs.h.

QPushButton* OSB_GUI::WdgtGrpAccess::pbSibling_ [private]

Push button "new sibling".

Definition at line 173 of file privgrpacs.h.

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

Spacer left of push buttons.

Definition at line 182 of file privgrpacs.h.

QLabel* OSB_GUI::WdgtGrpAccess::tlGroup_ [private]

Label "User group".

Definition at line 161 of file privgrpacs.h.


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