Jump to content
garf

PyQt Window On Top (Linux - CentOS)

Recommended Posts

Has anyone come across this? I have a qt window which I have parented to the houdini session using

setParent(hou.qt.mainWindow(), QtCore.Qt.Window)

and it does as expected on Windows OS. i.e. it always stays on top of the houdini session whilst the Qt UI is open. On a Linux machine running CentOS 7, the window goes behind the Houdini session if you click elsewhere. I have "Keep floating windows on Top" checked on on both windows and Linux systems. I've also added 

setWindowFlags(QtCore.Qt.WindowStaysOnTopHint)

into the code to see if that would work but it doesn't. 

As I said, it works fine on Windows so I guess this is an OS thing. Anyone got any ways around this?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×