#include <setup.h>
|
void | apply () |
|
int | exec () |
|
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) |
|
virtual void | setRememberPos (bool) |
|
virtual void | setRememberSize (bool) |
|
◆ SetupTypes
Enumerator |
---|
Configure | |
AccountMapping | |
MasterInformation | |
◆ setup()
setup::setup |
( |
QWidget * |
parent = 0 , |
|
|
const char * |
name = 0 , |
|
|
bool |
modal = false , |
|
|
Qt::WindowFlags |
fl = 0 |
|
) |
| |
◆ ~setup()
◆ apply
◆ callCloseEvent()
void ScriptablePrivate::callCloseEvent |
( |
QEvent * |
event | ) |
|
|
virtualinherited |
◆ callSet()
enum SetResponse ScriptablePrivate::callSet |
( |
const ParameterList & |
params | ) |
|
|
virtualinherited |
◆ callShowEvent()
void ScriptablePrivate::callShowEvent |
( |
QEvent * |
event | ) |
|
|
virtualinherited |
◆ closeEvent()
void XDialog::closeEvent |
( |
QCloseEvent * |
event | ) |
|
|
protectedvirtualinherited |
◆ engine()
QScriptEngine * ScriptablePrivate::engine |
( |
| ) |
|
|
virtualinherited |
◆ exec
◆ get()
ParameterList XDialog::get |
( |
| ) |
const |
|
virtualinherited |
◆ insert
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.
◆ languageChange
void setup::languageChange |
( |
| ) |
|
|
slot |
◆ loadScript() [1/2]
void ScriptableWidget::loadScript |
( |
const QString & |
oName | ) |
|
|
virtualinherited |
◆ loadScript() [2/2]
void ScriptableWidget::loadScript |
( |
const QStringList & |
list | ) |
|
|
virtualinherited |
◆ loadScriptEngine()
void ScriptableWidget::loadScriptEngine |
( |
| ) |
|
|
virtualinherited |
◆ mode
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;
◆ populate
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.
◆ postSet
enum SetResponse XDialog::postSet |
( |
| ) |
|
|
protectedvirtualslotinherited |
◆ retranslateUi()
void Ui_setup::retranslateUi |
( |
QDialog * |
setup | ) |
|
|
inlineinherited |
◆ save
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()
◆ saveSize
void XDialog::saveSize |
( |
| ) |
|
|
protectedvirtualslotinherited |
◆ saving
◆ set
enum SetResponse setup::set |
( |
const ParameterList & |
pParams | ) |
|
|
slot |
◆ setCurrentIndex
void setup::setCurrentIndex |
( |
const QString & |
uiName | ) |
|
|
slot |
◆ setRememberPos
void XDialog::setRememberPos |
( |
bool |
b | ) |
|
|
virtualslotinherited |
◆ setRememberSize
void XDialog::setRememberSize |
( |
bool |
b | ) |
|
|
virtualslotinherited |
◆ setScriptableParams()
bool ScriptableWidget::setScriptableParams |
( |
ParameterList & |
params | ) |
|
|
virtualinherited |
◆ setupUi()
void Ui_setup::setupUi |
( |
QDialog * |
setup | ) |
|
|
inlineinherited |
◆ showEvent()
void XDialog::showEvent |
( |
QShowEvent * |
event | ) |
|
|
protectedvirtualinherited |
◆ _buttonBox
QDialogButtonBox* Ui_setup::_buttonBox |
|
inherited |
◆ _cache
◆ _debugger
QScriptEngineDebugger* ScriptableWidget::_debugger |
|
protectedinherited |
◆ _engine
QScriptEngine* ScriptableWidget::_engine |
|
protectedinherited |
◆ _guiClientInterface
◆ _lastSetParams
ParameterList ScriptablePrivate::_lastSetParams |
|
inherited |
◆ _modules
◆ _modulesLit
◆ _rememberPos
QAction* ScriptablePrivate::_rememberPos |
|
inherited |
◆ _rememberSize
QAction* ScriptablePrivate::_rememberSize |
|
inherited |
◆ _scriptLoaded
bool ScriptableWidget::_scriptLoaded |
|
protectedinherited |
◆ _self
◆ _showMe
QAction* ScriptablePrivate::_showMe |
|
inherited |
◆ _shown
bool ScriptablePrivate::_shown |
|
inherited |
◆ _stack
QStackedWidget* Ui_setup::_stack |
|
inherited |
◆ _stackLit
◆ _tree
◆ gridLayout
QGridLayout* Ui_setup::gridLayout |
|
inherited |
◆ gridLayout_2
QGridLayout* Ui_setup::gridLayout_2 |
|
inherited |
◆ horizontalLayout
QHBoxLayout* Ui_setup::horizontalLayout |
|
inherited |
◆ horizontalSpacer
QSpacerItem* Ui_setup::horizontalSpacer |
|
inherited |
◆ page
◆ page_2
The documentation for this class was generated from the following files: