diff options
| author | Cristián Maureira-Fredes <Cristian.Maureira-Fredes@qt.io> | 2022-06-22 20:42:42 +0200 |
|---|---|---|
| committer | Cristián Maureira-Fredes <Cristian.Maureira-Fredes@qt.io> | 2022-06-22 22:21:15 +0200 |
| commit | 99d76b5e4e2397fcb4ddf45de91748ab1861f755 (patch) | |
| tree | e0c27f7a68f30ae7c138d3f527123bb66d6cf14f /sources/pyside6/doc/tutorials/qmlapp | |
| parent | afb43a34d2360116f8e00506c58fa11ffd124179 (diff) | |
docs: adapt snippets to new license rows
The license headers are now a couple of lines
compared to the previous 40 lines, so the snippets
that select 'from which line' the code must be included
needed some adaptation.
Change-Id: Id8bb87d708cc7c9edadb1b8265cecf81bf0bf5ae
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/pyside6/doc/tutorials/qmlapp')
| -rw-r--r-- | sources/pyside6/doc/tutorials/qmlapp/qmlapplication.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sources/pyside6/doc/tutorials/qmlapp/qmlapplication.rst b/sources/pyside6/doc/tutorials/qmlapp/qmlapplication.rst index 8c02efbb6..b68a3686e 100644 --- a/sources/pyside6/doc/tutorials/qmlapp/qmlapplication.rst +++ b/sources/pyside6/doc/tutorials/qmlapp/qmlapplication.rst @@ -61,7 +61,7 @@ development process using Qt Creator: .. literalinclude:: main.py :linenos: - :lines: 40-60 + :lines: 3-23 :emphasize-lines: 7-9,14-17 #. Now, set up the application window using @@ -70,7 +70,7 @@ development process using Qt Creator: .. literalinclude:: main.py :linenos: - :lines: 40-65 + :lines: 3-28 :emphasize-lines: 23-25 .. note:: Setting the resize policy is important if you want the @@ -83,7 +83,7 @@ development process using Qt Creator: .. literalinclude:: main.py :linenos: - :lines: 40-70 + :lines: 3-33 :emphasize-lines: 28-31 #. Load the ``view.qml`` to the ``QQuickView`` and call ``show()`` to @@ -91,14 +91,14 @@ development process using Qt Creator: .. literalinclude:: main.py :linenos: - :lines: 40-79 + :lines: 3-42 :emphasize-lines: 33-40 #. Finally, execute the application to start the event loop and clean up. .. literalinclude:: main.py :linenos: - :lines: 40- + :lines: 3- :emphasize-lines: 42-44 #. Your application is ready to be run now. Select **Projects** mode to |
