Problem of focus in QDialog on Android platform...
-
Hi, friends!
I’m making applications for Android.I created fullscreen Widget (based on QWidget), on it when you mouse (event mousePressEvent), a dialog box (form QDialog).
The form is displayed, but it is not the focus ... Dialogue called by method “exec”, then the window should be the only active (modal), but it is not so.
For the work with this window (pressing Buttons or putting into to TextEdits) you should click on it. It is not convenient, because it is necessary to click on it twice...If you wanted to press the "Cancel" button, it did not work, but it will work by double click...
The problem occurs only on a mobile platform, it works well on the PC...
Maybe there is some way to give focus to a window or make it appearing in focus?