Tooltips
Mark Kretschmann
kretschmann at kde.org
Wed Nov 18 09:13:18 CET 2009
On Mon, Oct 19, 2009 at 8:43 PM, Thomas Pfeiffer <colomar at autistici.org> wrote:
> On Sun, Oct 4, 2009 at 9:17 PM, Thomas Pf. <colomar at autistici.org> wrote:
>>
>> Great, providing the wording would be helpful. We can do the rest.
>>
> Sorry for the delay, here are my suggestions for tooltips for the applets:
>
> - Reload icon in applets:
> - Lyrics: Reload lyrics
> - Wikipedia: Reload article
>
> - Edit icon in lyrics: Edit lyrics (I'm not exactly sure what it does. If it
> edits only locally than the tooltip should read "Edit lyrics locally"
> - Save icon when editing: Save
>
> - Configuration icon for applets: Configure [Appletname]...
>
> - Wikipedia applet:
> - Back/Forward arrows: Back/Forward ;)
> - Article type icons: Artist/Album/Track
>
> If you show me how to do it (I'm a complete n00b at C++ and never done
> anything in Qt except playing around with QtDesigner a bit), I could as well
> implement it myself.
So I've started to fix most of these. During this process I did
stumble upon the _actual_ reason for why there were no tooltips, which
is somewhat baffling ;)
See my commit message:
commit c55d7919aa9c25feb619bdeb33ca7ce8dec454b1
Author: Mark Kretschmann <kretschmann at kde.org>
Date: Wed Nov 18 08:57:21 2009 +0100
Add icon tooltips for Wikipedia applet, suggested by Thomas Pfeiffer.
The "funny" thing is that the tooltips were actually there before, but
due to what I assume is a bug in Plasma, they were not shown. Thing is:
You need to use QAction::setText(), not Plasma::IconWidget::setToolTip().
Also QAction::setToolTip() does not work here.
--
Mark Kretschmann
Amarok Developer
www.kde.org - amarok.kde.org
More information about the Amarok-devel
mailing list