suggestion for hand drag QProgressBar
Hello friends,
I need experts suggestion of how i can create a QProgressBar where i can click , drag and move the filling using mouse ..
more to say i can change the progressbar value using the mouse as i click and drag ...
i need peoples suggestion for the best way i can implement ..
Thanks in advance ..
Re: suggestion for hand drag QProgressBar
The easiest way is to just use QSlider, possibly with custom painting (or stylesheets). An alternative is to subclass QProgressBar and reimplement its mouse events to update the progress as the mouse position changes.
Re: suggestion for hand drag QProgressBar
Thanks !!
Right now im reimplementing the mouse events of QprogressBar .. yes im doing right !!