[Interest] Qt Widgets on Windows: set parent window, but NOT on top?
David M. Cotter
dave at kjams.com
Tue Nov 24 01:44:22 CET 2020
i have a main window with the menu bar
then a secondary, separate window.
since i want both windows to come to front when the user switches into it, and i also want the key shortcuts from the menubar to function in the second window, i set the parent of the 2nd window to the main window. doing so fixes both problems.
however, when i do that, the 2nd window is ALWAYS on top of the main window, which i do not want
the "always on top" flag of the 2nd window is NOT set.
how do i fix this?
More information about the Interest