GCompris-qt
Inherits QtQuick.Item, and Rectangle.
Signals | |
void | close () |
void | loadData () |
void | saveData () |
void | start () |
void | stop () |
Public Member Functions | |
void | getInitialConfiguration () |
Properties | |
string | activityName |
object | configItem |
Component | content |
object | dataToSave |
Detailed Description
A QML component for a full screen configuration dialog.
All user editable settings are presented to the user in a DialogActivityConfig dialog. The global configuration can be accessed through the Bar in the main menu, activity specific configuration from the respective activity.
All config items that are shown in this dialog are persisted using ApplicationSettings.
For an example have a look at Menu.qml.
For more details on how to add configuration to an activity cf. the wiki
- See also
- ApplicationSettings
Definition at line 43 of file DialogActivityConfig.qml.
Member Function Documentation
|
signal |
Emitted when the config dialog has been closed.
|
signal |
Emitted when the config settings have been loaded.
|
signal |
Emitted when the settings are to be saved.
The actual persisting of the settings in the settings file is done by DialogActivityConfig. The activity has to take care to update its internal state.
|
signal |
Emitted when the config dialog has been started.
Property Documentation
string DialogActivityConfig::activityName |
The name of the activity in case of per-activity config.
Will be autogenerated unless set by the caller.
Definition at line 63 of file DialogActivityConfig.qml.
object DialogActivityConfig::configItem |
The content object as loaded dynamically.
Definition at line 50 of file DialogActivityConfig.qml.
Component DialogActivityConfig::content |
Content component which holds the visual presentation of the config settings in the QML scene.
Definition at line 56 of file DialogActivityConfig.qml.
object DialogActivityConfig::dataToSave |
Map containing all settings as key/value-pairs.
Will be populated from ApplicationSettings.loadActivityConfiguration and can be passed to ApplicationSettings.saveActivityConfiguration.
Definition at line 71 of file DialogActivityConfig.qml.
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2015 The KDE developers.
Generated on Tue Jun 2 2015 21:47:48 by doxygen 1.8.9.1 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.