Display two needles in a single QwtDial
Hi!
This question has been brought up earlier on, but it has not been properly answered. How do I display two needles in a single QwtDial? Can anybody help me with this?
The only properties I am interested in is to be able to change the color and value of the two needles.
I made the QwtDial in Qt Designer, and this is how I make the single needle in QwtDial:
Code:
MainEngineRight->setRange(-1.0,1.,0.01);
MainEngineRight->setNeedle(needle);
Best regards
Re: Display two needles in a single QwtDial
Why are you posting it again and again? If somebody knows, then they had already posted the answer.
Added after 10 minutes:
See the dials example in qwt
Re: Display two needles in a single QwtDial
Quote:
Originally Posted by
abraxas
How do I display two needles in a single QwtDial?
QwtAnalogClock is a QwtDial with 3 needles - check its implementation.
Uwe
Re: Display two needles in a single QwtDial
sonulohani: I did not create the original post, and that post is several years old. I could of course have brought the old topic back alive.
Uwe: Thanks for the tip. I will check the implementation.