PDA

View Full Version : detect which layer of the screen an application is on



solartic
21st July 2009, 21:02
Im building a sidebar bar app that shows content of selected folder/s and has note jotting features. That shows when the the mouse is moved to the left(for now) edge of the screen.

I want it to show fully when its defined screen area is free and partially when its not.
e.g if u have a web browser maximised, u might now what it to cover ur browser everytime you mover or mouse to the edge.

I am thinking about using a transparent thin dialog which is set to stay at the bottom of screen, as a sensor that would sent a signal on a mouse event.

is there a better what of doing something like this?

aamer4yu
22nd July 2009, 05:24
I dont think thats possible with Qt. The windows are managed by the underlying OS Windows manager.
With Qt you can control the windows in your application.

solartic
22nd July 2009, 17:05
ahh thought as much, well thanks for the input