[PATCH] kdebase/kicker/toolbar: do not split window caption tooltips

Ralf Nolden nolden at kde.org
Thu Aug 28 16:54:34 BST 2003

On Montag, 25. August 2003 01:19, Stanislav Kljuhhin wrote:
> В сообщении от Monday 25 August 2003 01:53 John Firebaugh написал:
> > > +        QToolTip::add( this, currentTooltip="<qt><nobr>" +
> > > QStyleSheet:: escape(name()) + "</nobr></qt>" );
> >
> > Ugh. Please don't assign variables as a side effect.
> i thought it's called "C syntax" not "side effect", but if you don't like
> it, no problem to change it.
> > Besides that, I think this will make unreasonably wide tooltips, and
> > feels like a hack to me. Please consider improving Qt's line-break
> > algorithm instead.
> i see no intellgent way of breaking lines here. the text is not splitted in
> window caption, why should it be splitted in tooltip?
> may be text could be squeezed to prevent too long tooltips?

Change the tooltips that are too long. Don't code around them.


We're not a company, we just produce better code at less costs.
Ralf Nolden
nolden at kde.org

The K Desktop Environment       The KDevelop Project
http://www.kde.org              http://www.kdevelop.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20030828/caf459ba/attachment.sig>

More information about the kde-core-devel mailing list