diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-12-10 08:32:34 +0100 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-12-10 09:41:26 +0100 |
| commit | b60a27dcd43fa991ffd6a92182a0f2186d1a11ec (patch) | |
| tree | 1b5b2f07c875cecb0e4d0eeb3a412f777eccdcfb /sources/pyside6 | |
| parent | 11ccf66c574f4104bf86fd61b6cc7bac6ff3c200 (diff) | |
Fix tutorial references
Amends d2318d7aab3616df6e589b6337d2c2b8cd6e1909.
Pick-to: 6.8
Change-Id: Ibb61ad87b76a7432d2f9917dc36b88d62fe27b59
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Diffstat (limited to 'sources/pyside6')
| -rw-r--r-- | sources/pyside6/doc/considerations.rst | 6 | ||||
| -rw-r--r-- | sources/pyside6/doc/extras/QtCore.Slot.rst | 2 | ||||
| -rw-r--r-- | sources/pyside6/doc/extras/QtCore.rst | 2 | ||||
| -rw-r--r-- | sources/pyside6/doc/extras/QtWidgets.rst | 2 | ||||
| -rw-r--r-- | sources/pyside6/doc/faq/typesoffiles.rst | 4 | ||||
| -rw-r--r-- | sources/pyside6/doc/faq/whatisqt.rst | 2 | ||||
| -rw-r--r-- | sources/pyside6/doc/tools/index.rst | 2 | ||||
| -rw-r--r-- | sources/pyside6/doc/tools/pyside-designer.rst | 2 | ||||
| -rw-r--r-- | sources/pyside6/doc/tools/pyside-linguist.rst | 2 | ||||
| -rw-r--r-- | sources/pyside6/doc/tools/pyside-lrelease.rst | 2 | ||||
| -rw-r--r-- | sources/pyside6/doc/tools/pyside-lupdate.rst | 2 | ||||
| -rw-r--r-- | sources/pyside6/doc/tools/pyside-project.rst | 4 | ||||
| -rw-r--r-- | sources/pyside6/doc/tools/pyside-rcc.rst | 2 | ||||
| -rw-r--r-- | sources/pyside6/doc/tools/pyside-uic.rst | 4 | ||||
| -rw-r--r-- | sources/pyside6/doc/tutorials/basictutorial/translations.rst | 2 |
15 files changed, 20 insertions, 20 deletions
diff --git a/sources/pyside6/doc/considerations.rst b/sources/pyside6/doc/considerations.rst index 07be2b772..506f19aba 100644 --- a/sources/pyside6/doc/considerations.rst +++ b/sources/pyside6/doc/considerations.rst @@ -211,17 +211,17 @@ Tools * ``pyside6-rcc``: Qt Resource Compiler. This is a command line tool that compiles ``.qrc`` files containing binary data, for example images, - into executable Python code (see :ref:`using_qrc_files`). + into executable Python code (see :ref:`tutorial_qrcfiles`). * ``pyside6-uic``: Qt User Interface Compiler. This is a command line tool that compiles ``.ui`` files containing designs of Qt Widget-based forms - into executable Python code (see :ref:`using_ui_files`). + into executable Python code (see :ref:`tutorial_uifiles`). * ``pyside6-assistant``: Qt Help Viewer. This is a graphical tool that can be used to view Qt documentation from Qt Compressed Help files (``.qhc``). Currently, only the binary without documentation sets is shipped to reduce the wheel size. For building the documentation, see :ref:`building_documentation`. * ``pyside6-designer``: Qt User Interface Designer. This is a graphical tool to create designs of Qt Widget-based forms and use custom widgets - (see :ref:`using_ui_files`, :ref:`designer_custom_widgets`). + (see :ref:`tutorial_uifiles`, :ref:`designer_custom_widgets`). .. _NewEnumSystem: diff --git a/sources/pyside6/doc/extras/QtCore.Slot.rst b/sources/pyside6/doc/extras/QtCore.Slot.rst index b36ced151..3ed2a245c 100644 --- a/sources/pyside6/doc/extras/QtCore.Slot.rst +++ b/sources/pyside6/doc/extras/QtCore.Slot.rst @@ -27,7 +27,7 @@ PySide6.QtCore.Slot QtCore pyqtSlot Slot ======= =========== ====== - .. seealso:: :ref:`signals-and-slots` + .. seealso:: :ref:`tutorial_signals_and_slots` Q_INVOKABLE ----------- diff --git a/sources/pyside6/doc/extras/QtCore.rst b/sources/pyside6/doc/extras/QtCore.rst index ac72bc487..0b7ac085e 100644 --- a/sources/pyside6/doc/extras/QtCore.rst +++ b/sources/pyside6/doc/extras/QtCore.rst @@ -49,7 +49,7 @@ printing output. In addition, Qt Core provides a platform-independent mechanism for storing binary files in the application's executable. - * :ref:`The Qt Resource System<using_qrc_files>` + * :ref:`The Qt Resource System<tutorial_qrcfiles>` Additional Frameworks ^^^^^^^^^^^^^^^^^^^^^ diff --git a/sources/pyside6/doc/extras/QtWidgets.rst b/sources/pyside6/doc/extras/QtWidgets.rst index d78e4f82e..e37d90325 100644 --- a/sources/pyside6/doc/extras/QtWidgets.rst +++ b/sources/pyside6/doc/extras/QtWidgets.rst @@ -52,7 +52,7 @@ widget reports its size requirements to the layout through the :meth:`sizePolicy<PySide6.QtWidgets.QWidget.sizePolicy>` properties, and the layout distributes the available space accordingly. -:ref:`Qt Widgets Designer<using_ui_files>` is a powerful tool for interactively +:ref:`Qt Widgets Designer<tutorial_uifiles>` is a powerful tool for interactively creating and arranging widgets in layouts. Model/View Classes diff --git a/sources/pyside6/doc/faq/typesoffiles.rst b/sources/pyside6/doc/faq/typesoffiles.rst index 3155b24fc..a93f2e9e9 100644 --- a/sources/pyside6/doc/faq/typesoffiles.rst +++ b/sources/pyside6/doc/faq/typesoffiles.rst @@ -64,7 +64,7 @@ The `pyside6-uic` tool generates Python code from these `.ui` files, which you can import from your main files, so it is not necessary for you to include the `.ui` files in your deployed application. -For more details, see :ref:`using_ui_files`. +For more details, see :ref:`tutorial_uifiles`. Resource Collection Files ``.qrc`` ---------------------------------- @@ -86,7 +86,7 @@ The `pyside6-rcc` tool generates Python code from these `.qrc` files, so you are not required to include the listed files in your deployed application. -For more details, see :ref:`using_qrc_files`. +For more details, see :ref:`tutorial_qrcfiles`. Qt Modeling Language File ``.qml`` ---------------------------------- diff --git a/sources/pyside6/doc/faq/whatisqt.rst b/sources/pyside6/doc/faq/whatisqt.rst index 3b42a9403..deb1f24cc 100644 --- a/sources/pyside6/doc/faq/whatisqt.rst +++ b/sources/pyside6/doc/faq/whatisqt.rst @@ -66,7 +66,7 @@ is not to affect the user experience compared to other included applications. .. note:: You can adapt these applications to use your self-made style, but you need to be aware that the goal of Widgets is to respect the system style, be careful when changing colors. Check this - :ref:`simple tutorial <widgetstyling>` on how to do so. + :ref:`simple tutorial <tutorial_widgetstyling>` on how to do so. QML --- diff --git a/sources/pyside6/doc/tools/index.rst b/sources/pyside6/doc/tools/index.rst index d2ac04e32..0f6cd03f0 100644 --- a/sources/pyside6/doc/tools/index.rst +++ b/sources/pyside6/doc/tools/index.rst @@ -42,7 +42,7 @@ Widget Development :link-type: ref drag-and-drop tool for designing Widget UIs (generates ``.ui`` files, - see :ref:`using_ui_files`). + see :ref:`tutorial_uifiles`). .. grid-item-card:: ``pyside6-uic`` :link: pyside6-uic diff --git a/sources/pyside6/doc/tools/pyside-designer.rst b/sources/pyside6/doc/tools/pyside-designer.rst index 64574ace7..9cd28066f 100644 --- a/sources/pyside6/doc/tools/pyside-designer.rst +++ b/sources/pyside6/doc/tools/pyside-designer.rst @@ -43,7 +43,7 @@ where you could adjust dimensions, names, etc. When your application is finished, you will save your design in a ``.ui`` file. This ``.ui`` file can later be converted into a Python file, with the help of the :ref:`pyside6-uic` tool. You can find -more details of this process in: :ref:`using_ui_files`. +more details of this process in: :ref:`tutorial_uifiles`. If you are interested in more functionality of the tool, you can check the official `Qt Widgets Designer Manual`_. diff --git a/sources/pyside6/doc/tools/pyside-linguist.rst b/sources/pyside6/doc/tools/pyside-linguist.rst index e13124a8e..af5e8e337 100644 --- a/sources/pyside6/doc/tools/pyside-linguist.rst +++ b/sources/pyside6/doc/tools/pyside-linguist.rst @@ -11,7 +11,7 @@ version bundled with PySide and the one from Qt. For more information on how to use this tool, read Qt's documentation here: `Qt Linguist`_. Read more about how to translate PySide -applications here: :ref:`translations`. +applications here: :ref:`tutorial_translations`. .. image:: pyside6-linguist_screenshot.webp :width: 500 diff --git a/sources/pyside6/doc/tools/pyside-lrelease.rst b/sources/pyside6/doc/tools/pyside-lrelease.rst index 215923e66..458867fcc 100644 --- a/sources/pyside6/doc/tools/pyside-lrelease.rst +++ b/sources/pyside6/doc/tools/pyside-lrelease.rst @@ -10,7 +10,7 @@ pyside6-lrelease ``pyside6-lrelease`` is a command line tool wrapping `lrelease`_. It produces ``.qm`` files out of ``.ts`` files. The ``.qm`` file format is a compact binary format that the localized application uses. It provides extremely fast lookup -for translations (see :ref:`translations`). +for translations (see :ref:`tutorial_translations`). Usage ----- diff --git a/sources/pyside6/doc/tools/pyside-lupdate.rst b/sources/pyside6/doc/tools/pyside-lupdate.rst index bf4930bd2..04a38b57d 100644 --- a/sources/pyside6/doc/tools/pyside-lupdate.rst +++ b/sources/pyside6/doc/tools/pyside-lupdate.rst @@ -8,7 +8,7 @@ pyside6-lupdate ``pyside6-lupdate`` is a command line tool wrapping `lupdate`_. It finds translatable strings in Python, ``.ui``, and ``.qml`` files and generates or -updates ``.ts`` files (see :ref:`translations`). +updates ``.ts`` files (see :ref:`tutorial_translations`). Usage ----- diff --git a/sources/pyside6/doc/tools/pyside-project.rst b/sources/pyside6/doc/tools/pyside-project.rst index 0359e1b7d..e7cf813e4 100644 --- a/sources/pyside6/doc/tools/pyside-project.rst +++ b/sources/pyside6/doc/tools/pyside-project.rst @@ -42,7 +42,7 @@ It is also possible to specify a directory containing the project file. *build* Builds the project, generating the required build artifacts - (see :ref:`using_ui_files`, :ref:`using_qrc_files`). + (see :ref:`tutorial_uifiles`, :ref:`tutorial_qrcfiles`). *run* Builds the project and runs the main. @@ -51,7 +51,7 @@ It is also possible to specify a directory containing the project file. Deploys the application (see see :ref:`pyside6-deploy`). *lupdate* - Updates translation (.ts) files (see :ref:`translations`). + Updates translation (.ts) files (see :ref:`tutorial_translations`). *clean* Cleans the build artifacts. diff --git a/sources/pyside6/doc/tools/pyside-rcc.rst b/sources/pyside6/doc/tools/pyside-rcc.rst index e5688485e..16ace1489 100644 --- a/sources/pyside6/doc/tools/pyside-rcc.rst +++ b/sources/pyside6/doc/tools/pyside-rcc.rst @@ -49,7 +49,7 @@ for example: For additional options, you can use ``pyside6-rcc -h`` in order to get more information about additional options. -Visit the tutorial :ref:`using_qrc_files` for a hands-on example. +Visit the tutorial :ref:`tutorial_qrcfiles` for a hands-on example. .. _`rcc`: https://doc.qt.io/qt-6/rcc.html diff --git a/sources/pyside6/doc/tools/pyside-uic.rst b/sources/pyside6/doc/tools/pyside-uic.rst index ba4e36b4e..df49284cb 100644 --- a/sources/pyside6/doc/tools/pyside-uic.rst +++ b/sources/pyside6/doc/tools/pyside-uic.rst @@ -35,7 +35,7 @@ and you will get one class called ``Ui_TheNameOfYourDesign(object)`` that is in charge of positioning all the elements like your design. To use this Python file, you should follow our tutorial in -:ref:`using_ui_files`, but in summary, it is mainly importing the class +:ref:`tutorial_uifiles`, but in summary, it is mainly importing the class from the generated file and setting it up in your code: .. code-block:: Python @@ -50,7 +50,7 @@ translations, etc. .. note:: Remember that you need to have a class corresponding to the base form you selected in :ref:`pyside6-designer`, a ``QWidget``, or ``QDialog``, or ``QMainWindow``, etc, in order for ``setupUi`` to work. Check - :ref:`using_ui_files` for more information. + :ref:`tutorial_uifiles` for more information. .. warning:: Do not modify the content of the generated Python file from your ``.ui`` file, otherwise everything will be lost when you re-generate it. diff --git a/sources/pyside6/doc/tutorials/basictutorial/translations.rst b/sources/pyside6/doc/tutorials/basictutorial/translations.rst index ae675e1ee..803964c23 100644 --- a/sources/pyside6/doc/tutorials/basictutorial/translations.rst +++ b/sources/pyside6/doc/tutorials/basictutorial/translations.rst @@ -79,7 +79,7 @@ the files are converted to a binary form (``.qm`` files): To avoid having to ship the ``.qm`` files, it is recommend to put them into a Qt resource file along with icons and other -applications resources (see :ref:`using_qrc_files`). +applications resources (see :ref:`tutorial_qrcfiles`). The resource file ``linguist.qrc`` provides the ``example_de.qm`` under ``:/translations``: |
