#include <setup.h>
Enumerator |
---|
Configure |
|
AccountMapping |
|
MasterInformation |
|
setup::setup |
( |
QWidget * |
parent = 0 , |
|
|
const char * |
name = 0 , |
|
|
bool |
modal = false , |
|
|
Qt::WFlags |
fl = 0 |
|
) |
| |
void setup::insert |
( |
const QString & |
title, |
|
|
const QString & |
uiName, |
|
|
int |
type, |
|
|
int |
modules, |
|
|
bool |
enabled = true , |
|
|
int |
mode = 0 , |
|
|
const QString & |
saveMethod = QString() |
|
) |
| |
|
slot |
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.
void setup::languageChange |
( |
| ) |
|
|
slot |
int setup::mode |
( |
const QString & |
editPriv, |
|
|
const QString & |
viewPriv = QString() |
|
) |
| |
|
slot |
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;
void setup::populate |
( |
bool |
first = true | ) |
|
|
slot |
Populates the list of setup widgets filtered by selectd module. Selects the first item when first is true.
void setup::save |
( |
bool |
close = true | ) |
|
|
slot |
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()
enum SetResponse setup::set |
( |
const ParameterList & |
pParams | ) |
|
|
slot |
void setup::setCurrentIndex |
( |
const QString & |
uiName | ) |
|
|
slot |
The documentation for this class was generated from the following files: