Results 1 to 5 of 5

Thread: formatting QSystemTrayIcon baloon messages

  1. #1
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    258
    Thanks
    22
    Thanked 19 Times in 16 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default formatting QSystemTrayIcon baloon messages

    I am experimenting with Qt-4.2.0-tp and I wonder how I can get more control over the visual appearance of the Baloon messages that are shown. The showMessage() funktion takes a QString as the text to be displayed. Putting CSS/Html formatting tags into it has no effekt. How can I put more space around the Message or add a link or images to it? Is that possible at all?

    Thanx in advance
    momesana

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: formatting QSystemTrayIcon baloon messages

    Unfortunately, it seems that you can only display plain text messages.

    Also note this:
    Note that display of messages are dependent on the system configuration and user preferences, and that messages may not appear at all. Hence, it should not be relied upon as the sole means for providing critical information. Mac OS X does not support balloon messages.

  3. #3
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    258
    Thanks
    22
    Thanked 19 Times in 16 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: formatting QSystemTrayIcon baloon messages

    Quote Originally Posted by jacek
    Unfortunately, it seems that you can only display plain text messages.

    Also note this:

    Maybe they will expand its features in the coming releases. After all its a technical preview and there is room for improvement.

    Thank you

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: formatting QSystemTrayIcon baloon messages

    Quote Originally Posted by momesana
    Maybe they will expand its features in the coming releases
    It won't hurt if send a suggestion to the Trolls.

  5. #5
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    258
    Thanks
    22
    Thanked 19 Times in 16 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: formatting QSystemTrayIcon baloon messages

    Quote Originally Posted by jacek
    It won't hurt if send a suggestion to the Trolls.
    I just did that in the Qt-4.2.0-preview mailing list.
    Thank you.

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.