Other window - don't lose activate / focus
Unsolved
General and Desktop
-
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
button->setFocusPolicy(Qt::FocusPolicy::NoFocus);
but It doesn't work.
-
you could explicitly refocus to the main window as part of your button handler?