PATCH: use KGuiItem::toolTip and KGuiItem::whatsThis in KPushButton
Sebastian Trueg
trueg at k3b.org
Thu Jan 8 18:15:44 GMT 2004
On Thursday 08 January 2004 16:15, Simon Hausmann wrote:
> On Thursday 08 January 2004 16:02, Sebastian Trueg wrote:
> > On Thursday 08 January 2004 13:07, Holger Freyther wrote:
> > > -----BEGIN PGP SIGNED MESSAGE-----
> > > Hash: SHA1
> > >
> > > On Wednesday 07 January 2004 10:55, Sebastian Trueg wrote:
> > > > setSizePolicy( QSizePolicy( QSizePolicy::Minimum,
> > > > QSizePolicy::Minimum ) );
> > > >
> > > > + if( !item.toolTip().isEmpty() )
> > > > + QToolTip::add( this, item.toolTip() );
> > > > + if( !item.whtsThis().isEmpty() )
> > >
> > > typo????
> >
> > yes, but what about the patch generally?
>
> I for one don't like the idea of tooltips on push buttons. I find it
> annoying to see on that for example on 'OK' or 'Cancel' buttons in quick
> dialogs. JMHO :)
valid point. But what are KGuiItem::toolTip and KGuiItem::whatsThis then for
anyway?
More information about the kde-core-devel
mailing list