aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quickcontrols2
Commit message (Collapse)AuthorAgeFilesLines
* doc: use 'doc' directory for examples galleryCristian Maureira-Fredes2021-03-171-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The initial patch that generates a gallery based on the examples in the respository, was limited to only showing the content of the files in each '.pyproject' file. That approach didn't allow to describe each example, nor add complementary images, like screenshots to each example page. This patch introduces the option to consider everything inside a 'doc/' directory on the example directory. The files that are copied over are not directory, but only files, for images to be the main focus. For example, currently the Tetrix case contained the following files: $ ls examples/widgets/tetrix/ tetrix.py tetrix.pyproject On this patch you can see that now there is a doc directory with the following content: $ ls examples/widgets/tetrix/doc tetrix-screenshot.png tetrix.rst The example page that will be generated for this case will contain the content of the 'doc/tetrix.rst' file, plus the content of all the project files at the end. The 'doc/tetrix.rst' file contains a reference to the 'tetrix-screenshot.png' image, so that file will be copied over too. Task-number: PYSIDE-1112 Pick-to: 6.0 Change-Id: I2d11833c461d8073d2d2888576d876d3f834103a Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* PySide6: Add the logo as a resource to libpysideFriedemann Kleint2021-02-101-1/+5
| | | | | | | | Use it in prominent examples. Pick-to: 6.0 Change-Id: Ifee67802194931bbd56fbe6e6bfa4f3c18fda781 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* example: add qtquickcontrols2 galleryCristian Maureira-Fredes2021-02-1064-0/+11059
This example was ported from the qt/qtquickcontrols2 repository. Task-number: PYSIDE-1112 Pick-to: 6.0 Change-Id: Idd6ad0d0cdf5c7dfaf6d8f3af878607c273aebd8 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>