Details
-
Task
-
Resolution: Unresolved
-
P2: Important
-
None
Description
So far, Q_GADGETs are quite restricted in their interactions with QML. You can only use them as properties and JavaScript variables, and they have to be created in C++ functions. There are tremendous benefits in using Q_GADGETs rather than full blown QObjects for simple types. We should make it possible.
Attachments
Issue Links
- depends on
-
QTBUG-72223 Make it possible to declare Q_GADGET instances in QML
- Open
-
QTBUG-73399 Make it possible to use containered Q_GADGETS in QML
- Closed
-
QTBUG-56484 Definition of gadgets in QML
- Open
-
QTBUG-54983 Create Q_GADGET objects in QML
- Closed
-
QTBUG-81593 Add support for registering value type to QML engine
- Closed
- is required for
-
QTBUG-72164 Deprecate grouped properties
- Closed
- relates to
-
QTBUG-54321 Is it really impossible to pass a Q_GADGET by pointer to QML?
- Reported
-
QTBUG-77635 Improve color handling in QML
- Open
-
QTBUG-76975 Allow non-binding declarative property assignment in QML
- Open
-
QTBUG-82766 Uncontrolled aliasing of data via grouped properties and aliases
- Open
Gerrit Reviews
For Gerrit Dashboard: QTBUG-79330 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
307023,6 | WIP Add Q_GADGET and property declarations to event classes | dev | qt/qtbase | Status: DEFERRED | -2 | 0 |