[Qt-interest] How can I make a Page Turning by mouse drag?

Chandru... sekarwagmare at gmail.com
Fri Jun 19 08:20:08 CEST 2009


for initial this example will be very useful ...
/examples/widgets/shapedclock ..

On Fri, Jun 19, 2009 at 11:35 AM, Kermit Mei <kermit.mei at gmail.com> wrote:

> Hello, I want to create a stackedWidget, if I press the mouse on it, and
> drag for a given distance, then the stackedWidget will change it current
> widget.
>
> Then how can I implement it?
> In
> void QWidget::mouseMoveEvent ( QMouseEvent * event );
> I don't know how to get the distance that I moved by mouse.
>
> Thanks.
>
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>



-- 
WAGMARE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090619/5970d184/attachment.html 


More information about the Qt-interest-old mailing list