[Qt-interest] QGraphicsScene and multitouch events

Abhishek abhishekworld at gmail.com
Tue Jan 4 07:00:42 CET 2011


I think you should look at QGraphicsProxyWdiget that makes more sense in
your case http://doc.qt.nokia.com/4.7-snapshot/qgraphicsproxywidget.html

<http://doc.qt.nokia.com/4.7-snapshot/qgraphicsproxywidget.html>

>
>    1. 	QGraphicsView <http://doc.qt.nokia.com/latest/qgraphicsview.html> view(&scene);
>    2.
>    3.         QWidget <http://doc.qt.nokia.com/latest/qwidget.html>* widget=new QWidget <http://doc.qt.nokia.com/latest/qwidget.html>;
>    4.
>    5.      scene.addWidget(widget);
>    6.
>    7.      view.setDragMode(QGraphicsView <http://doc.qt.nokia.com/latest/qgraphicsview.html>::ScrollHandDrag);
>    8.
>    9.
>
>


-- 
Abhishek Patil
http://thezeroth.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110104/17211bc7/attachment.html 


More information about the Qt-interest-old mailing list