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

GCompris-qt

  • View on LXR
  • Comments
Signals | Properties | List of all members
GCDialog Class Reference
Core QML Components

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

void GCDialog::button1Hit ( )
signal

Emitted when the first button has been clicked.

void GCDialog::button2Hit ( )
signal

Emitted when the second button has been clicked.

void GCDialog::close ( )
signal

Emitted when the dialog has stopped.

void GCDialog::start ( )
signal

Emitted when the dialog should be started.

Triggers fading in.

void GCDialog::stop ( )
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:
  • GCDialog.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