diff options
author | Venugopal Shivashankar <Venugopal.Shivashankar@qt.io> | 2019-10-30 15:26:17 +0100 |
---|---|---|
committer | Venugopal Shivashankar <Venugopal.Shivashankar@qt.io> | 2019-11-01 13:19:04 +0100 |
commit | 4af52ffcfd89a636eff09a500836e14a7ad4d877 (patch) | |
tree | 4f88955a63aca65857ffcee791d6f5c309da3733 /sources/pyside2/doc/tutorials/qmlintegration/qmlintegration.rst | |
parent | 25b06b8df797b3edb88f9d6054f8a7e9e77a280d (diff) |
Doc: Fix sphinx warnings about indentation and linking
Change-Id: I22fc8b60d9c9209224eddbd8255f8e2b834da0ae
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/pyside2/doc/tutorials/qmlintegration/qmlintegration.rst')
-rw-r--r-- | sources/pyside2/doc/tutorials/qmlintegration/qmlintegration.rst | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sources/pyside2/doc/tutorials/qmlintegration/qmlintegration.rst b/sources/pyside2/doc/tutorials/qmlintegration/qmlintegration.rst index d82e76246..62336ee81 100644 --- a/sources/pyside2/doc/tutorials/qmlintegration/qmlintegration.rst +++ b/sources/pyside2/doc/tutorials/qmlintegration/qmlintegration.rst @@ -31,7 +31,7 @@ application and PySide2 integration: .. literalinclude:: main.py :linenos: :lines: 98-108 - :emphasize-lines: 103,107 + :emphasize-lines: 6,9 Notice that we specify the name of the context property, **con**, and also we explicitly load our QML file. @@ -47,7 +47,7 @@ application and PySide2 integration: .. literalinclude:: view.qml :linenos: :lines: 85-93 - :emphasize-lines: 89-91 + :emphasize-lines: 5-7 The properties *Italic*, *Bold*, and *Underline* are mutually exclusive, this means only one can be active at any time. @@ -64,7 +64,7 @@ application and PySide2 integration: .. literalinclude:: main.py :linenos: :lines: 79-84 - :emphasize-lines: 82,84 + :emphasize-lines: 4,6 Returning *True* or *False* allows you to activate and deactivate the properties of the QML UI elements. @@ -98,10 +98,10 @@ application and PySide2 integration: .. literalinclude:: main.py :linenos: :lines: 41-48 - :emphasize-lines: 48 + :emphasize-lines: 8 - You can read more about this configuration file - `here <https://doc.qt.io/qt-5/qtquickcontrols2-configuration.html>`_. + You can read more about this configuration file + `here <https://doc.qt.io/qt-5/qtquickcontrols2-configuration.html>`_. The final look of your application will be: |