diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-04-28 13:41:59 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-04-29 17:36:55 +0000 |
commit | 9d5da5847d370dc22f85fbec52e11e66b407cb15 (patch) | |
tree | fcd3f339c1ef252b148ce7c9109cf394fd6ccde9 | |
parent | eba9604a9c6e3a8ecf7ba9ac19ac5556c9f28150 (diff) |
Documention: Wrap some long XML snippets
Change-Id: I8df5d8c2cceeb62e45e8942879a5aad9fff7389c
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit a148b6653e4f080226ecb603b468d72368e71c89)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | sources/shiboken6/doc/typesystem_manipulating_objects.rst | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sources/shiboken6/doc/typesystem_manipulating_objects.rst b/sources/shiboken6/doc/typesystem_manipulating_objects.rst index 653de7718..cf6d8555c 100644 --- a/sources/shiboken6/doc/typesystem_manipulating_objects.rst +++ b/sources/shiboken6/doc/typesystem_manipulating_objects.rst @@ -269,7 +269,10 @@ add-function .. code-block:: xml <object-type> - <add-function signature="..." return-type="..." access="public | protected" static="yes | no" classmethod="yes | no" since="..."/> + <add-function signature="..." return-type="..." + access="public | protected" + static="yes | no" classmethod="yes | no" + since="..."/> </object-type> The ``return-type`` attribute defaults to *void*, the ``access`` to *public* and the ``static`` one to *no*. @@ -401,7 +404,8 @@ property .. code-block:: xml <object-type name="QMainWindow"> - <property name="centralWidget" type="QWidget *" get="centralWidget" set="setCentralWidget"/> + <property name="centralWidget" type="QWidget *" + get="centralWidget" set="setCentralWidget"/> in addition to the normal properties of ``QMainWindow`` defined for Qt Designer usage. |