Results 1 to 2 of 2

Thread: Problem with setting a trayicon Tooltip...

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

    Default Problem with setting a trayicon Tooltip...

    My problem is.. How to set an icon for the tooltip...
    And also how to have the first line in basic... Exactly like the screenshot i have attached... It has an icon and the first line is basic...

    See what i have done..

    Qt Code:
    1. trayIcon->setToolTip("<b>My Program :D</b>\nDouble click to show the window.\nMiddle click to exit the application.\nRight click for some options.");
    To copy to clipboard, switch view to plain text mode 

    But the \n doesn't work because i had added <b></b>
    Any ideas?
    Attached Images Attached Images

Similar Threads

  1. TrayIcon problem?
    By maverick_pol in forum Qt Programming
    Replies: 4
    Last Post: 5th December 2008, 09:32
  2. Replies: 1
    Last Post: 4th July 2007, 17:26
  3. Qt 4.1.3 - XP - TrayIcon
    By incapacitant in forum Newbie
    Replies: 4
    Last Post: 13th June 2006, 17:54
  4. trayicon port to QT4
    By ykohn in forum Qt Programming
    Replies: 10
    Last Post: 21st April 2006, 16:11
  5. TrayIcon with Qt4
    By naresh in forum Qt Programming
    Replies: 7
    Last Post: 15th February 2006, 19:54

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.