i can able to generate a slider using qwt.
But i need to change the width and height of handle and slider in qwt.
Is it possible ?? i have attached an snapshot of this...i need same as in snapshot.
Untitled.png
i can able to generate a slider using qwt.
But i need to change the width and height of handle and slider in qwt.
Is it possible ?? i have attached an snapshot of this...i need same as in snapshot.
Untitled.png
QwtSclider::drawSlider draws all parts without the scale and the handle, QwtSlider::drawHandle draws the handle. Both of the are virtual and can be overloaded.
( note that the geometry of the slider is affected by the contents margins ).
Uwe
Navi (24th June 2015)
when i give this code
QPixmap b ("C:/Users/Desktop/image.png");
QRect rect(12,15,16,17);
QPainter painter(&b);
mySlider->drawSlider(b,rect);
i got an error.
cannot convert parameter 1 from 'QPixmap' to 'QPainter *
whats wrong
Bookmarks