GCompris-qt
25 import "template.js" as Activity
33 pageComponent: Rectangle {
40 Component.onCompleted: {
41 activity.
start.connect(start)
42 activity.stop.connect(stop)
48 property Item
main: activity.main
49 property alias background: background
50 property alias bar: bar
51 property alias bonus: bonus
54 onStart: { Activity.start(items) }
55 onStop: { Activity.stop() }
58 anchors.centerIn: parent
59 text:
"template activity"
72 displayDialog(dialogHelp)
74 onPreviousLevelClicked: Activity.previousLevel()
75 onNextLevelClicked: Activity.nextLevel()
76 onHomeClicked: activity.
home()
81 Component.onCompleted: win.connect(Activity.nextLevel)
The base QML component for activities in GCompris.
A QML component providing user feedback upon winning/loosing.
QML container for defining all visible child elements of a Bar.
void start()
Emitted every time the activity has been started.
A QML component unifying text presentation in GCompris.
A QML component for GCompris' navigation bar.
GCompris' full screen help dialog.
int home
Representation of the home button.
GCompris' main QML file defining the top level window.
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.