[Interest] Qt for digital tabletop applications
Rutledge Shawn
Shawn.Rutledge at digia.com
Wed Sep 18 14:18:34 CEST 2013
On 18 Sep 2013, at 1:21 PM, Andrea Franceschini wrote:
> 2013/9/18 Rutledge Shawn <Shawn.Rutledge at digia.com>:
>
>> Qt Quick is intended as the replacement for QGraphicsView, so QGV is not getting much development/bug-fixing attention, and the gesture framework has some issues.
>
> What kind of issues are we talking about, exactly? I don't need
> incredibly fancy interactions, I'd just need pinch for zooming in and
> out the canvas, two-finger drags,
PinchArea handles pinch. MouseArea can handle drags, but only with a single finger. qtdeclarative/examples/quick/demos/photosurface demonstrates those interactions together; in order for it to work you must put the MouseArea inside the PinchArea. Well, I used PinchArea to zoom each item, but if you want to zoom the whole screen I guess you only need one. Likewise if you want to pan an area with multiple items you can use Flickable, which is also for single-finger flicking.
Arbitrary multi-finger interactions are possible with MultiPointTouchArea but it's a little more complex to use.
> taps, tap-and-holds,
MouseArea is fine.
About the old gesture framework, there are some bugs reported, but I don't have as much experience with it so can't say for sure which problems you will currently have.
> and maybe some
> custom thing to recognize a path when this is drawn inside a
> particular widget. In short, something like this
> http://www.youtube.com/watch?v=nSIXxZkOnR8 which is what I have done
> so far with Cinder.
That looks like fun. It should be doable, but as you say drawing and recognizing a path will have to be some custom work I think. IMO path drawing is basic enough that we ought to have it in QtQuick some day - no promises of course. ;-)
More information about the Interest
mailing list