Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How can I detect when user swipping Qapplication to minimizing?
Tratstil last edited by
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 :)
lgeyer last edited by
Do you receive a "QWindowStateChangeEvent":http://doc.qt.nokia.com/latest/qwindowstatechangeevent.html?