QLine and QML properties
-
Why
QLineisn't available as a QML built-inlinetype? There'sQPoint/point,QSize/sizeandQRect/rect. I have noticed that Qt framework itself uses these types moderately, so are we encouraged to use them? It's kinda important as it affects how APIs are glued together and what can be binded with what. -
Why
QLineisn't available as a QML built-inlinetype? There'sQPoint/point,QSize/sizeandQRect/rect. I have noticed that Qt framework itself uses these types moderately, so are we encouraged to use them? It's kinda important as it affects how APIs are glued together and what can be binded with what.@pokey
yes, they are perfectly fine basic types in an QML environment.
Also they are automatically converted. -
Do you know the reason why
QLine/QLineFisn't available as QML type? If we are able to represent concept such asrectwith basic type, then it would be IMO logical to havelineas well.@pokey said in QLine and QML properties:
Do you know the reason why QLine/QLineF isn't available as QML type?
Maybe it wasn't worth it just to bundle 2 points, i don't know.