Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Game Development
  4. How can I detect when user swipping Qapplication to minimizing?

How can I detect when user swipping Qapplication to minimizing?

Scheduled Pinned Locked Moved Game Development
2 Posts 2 Posters 2.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Tratstil
    wrote on last edited by
    #1

    Hello All.
    I have got this feedback for a game for qt harmattan api on Nokia N9:

    "The application should not close when minimizing the application to recents by swiping: Left-Right, Right-Left, Down-Top. For Portrait applications, swiping from Top-Down should close the application and it should not appear in recents. For Landscape applications, swiping the device from Top-Down while holding the device in Landscape should close the application and it should not appear in recents."

    but it seem that the QApplication doesn't receive events when user swiping application to minimizing. I also try to use gesture but it can't receive swiping events too. So how can I get swipping events and how can I detect user swipping Left-right or top-down?

    Please help, thanks.
    p/s sorry if you can't understand, My english is very bad :)

    1 Reply Last reply
    0
    • L Offline
      L Offline
      lgeyer
      wrote on last edited by
      #2

      Do you receive a "QWindowStateChangeEvent":http://doc.qt.nokia.com/latest/qwindowstatechangeevent.html?

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved