How can I detect when user swipping Qapplication to minimizing?



  • 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 :)



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


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.