But using
Qt::WindowFlags flags = windowFlags();
flags ^= Qt::WindowStaysOnTopHint;
setWindowFlags( flags );
show();
activateWindow();
Qt::WindowFlags flags = windowFlags();
flags ^= Qt::WindowStaysOnTopHint;
setWindowFlags( flags );
show();
activateWindow();
To copy to clipboard, switch view to plain text mode
the window remains on the top of all running applications. what if we just want it to be bound with my application and not other applications running.
When i press ALT + Tab the window whose flag was set remains on top of new application..this is not what is expected..
What can be done to avoid this behavior and retaining WindowStaysOnTopHint?
Bookmarks