• Skip to content
  • Skip to link menu
KDE API Documentation - Core QML Components (GCompris-qt)
  • KDE Home
  • Contact Us
 

GCompris-qt

Classes
Core QML Components

Classes

class  ActivityBase
 
class  ActivityInfo
 
class  Bar
 
class  BarButton
 
class  BarEnumContent
 
class  Bonus
 
class  DialogActivityConfig
 
class  DialogBackground
 
class  File
 
class  GCAudio
 
class  GCButtonCancel
 
class  GCButtonStyle
 
class  GCComboBox
 
class  GCDialog
 
class  GCDialogCheckBox
 
class  GCSliderStyle
 
class  GCText
 
class  JsonParser
 
class  ParticleSystemStar
 
class  ParticleSystemStarLoader
 
class  Score
 
class  VirtualKeyboard
 
class  Wordlist
 

Detailed Description

This section contains all core QML components, that encapsulate common behaviour and can be used by activities in order to integrate well into the GCompris ecosystem.

Each activity has to provide meta information about itself by implementing the ActivityInfo template and derive from ActivityBase as a container for its QML scene.

Each activity must add a navigation Bar to its viewport. Activities that support sublevels should use a Score element. The Bonus component can be used for audio feedback upon winning/loosing. If an activity uses per-activity configuration it should use DialogActivityConfig.

For audio playback the GCAudio wrapper should be used, and GCText's purpose is to unify Text handling in GCompris.

Besides these, there are more components that provide controls or styles for GCompris.

Cf. Template.qml for a skeleton that can also be used as a starting point for developing new activities.

Last but not least have a look at the existing activities to learn by example.

This file is part of the KDE documentation.
Documentation copyright © 1996-2015 The KDE developers.
Generated on Tue Jun 2 2015 21:47:47 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