#include <setup.h>
List of all members.
Classes |
struct | ItemProps |
Public Types |
enum | SetupTypes { Configure,
AccountMapping,
MasterInformation
} |
Public Member Functions |
| setup (QWidget *parent=0, const char *name=0, bool modal=false, Qt::WFlags fl=0) |
| ~setup () |
Public Slots |
void | apply () |
void | insert (const QString &title, const QString &uiName, int type, int modules, bool enabled=true, int mode=0, const QString &saveMethod=QString()) |
void | languageChange () |
int | mode (const QString &editPriv, const QString &viewPriv=QString()) |
void | populate (bool first=true) |
void | save (bool close=true) |
enum SetResponse | set (const ParameterList &pParams) |
void | setCurrentIndex (const QString &uiName) |
Signals |
void | saving () |
Member Enumeration Documentation
- Enumerator:
Configure |
|
AccountMapping |
|
MasterInformation |
|
Constructor & Destructor Documentation
Member Function Documentation
Insert setup item for title using the widget with object name uiName to the list of setup items. The item on the list will be indented under type and enabled according to the enabled value. The value of mode will determine whether parameters are passed to set the widget to "edit" or "view" mode. A save function on the widget triggered by the Apply and Save buttons can optionally be specified by saveMethod.
Returns the mode value based on the privileges granted by checking editPriv and viewPriv. If the user has edit privileges cEdit (2) will be returned, if only view privileges then cView (3) will be returned, otherwise 0;
Populates the list of setup widgets filtered by selectd module. Selects the first item when first is true.
Emits the saving() signal which triggers any widgets to save that have a mapped savedMethod() specified by
- See also:
- insert(). Also reloads metrics, privileges, preferences, and the menubar in the main application. The screen will close if close is true.
-
apply()
The documentation for this class was generated from the following files: