<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/widgets/qtextview.cpp:42 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>TQTextView Class</title> <style type="text/css"><!-- fn { margin-left: 1cm; text-indent: -1cm; } a:link { color: #004faf; text-decoration: none } a:visited { color: #672967; text-decoration: none } body { background: #ffffff; color: black; } --></style> </head> <body> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr bgcolor="#E5E5E5"> <td valign=center> <a href="index.html"> <font color="#004faf">Home</font></a> | <a href="classes.html"> <font color="#004faf">All Classes</font></a> | <a href="mainclasses.html"> <font color="#004faf">Main Classes</font></a> | <a href="annotated.html"> <font color="#004faf">Annotated</font></a> | <a href="groups.html"> <font color="#004faf">Grouped Classes</font></a> | <a href="functions.html"> <font color="#004faf">Functions</font></a> </td> <td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>TQTextView Class Reference<br><small>[obsolete]</small></h1> <p>The TQTextView class provides a rich-text viewer. <a href="#details">More...</a> <p><tt>#include <<a href="qtextview-h.html">ntqtextview.h</a>></tt> <p>Inherits <a href="ntqtextedit.html">TQTextEdit</a>. <p><a href="qtextview-members.html">List of all member functions.</a> <h2>Properties</h2> <ul> <li class=fn>bool <a href="#modified-prop"><b>modified</b></a> - whether the text view's contents have been modified <em>(read only)</em></li> <li class=fn>bool <a href="#overwriteMode-prop"><b>overwriteMode</b></a> - whether new text overwrites or pushes aside existing text <em>(read only)</em></li> <li class=fn>bool <a href="#readOnly-prop"><b>readOnly</b></a> - whether the text view's contents are read only <em>(read only)</em></li> <li class=fn>int <a href="#undoDepth-prop"><b>undoDepth</b></a> - the number of undoable steps <em>(read only)</em></li> <li class=fn>bool <a href="#undoRedoEnabled-prop"><b>undoRedoEnabled</b></a> - whether undo and redo are enabled <em>(read only)</em></li> </ul> <hr><a name="details"></a><h2>Detailed Description</h2> The TQTextView class provides a rich-text viewer. <p> <b>This class is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. <p> This class wraps a read-only <a href="ntqtextedit.html">TQTextEdit</a>. Use a <a href="ntqtextedit.html">TQTextEdit</a> instead, and call <a href="ntqtextedit.html#setReadOnly">setReadOnly</a>(TRUE) to disable editing. <hr><h2>Property Documentation</h2> <h3 class=fn>bool <a name="modified-prop"></a>modified</h3> <p>This property holds whether the text view's contents have been modified. <p> <p><h3 class=fn>bool <a name="overwriteMode-prop"></a>overwriteMode</h3> <p>This property holds whether new text overwrites or pushes aside existing text. <p> <p><h3 class=fn>bool <a name="readOnly-prop"></a>readOnly</h3> <p>This property holds whether the text view's contents are read only. <p> <p><h3 class=fn>int <a name="undoDepth-prop"></a>undoDepth</h3> <p>This property holds the number of undoable steps. <p> <p><h3 class=fn>bool <a name="undoRedoEnabled-prop"></a>undoRedoEnabled</h3> <p>This property holds whether undo and redo are enabled. <p> <p><!-- eof --> <hr><p> This file is part of the <a href="index.html">TQt toolkit</a>. Copyright © 1995-2007 <a href="http://www.trolltech.com/">Trolltech</a>. All Rights Reserved.<p><address><hr><div align=center> <table width=100% cellspacing=0 border=0><tr> <td>Copyright © 2007 <a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a> <td align=right><div align=right>TQt 3.3.8</div> </table></div></address></body> </html>