[Qt-interest] FW: scrollable read only line edit
Sarvesh Saran
Sarvesh.Saran at synopsys.com
Wed Aug 4 16:50:54 CEST 2010
Hi,
Thanks for the reply..but I'm not sure which event to filter out? Should I re implement event() and filter out QEvent::EnterEditFocus ?
Thanks,
Sarvesh
-----Original Message-----
From: qt-interest-bounces at trolltech.com [mailto:qt-interest-bounces at trolltech.com] On Behalf Of Frank Hemer
Sent: Wednesday, August 04, 2010 6:39 PM
To: qt-interest at trolltech.com
Subject: Re: [Qt-interest] scrollable read only line edit
On Wednesday 04 August 2010 14:58:29 Sarvesh Saran wrote:
> Hi,
>
> How do I create a scrollable read only line edit in QT?
>
> I do not want the user to be able to edit its contents..however merely
> making the line edit read only does not work as it is no longer scrollable.
Probably you'll need to install eventFilters and implement the readOnly
feature yourself.
Frank
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest
More information about the Qt-interest-old
mailing list