[Solved] Qwt Dial and needle
-
Is there anyone in this forum who has an exampel of qwt dial and move the needle to the bottom of the circle.-
It's default value seems to be in the center.Sorry for my English,
//ThomasI'm using AnalogWidgets insted in my prj
-
do you want something like "this example":http://doc.qt.nokia.com/4.7/declarative-ui-components-dialcontrol.html.
I know it's not in Qwt...
-
That's a good start but the only thing I need is to set the needle lower in the instrument.
-
have a look at this line in Dial.qml:
@angle: Math.min(Math.max(-130, root.value*2.6 - 130), 133)@
there is the magic. change the 130 to 180 and the needle is downwards.
-
I will have a look of that. Thank you
Thiis is out of the topic but
If i want to use a free widget in my project and i put it in my qt creator/designer.
The widgets shows and I can select them but should i put some path in the pro file just like with qwt or is it an easier way to do this.
Because the build of the project dosen't like the new widget and creates some errors.Thomas
-
It would be better if you start a new topic on this and please give us more information when you do so.
-
Ok
I started a new topic about this problem.
http://developer.qt.nokia.com/forums/viewthread/10343/