[Qt-interest] [ Making a Widget scrollable ]

ashish raste rasteashish at gmail.com
Tue Jan 31 11:07:15 CET 2012


Hi all,

I am having a painting Widget in which we can draw with the mouse events,
similar to the Scribble application in the Examples of Qt.

Am trying to make the widget scrollable i.e when we finish painting on the
current page, we can kinetically scroll onto the next page and should also
be able to look at the previous page(s) when needed.

Have tried to subclass my widget from QWidget and QScrollArea so that I can
set those properties needed for scrolling, but in vain.

As the scribbleArea(widget to paint) doesn't have such kinetic scroll
properties, can anyone tell me how to implement it?

Thank you!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20120131/9fb89dc6/attachment.html 


More information about the Qt-interest-old mailing list