OSB_GUI::WdgtModAccess Class Reference

Inheritance diagram for OSB_GUI::WdgtModAccess:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Widget to maintain the access rights of a module.

Definition at line 80 of file privmodacs.h.

Public Slots

Public Member Functions

Private Slots

Private Member Functions

Private Attributes


Constructor & Destructor Documentation

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

Constructor with QT arguments.

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

Prevent copying until needed: not implemented.


Member Function Documentation

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

Create a module access.

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

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

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

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

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

const OSB_LIB::ModuleId OSB_GUI::WdgtModAccess::curModule (  )  const

Get the selected module.

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

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

Delete the currently selected access.

void OSB_GUI::WdgtModAccess::editAccess (  )  [private, slot]

Edit the currently selected access.

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

En/disable the push buttons.

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

Change the language.

void OSB_GUI::WdgtModAccess::modChanged (  )  [private, slot]

User has selected a different module in the combo.

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

Prevent assignment until needed: not implemented.

void OSB_GUI::WdgtModAccess::populate (  ) 

Populate the widget.

Uses OSB_LIB::userMgmt().modules() to populate the combo and the listview.


Member Data Documentation

CmbOsbModule* OSB_GUI::WdgtModAccess::cmbModule_ [private]

Combo with modules.

Definition at line 162 of file privmodacs.h.

OSB_LIB::ModuleId OSB_GUI::WdgtModAccess::curModule_ [private]

The current module.

Definition at line 153 of file privmodacs.h.

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

Layout for the whole widget.

Definition at line 157 of file privmodacs.h.

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

Line above push buttons.

Definition at line 170 of file privmodacs.h.

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

Layout for combobox with modules.

Definition at line 164 of file privmodacs.h.

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

Layout for push buttons.

Definition at line 181 of file privmodacs.h.

LvModAccess* OSB_GUI::WdgtModAccess::lvAccess_ [private]

List view with access rights for current module.

Definition at line 167 of file privmodacs.h.

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

Push button "new child".

Definition at line 174 of file privmodacs.h.

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

Push button "delete".

Definition at line 178 of file privmodacs.h.

QPushButton* OSB_GUI::WdgtModAccess::pbEdit_ [private]

Push button "edit".

Definition at line 176 of file privmodacs.h.

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

Push button "new sibling".

Definition at line 172 of file privmodacs.h.

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

Spacer left of push buttons.

Definition at line 183 of file privmodacs.h.

QLabel* OSB_GUI::WdgtModAccess::tlModule_ [private]

Label "Module".

Definition at line 160 of file privmodacs.h.


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