Results 1 to 8 of 8

Thread: how to get the status of an application called from another app.

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: how to get the status of an application called from another app.

    Qt has no classes that influence other applications directly. I think the easiest way to do what you want is to rebuild this other application with dbus or shared memory facilities that will inform its environment that the state of the application has just changed. You will have to code both sides of this mechanism though. An alternative is to use XEmbed to embed the window of the ebook reader into your application (then you will know when it is minimized or maximized) or to hook into X11 event system and intercept appropriate messages sent by the window manager to the application in question.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  2. The following user says thank you to wysota for this useful post:

    jthacker (17th March 2010)

Similar Threads

  1. Status Bar Empty
    By waynew in forum Newbie
    Replies: 5
    Last Post: 22nd November 2009, 13:01
  2. Status Bar
    By waynew in forum Newbie
    Replies: 3
    Last Post: 21st November 2009, 09:07
  3. Why Qt is called Qt?
    By nifei in forum Qt Programming
    Replies: 1
    Last Post: 10th October 2009, 07:40
  4. Status Bar in a SUB WINDOW.
    By Cutey in forum Qt Programming
    Replies: 3
    Last Post: 23rd July 2008, 07:42
  5. need help with the status bar
    By filmfreak in forum Qt Programming
    Replies: 2
    Last Post: 15th February 2006, 08:34

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
  •  
Qt is a trademark of The Qt Company.