diff options
-rw-r--r-- | examples/webenginewidgets/tabbedbrowser/main.py | 2 | ||||
-rw-r--r-- | sources/pyside2/doc/tutorials/examples/images/tabbedbrowser.png | bin | 51262 -> 37147 bytes | |||
-rw-r--r-- | sources/pyside2/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 Binary files differindex 655d6b57f..27c3daa09 100644 --- a/sources/pyside2/doc/tutorials/examples/images/tabbedbrowser.png +++ b/sources/pyside2/doc/tutorials/examples/images/tabbedbrowser.png 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 |