aboutsummaryrefslogtreecommitdiffstats
path: root/examples/widgetbinding/wigglywidget.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Port the Qt bindings examples to the <QtModule/QtClass> conventionFriedemann Kleint2021-02-241-3/+3
| | | | | | | | | | This simplifies the shiboken call; the global Qt include directory can be passed instead of each single QtCore/QtGui/QtWidgets directory. Change-Id: I55a59ad12b0a9596a2c8d9dc7f0b9c041c38665c Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> (cherry picked from commit cfe6ac20a7aaac8c4689c3e22f839e6d95886944) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Add custom widget shiboken exampleCristian Maureira-Fredes2020-06-191-0/+111
This example is based on the WigglyWidget Qt/C++ example, and shows two ways of using a Custom Widget: * A full translation to Python, wigglywidget.py * Exposing the widget via Shiboken. The main.py file includes both scenarios and display them. Task-number: PYSIDE-841 Change-Id: I53c6db540aae2d5672a96bcf8f0e4a3e06b7ce9e Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>