As explained here [stackoverflow.com], creating user defined basic types is not currently supported, but can be done through private parts of Qt Quick.
I feel this is a limitation as I want to be able to define my own intuitive basic type that acts as a single construct, while still having different properties (like the Qt.vector3d with x, y and z). My issue with defining object-type properties is that its properties act separately (different signals, bindings, etc.). It also adds a level of indirection, which makes it a hassle to store the data in the property-holding class (instead of in the object of the property itself).
Will the API for creating user defined basic types be made public anytime soon?
In the meantime, can I go ahead and use the private API, or are there major changes planned?
↧