Force window to stay in background (like Conky)
I'm somewhat new to QT and this is my first post to this forum. I tried searching for an answer to my question but could not find it.
What I'm trying to do is make some kind of desktop widget that will always stay on the desktop and behind any other windows. Kind of like how the Conky system monitor does. Conky has the option to draw straight to the frame buffer or stay in it's own window. When it is in its own window, it always stays in the background, does not show up on the alt-tab list or any other window switchers and does not appear on the Unity bar on the left side. I would like my window to behave like that.
I have the widget built, and this is the last thing that needs to be done. If anyone knows how to do this and can help with this, I would greatly appreciate it.
I would start with setting the Qt:WindowStaysOnBottomHint window flag.
I'm not quite sure on how to hide it from the Unity bar, but usually a hidden parent window does the trick.
[quote author="Lukas Geyer" date="1352735892"]I would start with setting the Qt:WindowStaysOnBottomHint window flag.
I'm not quite sure on how to hide it from the Unity bar, but usually a hidden parent window does the trick.[/quote]
Well that did make the window stay in the background, Thanks! Now I just gotta figure out how to do the rest of the things.