[PATCH] tooltip: add update parametr to updateToolTip function
Aaron J. Seigo
aseigo at kde.org
Wed Apr 2 01:04:40 CEST 2008
On Tuesday 01 April 2008, Rafał Miłecki wrote:
> However I keep in mind Aaron's words (about updateToolTip(bool arg)):
> > yes, it's a bit "ugly" but prevent bloating the applet API even further.
>
> I wonder if there is sense of adding to Plasma::DataEngine new way of
> connecting source and increasing it's API. I can not really imagine
> any widget needing updating it's tooltip without updating the info it
> shows. I belive single updateToolTip is enought for 99% needs. I think
> not any other widget can be so exigent like digital clock.
dataengine already has what it needs, really. the way to do this would be to
create a generic visualization that would display in a tooltip, or even make
tooltip itself into a visualization with a dataUpdated signal ... but then:
* how do you deal with aggregating multiple sources into a single tooltip in a
generic fashion?
* how to handle the image display in a generic fashion?
... etc.
i'm not sure there's a generic approach to "stuff data into a tooltip" from
the perspective of actual data sets.
--
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43
KDE core developer sponsored by Trolltech
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20080401/80ba5726/attachment.pgp
More information about the Panel-devel
mailing list