PDA

View Full Version : imageflow widget



bittuthegr8
28th February 2011, 15:13
what is the best way to implement this

5999

http://finnrudolph.de/ImageFlow/Examples#Combination

ive figured out how to scale the images based on their position but not sure about how to implement the widget animation(maybe repaint the widget with a new frame using a QTimeLine)

i was thinking of a QGridLayout with the controls and the caption in the first and second rows
the widget has a large margin on the top so i get a blank space to do the drawings
the main drawing could be done by the paintEvent()

this seems like it will work but i don't think this is the best way to do it
i am hoping for a new frame every 50ms to get a smooth flow
also i don't want to use OpenGL

wysota
28th February 2011, 20:00
http://code.google.com/p/pictureflow/