[Panel-devel] Tooltips for Plasma::Widget's

Dan Meltzer parallelgrapefruit at gmail.com
Thu Dec 20 05:08:00 CET 2007


On 12/18/07, Jason Stubbs <j.stubbs at linkthink.co.jp> wrote:
> On Wednesday 19 December 2007 02:57:03 Dan Meltzer wrote:
> > On 12/18/07, Aaron J. Seigo <aseigo at kde.org> wrote:
> > > On Monday 17 December 2007, Dan Meltzer wrote:
> > > > Feedback is much appreciated!
> > >
> > > just did a review of the patch on irc with Dan, just so everyone knows i
> > > haven't ignored this one ;)
> >
> > And here's the updated patch.
>
> You might want to do a grep in lib/plasma{,widgets} to make sure there's
> nothing deriving from Widget that reimplements hover* without calling the
> parent. I'm at work so can't check (easily) but I'm pretty sure Icon would
> need adjusting.

I'm attaching a patch that, along with other things, fixes the places
where I found this.

This patch also adds a delay on showing the tooltip and is in general,
a bit cleaner.
>
> Also, perhaps ToolTip (other than ToolTip::Data) might be better in a
> widget_p.h and widget.cpp so as to not make it part of the public API? Or is
> there some reason that ToolTip needs to be accessible?

I've also wondered this, the question would be.. what to do with the
struct?  Should it become Widget::ToolTipData ?
>
> --
> LINKTHINK INC.
> 東京都渋谷区桜ヶ丘町22-14 N.E.S S棟 3F
> TEL 03-5728-4772  FAX 03-5728-4773
> Jason Stubbs <j.stubbs at linkthink.co.jp>
> _______________________________________________
> Panel-devel mailing list
> Panel-devel at kde.org
> https://mail.kde.org/mailman/listinfo/panel-devel
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tooltip.diff
Type: application/octet-stream
Size: 12976 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20071219/bcfac973/attachment-0001.obj 


More information about the Panel-devel mailing list