From d30a4247a5253cdbd2b7f34d4fd0ac648850fbf1 Mon Sep 17 00:00:00 2001 From: Venugopal Shivashankar Date: Mon, 11 Jun 2018 14:37:18 +0200 Subject: Doc: Fix typos and minor edits In addition, scaled down the app screenshot. Change-Id: I9edf9bf6dc3c2f4e81097feaccaa266498776a6f Reviewed-by: Paul Wicking Reviewed-by: Friedemann Kleint --- examples/webenginewidgets/tabbedbrowser/main.py | 2 +- .../doc/tutorials/examples/images/tabbedbrowser.png | Bin 51262 -> 37147 bytes .../doc/tutorials/examples/tabbedbrowser.rst | 8 ++++---- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/webenginewidgets/tabbedbrowser/main.py b/examples/webenginewidgets/tabbedbrowser/main.py index 09b6cc9ec..9fe98da65 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 655d6b57f..27c3daa09 100644 Binary files a/sources/pyside2/doc/tutorials/examples/images/tabbedbrowser.png and b/sources/pyside2/doc/tutorials/examples/images/tabbedbrowser.png differ diff --git a/sources/pyside2/doc/tutorials/examples/tabbedbrowser.rst b/sources/pyside2/doc/tutorials/examples/tabbedbrowser.rst index 8a2e03110..d291e8399 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 -- cgit v1.2.3