Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. qgesturerecogni
    Log in to post

    • SOLVED Custom gestures - are there any examples out there?
      General and Desktop • qgesturerecogni • • Red Baron  

      2
      1
      Votes
      2
      Posts
      1739
      Views

      facepalm I missed to overriding of the event(QEvent *event) inside my special label AND I also missed to subscribe the label to the gesture that is I had to add grabGesture(fftType) in the label's constructor. Now I can capture data and evaluate it in a state-wise fashion (for example storing event.pos() in a list and then going through that list to see if a gesture might have been caught or not).
    • Nueva Ayuda con QGestureRecognizer
      Spanish • qtcreator qt5.4 qgesturerecogni • • Karen Zurutuza  

      3
      0
      Votes
      3
      Posts
      1013
      Views

      @juanki Gracias!
    • Problem creating a new custom gesture
      General and Desktop • qtcreator qt5.4 gesture qgesturerecogni • • Karen Zurutuza  

      10
      0
      Votes
      10
      Posts
      3276
      Views

      Can you show your class and its implementation ?