Maximus2
25th November 2013, 04:03
Hi guys,
Here is my current QwtDial (https://www.dropbox.com/s/h24ybi89ykqm8m3/or1.png)
Here is what I would like (https://www.dropbox.com/s/eh5p2orodyianb8/or2.png) (forgive my painting skills)
I can put one color that fit the circle totally but I'm failing at using multiple color at the same time.
QPalette palette;
palette.setColor( QPalette::WindowText, QColor(89, 130, 67) ); //GREEN 90-270
palette.setColor( QPalette::WindowText, QColor(35, 53, 216) ); //BLUE 0-90
palette.setColor( QPalette::WindowText, QColor(168, 18, 18) ); //RED 270-360
I'm using the DialBox example modified for my need found in the qwt/examples
Thanks if you can give a hand to a Qwt newbie!
Here is my current QwtDial (https://www.dropbox.com/s/h24ybi89ykqm8m3/or1.png)
Here is what I would like (https://www.dropbox.com/s/eh5p2orodyianb8/or2.png) (forgive my painting skills)
I can put one color that fit the circle totally but I'm failing at using multiple color at the same time.
QPalette palette;
palette.setColor( QPalette::WindowText, QColor(89, 130, 67) ); //GREEN 90-270
palette.setColor( QPalette::WindowText, QColor(35, 53, 216) ); //BLUE 0-90
palette.setColor( QPalette::WindowText, QColor(168, 18, 18) ); //RED 270-360
I'm using the DialBox example modified for my need found in the qwt/examples
Thanks if you can give a hand to a Qwt newbie!