[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: PlasmaToolTipManager with Python
From:       Ricardo <amilcarguerra () gmail ! com>
Date:       2009-02-19 23:16:13
Message-ID: ed5954200902191516j2cc0cf6fo7b5b17aa233b0633 () mail ! gmail ! com
[Download RAW message or body]

Now it works!!
Thanks :-)


2009/2/19 Benjamin Kleiner <bizzl.greekdog@web.de>:
> On Thursday, 19. February 2009 22:36:08 Ricardo wrote:
>> Thanks a lot Benjamin,
>>
>> now it runs without complaining but when i pass the mouse over the
>> applet it doesn't show the tooltip :(
>> is there any other thing i should do?
> Implementing it in hoverMoveEvent did the trick for me.
>
> def init(self):
> self.connect(self, SIGNAL("hoverMoveEvent"), self.hoverMoveEvent)
>
> def hoverMoveEvent(self, event):
> tooltipContent = Plasma.ToolTipContent(QString("prueba"), QString("eoooo
> 1"), KIcon() )
> Plasma.ToolTipManager.self().setContent(self.applet, tooltipContent)
>
> Maybe it is even sufficient to just implement hoverEnterEvent .
> _______________________________________________
> Plasma-devel mailing list
> Plasma-devel@kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel
>
>



-- 
Ella está en el horizonte -dice Fernando Birri-. Me acerco dos pasos,
ella se aleja dos pasos. Camino diez pasos y el horizonte se corre
diez pasos más allá. Por mucho que yo camine, nunca la alcanzaré.
¿Para que sirve la utopía? Para eso sirve: para caminar....

Eduardo Galeano
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic