Results 1 to 3 of 3

Thread: detect which layer of the screen an application is on

  1. #1
    Join Date
    Jul 2009
    Posts
    5
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default detect which layer of the screen an application is on

    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?

  2. #2
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: detect which layer of the screen an application is on

    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.

  3. The following user says thank you to aamer4yu for this useful post:

    solartic (22nd July 2009)

  4. #3
    Join Date
    Jul 2009
    Posts
    5
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: detect which layer of the screen an application is on

    ahh thought as much, well thanks for the input

Similar Threads

  1. How to detect a running application
    By yogesh in forum Qt Programming
    Replies: 4
    Last Post: 20th February 2009, 10:22
  2. Replies: 7
    Last Post: 4th October 2008, 12:14
  3. Screen Resolution stting takes effect on application !
    By santhoshv84 in forum Qt Programming
    Replies: 1
    Last Post: 30th August 2008, 13:06
  4. Replies: 3
    Last Post: 8th December 2006, 18:51
  5. Starting application in full screen
    By safknw in forum Qt Programming
    Replies: 3
    Last Post: 12th May 2006, 18:02

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.