Results 1 to 3 of 3

Thread: QSystemTrayIcon help

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Jul 2009
    Posts
    139
    Thanks
    13
    Thanked 59 Times in 52 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: QSystemTrayIcon help

    You can use QImage. Note, to get an QIcon from a QImage:
    Qt Code:
    1. QIcon icon(QPixmap::fromImage(img));
    To copy to clipboard, switch view to plain text mode 

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

    SkylineBob (13th January 2010)

Similar Threads

  1. QSystemTrayIcon::showMessage
    By radojkod in forum Qt Programming
    Replies: 0
    Last Post: 4th December 2008, 13:13
  2. Problem with QSystemTrayIcon on Mac OS
    By mourad in forum Qt Programming
    Replies: 1
    Last Post: 22nd May 2008, 10:53
  3. QSystemTrayIcon - how to make one?
    By slava in forum Qt Programming
    Replies: 4
    Last Post: 9th March 2008, 11:00
  4. QSystemTrayIcon on click() ?
    By probine in forum Qt Programming
    Replies: 4
    Last Post: 25th January 2007, 08:43
  5. Info about QSystemTrayIcon
    By yogeshm02 in forum Qt Programming
    Replies: 2
    Last Post: 13th December 2006, 14:20

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.