aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/doc/api.rst
diff options
context:
space:
mode:
authorCristián Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>2021-11-09 14:32:43 +0100
committerCristián Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>2021-11-10 09:52:50 +0100
commitc61a2358170b633ce590103108719ac3f6f153a2 (patch)
tree822b122ab1c85543bd2756fedec982a50fc48feb /sources/pyside6/doc/api.rst
parent132d425a105749455e174563ec6b7123961c5076 (diff)
doc: replace api module table with panels
This fix the warnings introduced by a previous change. Pick-to: 6.2 Change-Id: Ie25db8f8e466103487cda9ca4032bd75fab69e7b Reviewed-by: Christian Tismer <tismer@stackless.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/pyside6/doc/api.rst')
-rw-r--r--sources/pyside6/doc/api.rst74
1 files changed, 52 insertions, 22 deletions
diff --git a/sources/pyside6/doc/api.rst b/sources/pyside6/doc/api.rst
index f2eaf1f11..eac37a16c 100644
--- a/sources/pyside6/doc/api.rst
+++ b/sources/pyside6/doc/api.rst
@@ -8,18 +8,33 @@ Basic modules
These are the main modules that help you build a Widget-based UI.
-+---------------------------------------+--------------------------------------------------------+
-| :mod:`QtCore <PySide6.QtCore>` | Provides core non-GUI functionality, like signal and |
-| | slots, properties, base classes of item models, |
-| | serialization, and more. |
-+---------------------------------------+--------------------------------------------------------+
-| :mod:`QtGui <PySide6.QtGui>` | Extends QtCore with GUI functionality: Events, windows |
-| | and screens, OpenGL and raster-based 2D painting, as |
-| | well as images. |
-+---------------------------------------+--------------------------------------------------------+
-| :mod:`QtWidgets <PySide6.QtWidgets>` | Provides ready to use Widgets for your application, |
-| | including graphical elements for your UI. |
-+---------------------------------------+--------------------------------------------------------+
+.. panels::
+ :container: container-lg pb-3
+ :column: col-lg-4 col-md-4 col-sm-6 col-xs-12 p-2
+
+ :mod:`QtCore <PySide6.QtCore>`
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+ Provides core non-GUI functionality, like signal and
+ slots, properties, base classes of item models,
+ serialization, and more.
+
+ ---
+
+ :mod:`QtGui <PySide6.QtGui>`
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+ Extends QtCore with GUI functionality: Events, windows
+ and screens, OpenGL and raster-based 2D painting, as
+ well as images.
+
+ ---
+
+ :mod:`QtWidgets <PySide6.QtWidgets>`
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+ Provides ready to use Widgets for your application,
+ including graphical elements for your UI.
QML and Qt Quick
----------------
@@ -27,16 +42,31 @@ QML and Qt Quick
Use these modules to interact with the `QML Language <https://doc.qt.io/qt-5.qmlapplications>`_,
from Python.
-+-------------------------------------------------+----------------------------------------------+
-| :mod:`QtQml <PySide6.QtQml>` | The base Python API to interact with the |
-| | module. |
-+-------------------------------------------------+----------------------------------------------+
-| :mod:`QtQuick <PySide6.QtQuick>` | Provides classes to embed Qt Quick in Qt |
-| | applications. |
-+-------------------------------------------------+----------------------------------------------+
-| :mod:`QtQuickWidgets <PySide6.QtQuickWidgets>` | Provides the QQuickWidget class to embed Qt |
-| | Quick in widget-based applications. |
-+-------------------------------------------------+----------------------------------------------+
+.. panels::
+ :container: container-lg pb-3
+ :column: col-lg-4 col-md-4 col-sm-6 col-xs-12 p-2
+
+ :mod:`QtQml <PySide6.QtQml>`
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+ The base Python API to interact with the
+ module.
+
+ ---
+
+ :mod:`QtQuick <PySide6.QtQuick>`
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+ Provides classes to embed Qt Quick in Qt
+ applications.
+
+ ---
+
+ :mod:`QtQuickWidgets <PySide6.QtQuickWidgets>`
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+ Provides the QQuickWidget class to embed Qt
+ Quick in widget-based applications.
All the modules
---------------