keyga
21st April 2013, 14:38
Hi everyone,
I'm wondering how I can define a new QML element that need some "treatments" to be constructed.
For example I want draw a compass, so it's not a basic Rectangle.. Obviously, I'm not going to define each line manually, I need kind of a loop which deals with an incremented angle value and so on...
What would be the syntax ? Thank you for your help :) I just begin QML language so I have none experience...
http://www.fondation-lamap.org/sites/default/files/upload/media/ressources/activites/11349/1040_seq4sea8_3.gif
Bye ;)
I'm wondering how I can define a new QML element that need some "treatments" to be constructed.
For example I want draw a compass, so it's not a basic Rectangle.. Obviously, I'm not going to define each line manually, I need kind of a loop which deals with an incremented angle value and so on...
What would be the syntax ? Thank you for your help :) I just begin QML language so I have none experience...
http://www.fondation-lamap.org/sites/default/files/upload/media/ressources/activites/11349/1040_seq4sea8_3.gif
Bye ;)