Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Window : Don't take focus
alecs26 last edited by
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:
- My QML window would just not take focus when clicked.
- 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,