Results 1 to 3 of 3

Thread: Control QT application window list

  1. #1
    Join Date
    Mar 2012
    Posts
    2
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Control QT application window list

    Hello
    I want to programm my QT app.
    1. The app adds a tray icon to the notification icon ( I have already managed that)
    2. I do not want the app to create an entry in the window list, since there is already an icon in the notification area.
    3. The program can not be quit, only minimized to the notification area.
    4. The user can quit the program completely by right click in menu of the notification icon.
    5. The user has the ability to open the program at startup in the notification area.
    6. The program has an interiour status and the tray icon can change according to the status.
    7. Left click on the icon minimizes or maximizes the program.
    Regards
    Last edited by Wiplash; 17th March 2012 at 10:25.

  2. #2
    Join Date
    Sep 2011
    Posts
    1,241
    Thanks
    3
    Thanked 127 Times in 126 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Control QT application window list

    2. I think it's not possible to specify that through Qt for win7/vista
    3. Look at closeevent http://qt-project.org/doc/qt-4.8/mai...-event-handler
    4. look at bottom here, http://doc.qt.nokia.com/4.7-snapshot...indow-cpp.html , from this http://doc.qt.nokia.com/4.7-snapshot...p-systray.html
    5. That is controlled from O/S.
    6. this http://doc.qt.nokia.com/4.7-snapshot...p-systray.html again.
    7. this http://doc.qt.nokia.com/4.7-snapshot...p-systray.html again. Probably.
    If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.

  3. #3
    Join Date
    Sep 2011
    Location
    Manchester
    Posts
    538
    Thanks
    3
    Thanked 106 Times in 103 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Control QT application window list

    2. If by "create an entry in the window list" you mean taskbar, then that's easy.
    After you create your app and tray icon, show icon but don't show the app.

    If you want app not to have icon on the taskbar event when it's open then it's still possible, just set Qt::SubWindow flag on that window.

Similar Threads

  1. Replies: 5
    Last Post: 12th August 2010, 22:51
  2. A QFrame into a Window control
    By kinju in forum Qt Programming
    Replies: 1
    Last Post: 2nd June 2010, 05:47
  3. How to control an external application?
    By lixo1 in forum Qt Programming
    Replies: 4
    Last Post: 25th September 2009, 21:29
  4. SDI app with list control
    By blaylockr in forum Newbie
    Replies: 1
    Last Post: 26th July 2008, 01:11
  5. how to control 32 com port through application
    By amit_pansuria in forum Qt Programming
    Replies: 1
    Last Post: 25th July 2007, 06:59

Tags for this Thread

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.