diff options
| author | Cristián Maureira-Fredes <Cristian.Maureira-Fredes@qt.io> | 2021-07-07 10:47:13 +0200 |
|---|---|---|
| committer | Cristián Maureira-Fredes <cristian.maureira-fredes@qt.io> | 2021-09-09 15:47:06 +0200 |
| commit | db615e81615ee993cac69a3477351427d798e31e (patch) | |
| tree | 1f3974e29fe50e3ec6a7f98c6423256b4bbf6d84 /sources/pyside6/doc/tutorials/index.rst | |
| parent | 6dcbbcc08895e3565f95570842f666050aef61a1 (diff) | |
doc: improve tutorials and styling
- Creating screenshots for tutorials.
- Add gallery style for tutorials.
- Add corporate Icons to the frontpage.
- tools: Reduce example long names in the gallery.
- videos: new order using panels
- Add tutorial about "Why Qt for Python"
Change-Id: I3ba50f74998399a47b4a34c1de029f3b746aa1e2
Reviewed-by: Christian Tismer <tismer@stackless.com>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'sources/pyside6/doc/tutorials/index.rst')
| -rw-r--r-- | sources/pyside6/doc/tutorials/index.rst | 121 |
1 files changed, 119 insertions, 2 deletions
diff --git a/sources/pyside6/doc/tutorials/index.rst b/sources/pyside6/doc/tutorials/index.rst index ae02153e4..628ab1fc3 100644 --- a/sources/pyside6/doc/tutorials/index.rst +++ b/sources/pyside6/doc/tutorials/index.rst @@ -11,17 +11,60 @@ application is put together. Before you start ---------------- +Here you can find a couple of common questions and situations that will +clarify questions before you start programming. If you have not installed PySide yet, remember to check the `Quick Start <../quickstart.html>`_ section. +.. panels:: + :container: container-lg pb-1 + :column: col-lg-4 col-md-4 col-sm-6 col-xs-12 p-2 + + .. link-button:: pretutorial/whatisqt + :type: ref + :text: Qt, QML, Widgets... What is the difference? + :classes: btn-link btn-block stretched-link + --- + + .. link-button:: pretutorial/whichide + :type: ref + :text: Which IDEs are compatible with PySide? + :classes: btn-link btn-block stretched-link + --- + + .. link-button:: pretutorial/whatisshiboken + :type: ref + :text: Binding Generation: What is Shiboken? + :classes: btn-link btn-block stretched-link + --- + + .. link-button:: pretutorial/typesoffiles + :type: ref + :text: File Types in PySide + :classes: btn-link btn-block stretched-link + --- + + .. link-button:: pretutorial/distribution + :type: ref + :text: Distributing your application to other systems and platforms + :classes: btn-link btn-block stretched-link + + --- + + .. link-button:: pretutorial/whyqtforpython + :type: ref + :text: As a Qt/C++ developer, why should I consider Qt for Python? + :classes: btn-link btn-block stretched-link + .. toctree:: - :maxdepth: 1 + :hidden: pretutorial/whatisqt.rst pretutorial/whichide.rst pretutorial/whatisshiboken.rst pretutorial/typesoffiles.rst pretutorial/distribution.rst + pretutorial/whyqtforpython.rst Qt Widgets: Basic tutorials --------------------------- @@ -30,8 +73,81 @@ If you want to see the available widgets in action, you can check the `Qt Widget Gallery <https://doc.qt.io/qt-6/gallery.html>`_ to learn their names and how they look like. +.. panels:: + :container: container-lg pb-1 + :column: col-lg-4 col-md-4 col-sm-6 col-xs-12 p-2 + :img-top-cls: d-flex align-self-center + + :img-top: basictutorial/widgets.png + + .. link-button:: basictutorial/widgets + :type: ref + :text: Your First QtWidgets Application + :classes: btn-link btn-block stretched-link + --- + :img-top: basictutorial/clickablebutton.png + + .. link-button:: basictutorial/clickablebutton + :type: ref + :text: Using a Simple Button + :classes: btn-link btn-block stretched-link + --- + :img-top: basictutorial/dialog.png + + .. link-button:: basictutorial/dialog + :type: ref + :text: Creating a Dialog Application + :classes: btn-link btn-block stretched-link + --- + :img-top: basictutorial/tablewidget.png + + .. link-button:: basictutorial/tablewidget + :type: ref + :text: Displaying Data Using a Table Widget + :classes: btn-link btn-block stretched-link + + --- + :img-top: basictutorial/treewidget.png + + .. link-button:: basictutorial/treewidget + :type: ref + :text: Displaying Data Using a Tree Widget + :classes: btn-link btn-block stretched-link + + --- + :img-top: basictutorial/uifiles.png + + .. link-button:: basictutorial/uifiles + :type: ref + :text: Using .ui files from Designer or QtCreator with QUiLoader and pyside6-uic + :classes: btn-link btn-block stretched-link + + --- + :img-top: basictutorial/player-new.png + + .. link-button:: basictutorial/qrcfiles + :type: ref + :text: Using .qrc Files (pyside6-rcc) + :classes: btn-link btn-block stretched-link + + --- + :img-top: basictutorial/translations.png + + .. link-button:: basictutorial/translations + :type: ref + :text: Translating Applications + :classes: btn-link btn-block stretched-link + + --- + :img-top: basictutorial/widgetstyling-yes.png + + .. link-button:: basictutorial/widgetstyling + :type: ref + :text: Styling the Widgets Application + :classes: btn-link btn-block stretched-link + .. toctree:: - :maxdepth: 1 + :hidden: basictutorial/widgets.rst basictutorial/clickablebutton.rst @@ -44,6 +160,7 @@ names and how they look like. basictutorial/widgetstyling.rst + Quick/QML: Basic tutorials -------------------------- |
