vfernandez
30th October 2006, 13:19
I have a configuration dialog more or less similar to the example in Qt (I'm using Qt 4.2.1). I'd like to add special effects to it and one of the ideas I've though of is scrolling between the different group of options when one of them is selected instead of simply switching to it. It would be something like this GIF:
http://www.polinux.upv.es/mozilla/varios/imagenes-otros/widget-scroll.gif
I could create a custom widget and use a QTimer but I've no idea how could I paint the widgets over the custom widget in an exact place to make the effect. I've also though of using QScrollArea/QScrollWidget but they don't provide any way to scroll to an exact pixel. Any ideas?
http://www.polinux.upv.es/mozilla/varios/imagenes-otros/widget-scroll.gif
I could create a custom widget and use a QTimer but I've no idea how could I paint the widgets over the custom widget in an exact place to make the effect. I've also though of using QScrollArea/QScrollWidget but they don't provide any way to scroll to an exact pixel. Any ideas?