PATCH: KLineEdit::setSqueezedText

Dawit A. adawit at kde.org
Fri Dec 12 14:49:23 GMT 2003


On Friday 12 December 2003 08:01, Waldo Bastian wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Fri December 12 2003 04:13, Dawit A. wrote:
> > Hi,
> >
> > Currently setSquezzedText only works if you originally created  KLineEdit
> > in read-only mode where as the QLineEdit API allows you to change the
> > read/write mode after creation. This means that ::setSqueezedText is
> > useless if the widget is made read-only after creation. The attach patch
> > is intended to fix this problem by allowing you to set a flag instead. 
> > It keeps the ::setSqueezedText slot for BIC.
>
> I think EnableSqueezedText should be a property as well then, so that it
> can be used from QtDesigner.

Yes, done.

-- 
Regards,
Dawit A.
"Preach what you practice, practice what you preach"




More information about the kde-core-devel mailing list