Tooltips for KAction (was Re: GUI consistency - Go Menu)
kloecker at kde.org
Sun Aug 25 19:40:00 BST 2002
-----BEGIN PGP SIGNED MESSAGE-----
On Sunday 25 August 2002 20:01, Martin Koller wrote:
> On Sunday 25 August 2002 13:22, Ingo Klöcker wrote:
> > Many actions have a text, an icon and a tooltip, e.g. all toolbar
> > actions have an icon and should also have a tooltip.
> But I have seen, that what is passed as "tooltip" in the KGuiItem
> is NOT what is shown as a tooltip in the Toolbar. Instead the Actions
> name is shown.
> Why that? Is it a bug?
I wouldn't call it a bug, but a wrong implementation. If an action has a
tooltip then IMO the action's tooltip should be shown as tooltip when
the mouse hovers over the toolbar icon of this action. Only if an
action doesn't have a tooltip the action's name should be shown as
Could some of the core developers please comment on this?
> > > And why is it not used for most of the other KActions?
> > Because the other KActions where implemented before KGuiItem
> > existed. If you want to you could clean up all those actions and
> > make use of KGuiItem whenever more than a simple text is needed for
> > an action.
> I see, and I will clean up the code with that.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the kde-core-devel