Results 1 to 3 of 3

Thread: Info about QSystemTrayIcon

  1. #1
    Join Date
    Jan 2006
    Location
    India
    Posts
    115
    Thanks
    3
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Info about QSystemTrayIcon

    KSystemTray (KDE 3) inherits from QLabel (Qt 3) which most notably provides a way to implement mouse wheel events, but QSystemTray (Qt 4) inherits from QObject (Qt 4) so getting a mouse wheel event is not possible. Is there any workaround? KDE4 libs are also now using QSystemTray (Qt 4).

  2. #2
    Join Date
    Jan 2006
    Location
    Alingsås, Sweden
    Posts
    437
    Thanks
    3
    Thanked 39 Times in 39 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Info about QSystemTrayIcon

    Have you tried installing an event filter, or just re-implementing the event method (do not forget to pass the things you ignore on to the parent class).

    I would guess that the reason is some sort of cross platform issue so test it good.

  3. #3
    Join Date
    Jan 2006
    Location
    India
    Posts
    115
    Thanks
    3
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Info about QSystemTrayIcon

    No success. Only ToolTip event is being traced.

Similar Threads

  1. QGraphicsItem problem - how to save items info ??
    By aamer4yu in forum Qt Programming
    Replies: 3
    Last Post: 17th October 2006, 12:17
  2. A way to transfer info from .pro to Makefile
    By thawkins in forum Qt Programming
    Replies: 3
    Last Post: 2nd May 2006, 21:06
  3. dislplay info in konsole?
    By lum in forum KDE Forum
    Replies: 1
    Last Post: 27th April 2006, 16:49
  4. Info passing/QWidgetFactory
    By akjohn in forum Qt Programming
    Replies: 1
    Last Post: 2nd March 2006, 23:25

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.