[Qt-interest] Make a few lines of a QTextEdit uneditable?

Ellen Kestrel dragonflykes at gmail.com
Tue May 26 12:55:04 CEST 2009


Why exactly do you want to do this?  It sounds more like you should be using
two different widgets here.

-EK

On Tue, May 26, 2009 at 3:43 AM, Raja Sekharan <websweetweb at gmail.com>wrote:

> Hi,
> For my current project, I need to make a section of the text in a QTextEdit
> uneditable. The back space shouldn't delete the the text and the user
> shouldn't be able to add text to those lines. Other lines of of text in the
> QTextEdit should be editable. How can I do this?
>
> Raj
>
> --
> “Computer science education cannot make anybody an expert programmer any
> more than studying brushes and pigment can make somebody an expert painter.”
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090526/b8072bc8/attachment.html 


More information about the Qt-interest-old mailing list