QLine and QML properties
-
Why
QLine
isn't available as a QML built-inline
type? There'sQPoint/point
,QSize/size
andQRect/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/QLineF
isn't available as QML type? If we are able to represent concept such asrect
with basic type, then it would be IMO logical to haveline
as 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.