diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-10-26 14:48:56 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-11-05 12:38:41 +0100 |
| commit | 5038cead9cb75cbe918232678f8788b345cf972e (patch) | |
| tree | 37309c416f7ad1aaf4c0737379c89e46b5f2b03d /examples/quick3d/proceduraltexture/gradienttexture.py | |
| parent | e70a4645e9f3a734a6fdf64b8fbb84f76a687d49 (diff) | |
Introduce a callback functor for QML singleton creation
Add a functor class with shared data that keeps a reference to an object.
Preparing for handling a static create() function as a singleton
creation callback, this allows for clean separation of the
object to keep the reference and the object to be called
and provides a way of cleaning up. The cleanup cannot be currently
activated since QML registration data are kept in global variables.
Task-number: PYSIDE-2432
Pick-to: 6.6
Change-Id: Id57811316e8803638ac3148fdad18a854be99cca
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'examples/quick3d/proceduraltexture/gradienttexture.py')
0 files changed, 0 insertions, 0 deletions
