In pyqt4, I can use setWindowFlags(Qt.SplashScreen) so the window have no title bar.
And use setWindowFlags(Qt.WindowStaysOnTopHint) to make window always stays on top.
But what if I want them both? No title bar and stays on top at the same time.
Is there a way to achieve that...?
Whenever you want to apply multiple flags, you should use the
|operator, which is the binary or operator. This will allow multiple flags as @ekhumoro said, so a simple example would be: