I would like to make a panel-like application using PyQt4 for Linux. for this I need the window that I created:
- to be unecorated
- reserved space
- appears on all workspaces
From reading the documentation , I got the idea that I should use QtWindowFlags. But I do not know how to do this. I also think that Qt.WindowType should be a hint, telling the dock application somewhere in the WM window. I did this with pygtk after this thread , but here with Qt I really don't know how to handle this. (I need Qt for its ability to apply theme / skin more easily.)
Below is the current code I made (nothing unusual).
import sys from PyQt4 import QtGui class Panel(QtGui.QWidget): def __init__(self, parent=None):
Can anyone help me with this? Thanks:)
Benjamin
source share