[190] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
---|
| 2 | <!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/widgets/qtextview.cpp:42 -->
|
---|
| 3 | <html>
|
---|
| 4 | <head>
|
---|
| 5 | <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
---|
| 6 | <title>QTextView Class</title>
|
---|
| 7 | <style type="text/css"><!--
|
---|
| 8 | fn { margin-left: 1cm; text-indent: -1cm; }
|
---|
| 9 | a:link { color: #004faf; text-decoration: none }
|
---|
| 10 | a:visited { color: #672967; text-decoration: none }
|
---|
| 11 | body { background: #ffffff; color: black; }
|
---|
| 12 | --></style>
|
---|
| 13 | </head>
|
---|
| 14 | <body>
|
---|
| 15 |
|
---|
| 16 | <table border="0" cellpadding="0" cellspacing="0" width="100%">
|
---|
| 17 | <tr bgcolor="#E5E5E5">
|
---|
| 18 | <td valign=center>
|
---|
| 19 | <a href="index.html">
|
---|
| 20 | <font color="#004faf">Home</font></a>
|
---|
| 21 | | <a href="classes.html">
|
---|
| 22 | <font color="#004faf">All Classes</font></a>
|
---|
| 23 | | <a href="mainclasses.html">
|
---|
| 24 | <font color="#004faf">Main Classes</font></a>
|
---|
| 25 | | <a href="annotated.html">
|
---|
| 26 | <font color="#004faf">Annotated</font></a>
|
---|
| 27 | | <a href="groups.html">
|
---|
| 28 | <font color="#004faf">Grouped Classes</font></a>
|
---|
| 29 | | <a href="functions.html">
|
---|
| 30 | <font color="#004faf">Functions</font></a>
|
---|
| 31 | </td>
|
---|
| 32 | <td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>QTextView Class Reference<br><small>[obsolete]</small></h1>
|
---|
| 33 |
|
---|
| 34 | <p>The QTextView class provides a rich-text viewer.
|
---|
| 35 | <a href="#details">More...</a>
|
---|
| 36 | <p><tt>#include <<a href="qtextview-h.html">qtextview.h</a>></tt>
|
---|
| 37 | <p>Inherits <a href="qtextedit.html">QTextEdit</a>.
|
---|
| 38 | <p><a href="qtextview-members.html">List of all member functions.</a>
|
---|
| 39 | <h2>Properties</h2>
|
---|
| 40 | <ul>
|
---|
| 41 | <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>
|
---|
| 42 | <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>
|
---|
| 43 | <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>
|
---|
| 44 | <li class=fn>int <a href="#undoDepth-prop"><b>undoDepth</b></a> - the number of undoable steps <em>(read only)</em></li>
|
---|
| 45 | <li class=fn>bool <a href="#undoRedoEnabled-prop"><b>undoRedoEnabled</b></a> - whether undo and redo are enabled <em>(read only)</em></li>
|
---|
| 46 | </ul>
|
---|
| 47 | <hr><a name="details"></a><h2>Detailed Description</h2>
|
---|
| 48 |
|
---|
| 49 | The QTextView class provides a rich-text viewer.
|
---|
| 50 | <p> <b>This class is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code.
|
---|
| 51 | <p> This class wraps a read-only <a href="qtextedit.html">QTextEdit</a>.
|
---|
| 52 | Use a <a href="qtextedit.html">QTextEdit</a> instead, and call <a href="qtextedit.html#setReadOnly">setReadOnly</a>(TRUE)
|
---|
| 53 | to disable editing.
|
---|
| 54 |
|
---|
| 55 | <hr><h2>Property Documentation</h2>
|
---|
| 56 | <h3 class=fn>bool <a name="modified-prop"></a>modified</h3>
|
---|
| 57 | <p>This property holds whether the text view's contents have been modified.
|
---|
| 58 | <p>
|
---|
| 59 | <p><h3 class=fn>bool <a name="overwriteMode-prop"></a>overwriteMode</h3>
|
---|
| 60 | <p>This property holds whether new text overwrites or pushes aside existing text.
|
---|
| 61 | <p>
|
---|
| 62 | <p><h3 class=fn>bool <a name="readOnly-prop"></a>readOnly</h3>
|
---|
| 63 | <p>This property holds whether the text view's contents are read only.
|
---|
| 64 | <p>
|
---|
| 65 | <p><h3 class=fn>int <a name="undoDepth-prop"></a>undoDepth</h3>
|
---|
| 66 | <p>This property holds the number of undoable steps.
|
---|
| 67 | <p>
|
---|
| 68 | <p><h3 class=fn>bool <a name="undoRedoEnabled-prop"></a>undoRedoEnabled</h3>
|
---|
| 69 | <p>This property holds whether undo and redo are enabled.
|
---|
| 70 | <p>
|
---|
| 71 | <p><!-- eof -->
|
---|
| 72 | <hr><p>
|
---|
| 73 | This file is part of the <a href="index.html">Qt toolkit</a>.
|
---|
| 74 | Copyright © 1995-2007
|
---|
| 75 | <a href="http://www.trolltech.com/">Trolltech</a>. All Rights Reserved.<p><address><hr><div align=center>
|
---|
| 76 | <table width=100% cellspacing=0 border=0><tr>
|
---|
| 77 | <td>Copyright © 2007
|
---|
| 78 | <a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a>
|
---|
| 79 | <td align=right><div align=right>Qt 3.3.8</div>
|
---|
| 80 | </table></div></address></body>
|
---|
| 81 | </html>
|
---|