[Qt-interest] Images in tooltips

Yves Bailly yves.bailly at sescoi.fr
Wed Dec 22 10:08:33 CET 2010


venkat reddy a écrit :
>    QPalette pal;
>    QBrush brush;
>     brush.setTextureImage(qImage);
>     pal.setBrush(QPalette::Window,brush);
>      qtooltop.setPalette(pal);

Won't this change *all* tooltips?

Maybe I should add some informations... the tooltips are to be shown
for items in a QListWidget, each item having a different tooltip of
course. Also it would be nice if I could display some text along the
image, however if it's really too complex I can remove the text.

Regards,

-- 
      /- Yves Bailly - Software developper  -\
      \- Sescoi R&D  - http://www.sescoi.fr -/
"The possible is done. The impossible is being done. For miracles,
thanks to allow a little delay."



More information about the Qt-interest-old mailing list