diff options
author | Oswald Buddenhagen <oswald.buddenhagen@qt.io> | 2017-05-22 16:44:51 +0200 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@qt.io> | 2017-05-22 18:24:16 +0200 |
commit | 77faaf1757c2054adf6a13ff1025621bb86a3934 (patch) | |
tree | beced043dde3f9da5927c20112921d4732b2a03e /sources/pyside2/doc/tutorials/qmladvancedtutorial/index.rst | |
parent | d4112e4a6ea25aee831da3cd123f139b5f7229bf (diff) |
move everying into sources/pyside2 (dev edition)
in preparation for a subtree merge.
this should not be necessary to do in a separate commit, but git is a
tad stupid about following history correctly without it.
Diffstat (limited to 'sources/pyside2/doc/tutorials/qmladvancedtutorial/index.rst')
-rw-r--r-- | sources/pyside2/doc/tutorials/qmladvancedtutorial/index.rst | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/sources/pyside2/doc/tutorials/qmladvancedtutorial/index.rst b/sources/pyside2/doc/tutorials/qmladvancedtutorial/index.rst new file mode 100644 index 000000000..5b5a367d0 --- /dev/null +++ b/sources/pyside2/doc/tutorials/qmladvancedtutorial/index.rst @@ -0,0 +1,34 @@ +.. _qmladvancedtutorial: + +QML Advanced Tutorial +********************* + +This tutorial walks step-by-step through the creation of a full application using QML. +It assumes that you already know the basics of QML (for example, from reading the +:ref:`qmltutorial`. + +In this tutorial we write a game, *Same Game*, based on the Same Game application +included in the declarative demos directory, which looks like this: + +.. figure:: declarative-samegame.png + :align: center + +We will cover concepts for producing a fully functioning application, including +JavaScript integration, using QML States and Behaviors to +manage components and enhance your interface, and storing persistent application data. + +An understanding of JavaScript is helpful to understand parts of this tutorial, but if you don't +know JavaScript you can still get a feel for how you can integrate backend logic to create and +control QML elements. + +Tutorial chapters: + +.. toctree:: + :maxdepth: 1 + + samegame1.rst + samegame2.rst + samegame3.rst + samegame4.rst + +All the code in this tutorial can be found :download:`here <samegame.tar.bz2>`. |