Results 1 to 16 of 16

Thread: Problem using System Tray Icon....

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Aug 2010
    Posts
    107
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    1

    Cool Problem using System Tray Icon....

    Hi i am trying to make a System Tray Icon to be shown everytime i minimize my application......
    Qt Code:
    1. if (isMinimized()) {
    2. trayIcon->show();
    3. enum MessageIcon { NoIcon, Information, Warning, Critical };
    4. QSystemTrayIcon::MessageIcon icon = QSystemTrayIcon::MessageIcon(Information);
    5. trayIcon->showMessage("titlos", "mplampla", icon, 10000);
    6. emit minimized();}
    To copy to clipboard, switch view to plain text mode 

    So my problem is that the System Tray Icon is been shown the the top left of the computer and not at my trayicon.... What should i do?
    Attached Images Attached Images

Similar Threads

  1. system tray message is not displaying near tary icon
    By sudhansu in forum Qt Programming
    Replies: 0
    Last Post: 29th March 2010, 18:31
  2. How to keep System tray icons
    By mkkguru in forum Qt Programming
    Replies: 10
    Last Post: 24th February 2010, 17:19
  3. How to write some text next to the system tray icon?
    By alex chpenst in forum Qt Programming
    Replies: 3
    Last Post: 5th September 2008, 09:43
  4. Replies: 4
    Last Post: 30th June 2008, 07:25
  5. system tray problem
    By vvdounai in forum Qt Programming
    Replies: 5
    Last Post: 14th November 2007, 09:25

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.