I'm not sure if this is relevant, but the tap and hold gesture works with the mouse for me on multiple platforms, but I haven't tried other gestures.
Josh > Hello, guys. > > I just did a fresh pull from GIt, ran the example, and got .... nothing. > > Also, when I attempted the doubleclick event (after adding #include > <QMouseEvent> to the header file, it was missing) I got no response on a > doubleclick Action either. > > I did build the new qt5/qtbase/src/widgets/kernel/QWindowContainer, but > (of course) it is never instantiated by the current example. > > Shawn, may I open a bug on this example, and use it to track the > creation of code which works? I'll tentatively assign to myself, and try > to create > a version of the widget-based example which works with current 5.1-pre. > I'll post a BugID to the list, if that's OK > > If this is acceptable, and it turns out to be impossible to resolve by > changes in the example code (i.e., requiring changes to a Qt itself, > then I'll create a subsequent Bug/RFE as a follow-up to that one. > I accept that use of Gestures in Widget-based Applications is not widely > used; but (IMO) we should either declare it to be unsupported, OR create > the bug report -- even if it turns out to be a somewhat long-lived bug, > due to lack of a competent Developer. > > Shawn, is my Opinion valid? I'm aware of the plan to Close bugs on the > basis of "stale, no activity", but this would at least have (at worst) a > Closed Bug in the system for people to find. > > Mathias, if you can create a working version, feel free to attach to the > Bug which I create, or send me an email with a tarfile attached (this is > a "genuine" email address). > > > On 03/08/2013 06:30 AM, Matthias Fuchs wrote: >> Hi Rutledge, >> >> On 06.03.2013 13:49, Rutledge Shawn wrote: >>> On 5 Mar 2013, at 2:01 PM, Matthias Fuchs wrote: >>> >>>> Hi, >>>> >>>> im am playing around with the imagegestures example and noticed >>>> that I do not get any gesture events from a traditional mouse >>>> device. Is this how it should behave? Do gestures only work with >>>> touch or even multitouch input devices? >>>> >>>> Is the a simple way to make the above example work with a mouse? >>> I'm not getting that example to work with touch either; are you? >> Didn't try. >>> The gestures framework isn't being used or maintained much, AFAIK. >>> It's currently better to use Qt Quick for such things. There are a >>> couple of example photo gallery apps: >>> qtdeclarative/examples/quick/demos/photoviewer (which has interaction >>> kindof like this one, but gets photos from flickr) and >>> qtdeclarative/examples/quick/demos/photosurface, which I wrote, and >>> which does handle the mouse. I have a patch to make photoviewer >>> mouse-friendly too, but wasn't satisfied with the behavior yet. >>> https://codereview.qt-project.org/#change,44323 >>> >> Ok, this sounds that I have to force migration to Qt Quick :-) >> The problem is that the application is completely Qt widget based so far >> and I hoped to get some gesture support in it. Let's say to switch >> between tabs in a QTabDialog by wiping. >> >> But when I understood Gunnar Sletta's blog post about >> QWidget::createWindowContainer() correctly, Qt 5.1 will bring some way >> of mixing Qt Widget based application with Qt Quick. >> >> I will play with it a little. >> >> Thanks >> Matthias >> >> > > _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest