diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-03-25 08:28:50 +0100 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-03-25 09:46:45 +0100 |
| commit | 25c038385c632e68d78fa58356fc35183c101801 (patch) | |
| tree | e6394ec33c7a426a5bb1e23fd462a76f431622a7 /sources/pyside6/doc/tools | |
| parent | 3cba117184c6fa7965c09baeba27868a86ef63cd (diff) | |
Documentation: Rename Qt Designer to Qt Widgets Designer
Use *Qt Widgets Designer* (emphasis/italics) instead of
**Qt Widgets Designer** (bold) consistently.
Also fix pyside-designer.rst (Qt Widget Designer -> Qt Widgets
Designer).
Pick-to: 6.7
Task-number: QTBUG-122253
Change-Id: I573264f5b02c62e4b91cfc0f8b0f38da691defed
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Diffstat (limited to 'sources/pyside6/doc/tools')
| -rw-r--r-- | sources/pyside6/doc/tools/index.rst | 5 | ||||
| -rw-r--r-- | sources/pyside6/doc/tools/pyside-designer.rst | 12 | ||||
| -rw-r--r-- | sources/pyside6/doc/tools/pyside-project.rst | 3 |
3 files changed, 11 insertions, 9 deletions
diff --git a/sources/pyside6/doc/tools/index.rst b/sources/pyside6/doc/tools/index.rst index a8b97a75f..392fb810c 100644 --- a/sources/pyside6/doc/tools/index.rst +++ b/sources/pyside6/doc/tools/index.rst @@ -27,8 +27,9 @@ Project development :link: pyside6-project :link-type: ref - to build Qt Designer forms (``.ui`` files), resource files (``.qrc``) - and QML type files (``.qmltype``) from a ``.pyproject`` file. + to build *Qt Widgets Designer* forms (``.ui`` files), + resource files (``.qrc``) and QML type files (``.qmltype``) + from a ``.pyproject`` file. Widget Development ~~~~~~~~~~~~~~~~~~ diff --git a/sources/pyside6/doc/tools/pyside-designer.rst b/sources/pyside6/doc/tools/pyside-designer.rst index 05d7556b1..4cde6b2bf 100644 --- a/sources/pyside6/doc/tools/pyside-designer.rst +++ b/sources/pyside6/doc/tools/pyside-designer.rst @@ -3,7 +3,7 @@ pyside6-designer ================ -``pyside6-designer`` is a tool that wraps the `Qt Widget Designer`_, +``pyside6-designer`` is a tool that wraps the `Qt Widgets Designer`_, to enable you to design Qt Widgets applications with a *drag-and-drop* approach. @@ -46,13 +46,13 @@ with the help of the :ref:`pyside6-uic` tool. You can find more details of this process in: :ref:`using_ui_files`. If you are interested in more functionality of the tool, you can check -the official `Qt Widget Designer Manual`_. +the official `Qt Widgets Designer Manual`_. Custom Widgets -------------- -One of the features that the `Qt Widget Designer`_ provides is the possibility +One of the features that the `Qt Widgets Designer`_ provides is the possibility of loading custom widgets, in order to facilitate the development with ad-hoc widgets. @@ -80,12 +80,12 @@ is located. The registration file for the tic-tac-toe widget looks like this: As you can see in the previous code, ``TicTacToe`` is the custom widget, imported from a different file, and the ``TicTacToePlugin`` is the interface -layer for `Qt Widget Designer`_ to recognize it. +layer for `Qt Widgets Designer`_ to recognize it. We provide a helper class, ``QPyDesignerCustomWidgetCollection``, to simplify the registration process. If you are interested in all the details of this specific case, you can check the :ref:`task-menu-extension-example`. -.. _`Qt Widget Designer`: https://doc.qt.io/qt-6/qtdesigner-manual.html -.. _`Qt Widget Designer Manual`: https://doc.qt.io/qt-6/qtdesigner-manual.html +.. _`Qt Widgets Designer`: https://doc.qt.io/qt-6/qtdesigner-manual.html +.. _`Qt Widgets Designer Manual`: https://doc.qt.io/qt-6/qtdesigner-manual.html diff --git a/sources/pyside6/doc/tools/pyside-project.rst b/sources/pyside6/doc/tools/pyside-project.rst index 2a7394065..0359e1b7d 100644 --- a/sources/pyside6/doc/tools/pyside-project.rst +++ b/sources/pyside6/doc/tools/pyside-project.rst @@ -28,7 +28,8 @@ The tool has several subcommands. New projects can be created using the below commands, passing the project name (directory): *new-ui* - Creates a new QtWidgets project with a Qt Designer-based main window. + Creates a new QtWidgets project with a *Qt Widgets Designer*-based main + window. *new-widget* Creates a new QtWidgets project with a main window. |
