-
Suggestion
-
Resolution: Fixed
-
P2: Important
-
None
-
None
-
None
-
01095592c (dev), 5e195cc06 (dev), d4d55b7ef (dev)
-
Foundation Sprint 136
A very convenient way to link C++ and Qt are QObject properties and we should recreate that in Rust.
In C++ a very flexible API is provided.
Q_PROPERTY(type name (READ getFunction [WRITE setFunction] | MEMBER memberName [(READ getFunction | WRITE setFunction)]) [RESET resetFunction] [NOTIFY notifySignal] [REVISION int | REVISION(int[, int])] [DESIGNABLE bool] [SCRIPTABLE bool] [STORED bool] [USER bool] [BINDABLE bindableProperty] [CONSTANT] [FINAL] [REQUIRED])
Implement the basic keywords that are required for Rust to expose properties to QML.
That will be at least READ, WRITE, MEMBER, NOTIFY and CONSTANT.
- is required for
-
QTBUG-134769 As a dev, I need a simple way to add a Qt Quick UI to my Rust code
-
- Open
-
- resulted in
-
QTBUG-140042 Qt Quick for Rust: Complex types for properties, slots and signals
-
- Open
-
-
QTBUG-140031 QtQuick for Rust: Check the parameters of the property macro for completeness
-
- Open
-
For Gerrit Dashboard: QTBUG-139087 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
671418,3 | Rust: refactor generation of code for qproperty | dev | qt/tqtc-qtbridges | Status: MERGED | +2 | 0 |
671419,3 | Rust: fix bug in code leading to generation of write callback for constant property | dev | qt/tqtc-qtbridges | Status: MERGED | +2 | 0 |
671458,2 | Rust: more refactoring and simplification in qproperty-related code | dev | qt/tqtc-qtbridges | Status: MERGED | +2 | 0 |