Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Problem of focus in QDialog on Android platform...
Forum Update on Monday, May 27th 2025

Problem of focus in QDialog on Android platform...

Scheduled Pinned Locked Moved Mobile and Embedded
focuswidgetandroiddialog
1 Posts 1 Posters 1.2k Views
  • 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.
  • B Offline
    B Offline
    baat
    wrote on 1 May 2015, 17:08 last edited by baat 5 Jan 2015, 20:25
    #1

    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?

    link to source code

    1 Reply Last reply
    0

    1/1

    1 May 2015, 17:08

    • Login

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