diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-03-25 08:13:59 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-03-25 09:46:41 +0100 |
commit | 3cba117184c6fa7965c09baeba27868a86ef63cd (patch) | |
tree | cb9914dc68b9af2268a923d81e97737357a8ab9a /sources/pyside6/doc | |
parent | c828416efc0b88747cab85d941a149d91487466f (diff) |
Documentation: Link the Qt Widgets Designer custom widget examples
As a drive-by, fix the headlines and remove a dead link.
Pick-to: 6.7 6.6
Change-Id: Ifb92c0ac7e02e04f3cffe1cb0cc8ff82e8fd803e
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Diffstat (limited to 'sources/pyside6/doc')
-rw-r--r-- | sources/pyside6/doc/tools/pyside-designer.rst | 3 | ||||
-rw-r--r-- | sources/pyside6/doc/tutorials/basictutorial/uifiles.rst | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/sources/pyside6/doc/tools/pyside-designer.rst b/sources/pyside6/doc/tools/pyside-designer.rst index 6dc28ab89..05d7556b1 100644 --- a/sources/pyside6/doc/tools/pyside-designer.rst +++ b/sources/pyside6/doc/tools/pyside-designer.rst @@ -85,8 +85,7 @@ 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 `example's page`_. +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 -.. _`example's page`: https://doc.qt.io/qtforpython-6/examples/example_designer_taskmenuextension.html diff --git a/sources/pyside6/doc/tutorials/basictutorial/uifiles.rst b/sources/pyside6/doc/tutorials/basictutorial/uifiles.rst index c56593ee4..20c66496d 100644 --- a/sources/pyside6/doc/tutorials/basictutorial/uifiles.rst +++ b/sources/pyside6/doc/tutorials/basictutorial/uifiles.rst @@ -220,8 +220,8 @@ Qt for Python provides a simple interface for this which is similar to :meth:`registerCustomWidget()<PySide6.QtUiTools.QUiLoader.registerCustomWidget>`. The widget needs to be provided as a Python module, as shown by -the widgetbinding example (file ``wigglywidget.py``) or -the taskmenuextension example (file ``tictactoe.py``). +the :ref:`widgetbinding-example` (file ``wigglywidget.py``) or +the :ref:`task-menu-extension-example` (file ``tictactoe.py``). Registering this with Qt Designer is done by providing a registration script named ``register*.py`` and pointing |