Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Window : Don't take focus

Window : Don't take focus

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 535 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.
  • A Offline
    A Offline
    alecs26
    wrote on last edited by
    #1

    Hello,

    I have a main ApplicationWindow in QML. It is an information bar. I don't want this bar to be able to take focus.

    For instance, if the user is typing something in Chrome or whatever, if he clicks on the QML bar, the focus from his application (ex. Chrome) will be lost. He will have to click back on his application to regain focus.

    Here are two options:

    1. My QML window would just not take focus when clicked.
    2. If my QML window takes focus, I would be able to give the focus back to the previous application that had the focus.

    Thank you so much,

    Alex

    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