Results 1 to 5 of 5

Thread: detecting "open" windows?

  1. #1
    Join Date
    Mar 2006
    Posts
    172
    Thanks
    30
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Lightbulb detecting "open" windows?

    Is it possible for a non-gui Qt app running in the background in X11 and give me onscreen alerts, as and when a new window is launched, irrespective of the underlying window manager?

    Thanks

    Nupul

  2. #2
    Join Date
    Feb 2006
    Location
    Boulder, Colorado, USA
    Posts
    63
    Thanked 8 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: detecting "open" windows?

    There has to be some program that is a gui. You can use dbus / dcop to talk to programs (perhaps some or all window managers have some notification framework you can access) that can display your message or you can use qprocess to talk to a gui program or you can make your program a gui one. You can even manually call some limited subset of gui related classes like xlib or something and bypass qt's gui classes.

  3. #3
    Join Date
    Mar 2006
    Posts
    172
    Thanks
    30
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Question Re: detecting "open" windows?

    Quote Originally Posted by jrideout

    (perhaps some or all window managers have some notification framework you can access)

    Can you give me an example?

    Thanks

  4. #4
    Join Date
    Jul 2008
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: detecting "open" windows?

    Hi Nupul,
    Were you able to solve the problem to get alert for new windows? I am looking for a solution to the same problem. Any leads would be helpful.
    Regards

  5. #5
    Join Date
    Jul 2008
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: detecting "open" windows?

    Adding email notification for myself

Similar Threads

  1. Qt Jambi, deploying app on Mac & Windows fails
    By ChrisColon in forum Installation and Deployment
    Replies: 2
    Last Post: 16th February 2009, 22:05
  2. Replies: 5
    Last Post: 15th January 2009, 09:03
  3. Opening text file fails after autostartup on windows
    By yogourta in forum Qt Programming
    Replies: 2
    Last Post: 18th October 2008, 03:52
  4. converting unix exe to windows binary
    By deekayt in forum General Programming
    Replies: 2
    Last Post: 17th September 2006, 01:00
  5. Qt and windows vista
    By munna in forum General Discussion
    Replies: 8
    Last Post: 11th January 2006, 22:33

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.