Important: Please read the Qt Code of Conduct -

Other window - don't lose activate / focus

  • Hi,

    I have a main window with my app and I would like to have a small Frameless Window - QPushButton ( don't has parent ). When I clicked on this button I don't want to lose active / focus in my main Window. Is any flag which I should use? I tried


    but It doesn't work.

  • you could explicitly refocus to the main window as part of your button handler?

Log in to reply