aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVenugopal Shivashankar <Venugopal.Shivashankar@qt.io>2018-06-11 14:37:18 +0200
committerVenugopal Shivashankar <Venugopal.Shivashankar@qt.io>2018-06-25 08:13:20 +0000
commitd30a4247a5253cdbd2b7f34d4fd0ac648850fbf1 (patch)
treef097170ee044df05535179f62b2c217fe132a02e
parentd2ef2acc1a58ef5c2006c224fa90aec9c77c4399 (diff)
Doc: Fix typos and minor edits
In addition, scaled down the app screenshot. Change-Id: I9edf9bf6dc3c2f4e81097feaccaa266498776a6f Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
-rw-r--r--examples/webenginewidgets/tabbedbrowser/main.py2
-rw-r--r--sources/pyside2/doc/tutorials/examples/images/tabbedbrowser.pngbin51262 -> 37147 bytes
-rw-r--r--sources/pyside2/doc/tutorials/examples/tabbedbrowser.rst8
3 files changed, 5 insertions, 5 deletions
diff --git a/examples/webenginewidgets/tabbedbrowser/main.py b/examples/webenginewidgets/tabbedbrowser/main.py
index 09b6cc9e..9fe98da6 100644
--- a/examples/webenginewidgets/tabbedbrowser/main.py
+++ b/examples/webenginewidgets/tabbedbrowser/main.py
@@ -69,7 +69,7 @@ def create_main_window():
return main_win
def create_main_window_with_browser():
- """Creates a MainWindow with a tab that loads the www.qt.io webpage."""
+ """Creates a MainWindow with a BrowserTabWidget."""
main_win = create_main_window()
return main_win.add_browser_tab()
diff --git a/sources/pyside2/doc/tutorials/examples/images/tabbedbrowser.png b/sources/pyside2/doc/tutorials/examples/images/tabbedbrowser.png
index 655d6b57..27c3daa0 100644
--- a/sources/pyside2/doc/tutorials/examples/images/tabbedbrowser.png
+++ b/sources/pyside2/doc/tutorials/examples/images/tabbedbrowser.png
Binary files differ
diff --git a/sources/pyside2/doc/tutorials/examples/tabbedbrowser.rst b/sources/pyside2/doc/tutorials/examples/tabbedbrowser.rst
index 8a2e0311..d291e839 100644
--- a/sources/pyside2/doc/tutorials/examples/tabbedbrowser.rst
+++ b/sources/pyside2/doc/tutorials/examples/tabbedbrowser.rst
@@ -19,9 +19,9 @@ them a little better.
BookmarkWidget or :code:`bookmarkwidget.py`
===========================================
-This is a widget that docks to the left of the main window by default. It inherits QTreeView and
+This widget docks to the left of the main window by default. It inherits QTreeView and
loads a default set of bookmarks using a QStandardItemModel. The model is populated at startup
-for a JSON file, which is updated when you add or remove bookmarks from the tree view.
+from a JSON file, which is updated when you add or remove bookmarks from the tree view.
.. automodule:: bookmarkwidget
:members:
@@ -29,7 +29,7 @@ for a JSON file, which is updated when you add or remove bookmarks from the tree
DownloadWidget or :code:`downloadwidget.py`
=============================================
-This is a widget that tracks progress of the download item. It inherits QProgressBar to display
+The widget tracks progress of the download item. It inherits QProgressBar to display
progress of the QWebEngineDownloadItem instance, and offers a context-menu with actions such as Launch,
Show in folder, Cancel, and Remove.
@@ -39,7 +39,7 @@ Show in folder, Cancel, and Remove.
BrowserTabWidget or :code:`browsertabwidget.py`
===============================================
-This is a widget that includes a QWebEngineView to enable viewing web pages. It docks to the right
+The widget includes a QWebEngineView to enable viewing web content. It docks to the right
of BookmarkWidget in the main window.
.. automodule:: browsertabwidget