You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tqt3/doc/html/tqtextview.html

81 lines
3.8 KiB

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<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&nbsp;Classes</font></a>
| <a href="mainclasses.html">
<font color="#004faf">Main&nbsp;Classes</font></a>
| <a href="annotated.html">
<font color="#004faf">Annotated</font></a>
| <a href="groups.html">
<font color="#004faf">Grouped&nbsp;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 &lt;<a href="tqtextview-h.html">tqtextview.h</a>&gt;</tt>
<p>Inherits <a href="tqtextedit.html">TQTextEdit</a>.
<p><a href="tqtextview-members.html">List of all member functions.</a>
<h2>Properties</h2>
<ul>
<li class=fn>bool <a href="#modified-prop"><b>modified</b></a>&nbsp;- whether the text view's contents have been modified &nbsp;<em>(read only)</em></li>
<li class=fn>bool <a href="#overwriteMode-prop"><b>overwriteMode</b></a>&nbsp;- whether new text overwrites or pushes aside existing text &nbsp;<em>(read only)</em></li>
<li class=fn>bool <a href="#readOnly-prop"><b>readOnly</b></a>&nbsp;- whether the text view's contents are read only &nbsp;<em>(read only)</em></li>
<li class=fn>int <a href="#undoDepth-prop"><b>undoDepth</b></a>&nbsp;- the number of undoable steps &nbsp;<em>(read only)</em></li>
<li class=fn>bool <a href="#undoRedoEnabled-prop"><b>undoRedoEnabled</b></a>&nbsp;- whether undo and redo are enabled &nbsp;<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="tqtextedit.html">TQTextEdit</a>.
Use a <a href="tqtextedit.html">TQTextEdit</a> instead, and call <a href="tqtextedit.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 &copy; 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 &copy; 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>