GCompris-qt
Inherits QtQuick.Item, and Item.
Signals | |
void | button1Hit () |
void | button2Hit () |
void | close () |
void | start () |
void | stop () |
Properties | |
string | button1Text |
string | button2Text |
string | message |
Detailed Description
A QML component for GCompris dialogs.
Contains the following basic layout elements: Title (message), a GCompris cancel button (GCButtonCancel) at the top right and two optional buttons.
Can be conveniently instantiated dynamically in conjunction with showMessageDialog from core.js.
GCDialog should now be used wherever you'd use a QtQuick dialog. It has been decided to implement dialogs ourselves in GCompris because of missing translations of labels of Qt's standard buttons for some language supported by GCompris, as well as integration problems on some OSes (Sailfish OS).
- See also
- showMessageDialog
Definition at line 43 of file GCDialog.qml.
Member Function Documentation
|
signal |
Emitted when the first button has been clicked.
|
signal |
Emitted when the second button has been clicked.
|
signal |
Emitted when the dialog has stopped.
|
signal |
Emitted when the dialog should be started.
Triggers fading in.
|
signal |
Emitted when the dialog should be stopped.
Triggers fading out.
Property Documentation
string GCDialog::button1Text |
Label of the first button.
Definition at line 54 of file GCDialog.qml.
string GCDialog::button2Text |
Label of the second button.
Definition at line 59 of file GCDialog.qml.
string GCDialog::message |
Heading instruction text.
Definition at line 49 of file GCDialog.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.