Page 2 of 2 FirstFirst 12
Results 21 to 23 of 23

Thread: Tooltip on item in tableview

  1. #21
    Join Date
    May 2007
    Posts
    301
    Thanks
    46
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Tooltip on item in tableview

    One more thing...is it possible to fade the tooltip in and out?

    Regards,
    Steve

  2. #22
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Tooltip on item in tableview

    Yes, but you will have to paint it yourself.
    You will have to use a QTimer ( for fading effect ) in conjunction with QPixmap::grabWidget.

    Once you get the pixmap, you can play with it's transparency, painting it as you increase or decrease the alpha component.

  3. The following user says thank you to marcel for this useful post:

    steg90 (17th May 2007)

  4. #23
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Tooltip on item in tableview

    Or you can take a look at qeffects.h and/or use a style that fades tooltips (using qeffects, by the way).

  5. The following user says thank you to wysota for this useful post:

    steg90 (17th May 2007)

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.