[Psi-devel] [LONG] Custom rostericons in tooltips or what am I doing wrong?

Michail Pishchagin mblsha-psi at affinix.com
Sun Dec 3 07:35:12 PST 2006


Remko Tronçon wrote:
> > Maybe I'll find some other way to make it work.
>
> I could be wrong, but I don't think Q3MimeSourceFactory still allows
> you to insert new icons dynamically. At least, in the first months of
> the Qt4 port, we had no emoticons and no icons or avatars in the
> tooltip, and the reason was exactly that. We had to wait until mblsha
> found a proper way of inserting images into text documents. I didn't
> see the resulting code, but I would expect that now we can insert
> arbitrary images into documents (avatars), that modifying the tooltip
> generation code to use the correct iconset should be easier ?

All code concerning displaying PsiIcons in PsiTextEdit views is located in 
psirichtext.cpp. It's not big, please take a good look.

-- 
Michail


More information about the psi-devel mailing list