• Skip to content
  • Skip to link menu
KDE API Documentation - DialogActivityConfig Class Reference (GCompris-qt)
  • KDE Home
  • Contact Us
 

GCompris-qt

  • View on LXR
  • Comments
Signals | Public Member Functions | Properties | List of all members
DialogActivityConfig Class Reference
Core QML Components

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

void DialogActivityConfig::close ( )
signal

Emitted when the config dialog has been closed.

void DialogActivityConfig::loadData ( )
signal

Emitted when the config settings have been loaded.

void DialogActivityConfig::saveData ( )
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.

void DialogActivityConfig::start ( )
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:
  • DialogActivityConfig.qml
This file is part of the KDE documentation.
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.

GCompris-qt

Skip menu "GCompris-qt"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • File List
  • Modules

Class Picker

Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal