PATCH: KLineEdit::setSqueezedText

Waldo Bastian bastian at kde.org
Fri Dec 12 13:01:32 GMT 2003


-----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.

Cheers,
Waldo
- -- 
bastian at kde.org -=|[ KDE: K Desktop for the Enterprise ]|=- bastian at suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE/2bwsN4pvrENfboIRAhHFAJ9MOj+0mZaxDoC8rXRNJQI8ZpmV/ACgoMV5
6RxCiK3ChBjtibzjSF7+g48=
=EGOt
-----END PGP SIGNATURE-----




More information about the kde-core-devel mailing list