summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVenugopal Shivashankar <Venugopal.Shivashankar@qt.io>2019-10-16 15:30:40 +0200
committerVenugopal Shivashankar <Venugopal.Shivashankar@qt.io>2019-10-16 16:43:35 +0200
commitd9359a35ff059cc81c155764f4c234d03655bd45 (patch)
treee5b0626acca2b06837047652735c8792eff35100
parenteff7aa8f3ac5eb88585bbb51ffc0bb0a29bb42c2 (diff)
Doc: Minor fixes to the snippets and their order5.13
Change-Id: Idf0bc429373180bf4c512014255eb7f6c93bd891 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
-rw-r--r--sources/pyside2/doc/tutorials/datavisualize/add_chart.rst2
-rw-r--r--sources/pyside2/doc/tutorials/datavisualize/add_tableview.rst2
-rw-r--r--sources/pyside2/doc/tutorials/portingguide/chapter3/chapter3.rst2
3 files changed, 4 insertions, 2 deletions
diff --git a/sources/pyside2/doc/tutorials/datavisualize/add_chart.rst b/sources/pyside2/doc/tutorials/datavisualize/add_chart.rst
index 0c980326..95b2092b 100644
--- a/sources/pyside2/doc/tutorials/datavisualize/add_chart.rst
+++ b/sources/pyside2/doc/tutorials/datavisualize/add_chart.rst
@@ -15,6 +15,6 @@ previous chapter to add a QChartView:
.. literalinclude:: datavisualize5/main_widget.py
:linenos:
:lines: 40-
- :emphasize-lines: 2-3,6,22-37,48-51
+ :emphasize-lines: 2-3,6,22-36,48-50
diff --git a/sources/pyside2/doc/tutorials/datavisualize/add_tableview.rst b/sources/pyside2/doc/tutorials/datavisualize/add_tableview.rst
index bbf27f2d..72091800 100644
--- a/sources/pyside2/doc/tutorials/datavisualize/add_tableview.rst
+++ b/sources/pyside2/doc/tutorials/datavisualize/add_tableview.rst
@@ -59,10 +59,12 @@ In the following snippets you'll see those changes highlighted:
.. literalinclude:: datavisualize4/main_window.py
:language: python
:linenos:
+ :lines: 40-
:emphasize-lines: 8,11
.. literalinclude:: datavisualize4/main.py
:language: python
:linenos:
+ :lines: 40-
:emphasize-lines: 46-47
diff --git a/sources/pyside2/doc/tutorials/portingguide/chapter3/chapter3.rst b/sources/pyside2/doc/tutorials/portingguide/chapter3/chapter3.rst
index 6ed7e47d..71b25481 100644
--- a/sources/pyside2/doc/tutorials/portingguide/chapter3/chapter3.rst
+++ b/sources/pyside2/doc/tutorials/portingguide/chapter3/chapter3.rst
@@ -106,7 +106,7 @@ to generate ``rc_books.py``.
pyside2-rcc books.qrc > rc_books.py
Once you have the Python script generated, make the
-following changes to ``main.py`` and ``bookdelegate.py``:
+following changes to ``bookdelegate.py`` and ``main.py``:
.. literalinclude:: bookdelegate.py
:diff: ../chapter2/bookdelegate.py