PATCH: use KGuiItem::toolTip and KGuiItem::whatsThis in KPushButton

Simon Hausmann hausmann at kde.org
Thu Jan 8 15:15:41 GMT 2004


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 :)

Simon




More information about the kde-core-devel mailing list