source: trunk/examples/textedit/example.html

Last change on this file was 2, checked in by dmik, 20 years ago

Imported xplatform parts of the official release 3.3.1 from Trolltech

File size: 1.9 KB
Line 
1<html><head><meta name="qrichtext" content="1" /></head><body style="font-size:12pt;font-family:helvetica">
2<p align="center"><span style="font-size:24pt;font-weight:600">QTextEdit</span></p>
3<p align="justify">QTextEdit is an advanced WYSIWYG editor supporting richtext formatting. It is optimized to handle large documents and to respond quickly to user input.</p>
4<p align="justify">QTextEdit supports font styles such as <span style="font-weight:600">bold</span>, <span style="font-style:italic">italic, </span><span style="text-decoration:underline">underlined</span> as well as various <span style="font-weight:600;color:#00007f">c</span><span style="font-weight:600;color:#aa0000">o</span><span style="font-weight:600;color:#005500">l</span><span style="font-weight:600;color:#aa5500">o</span><span style="font-weight:600;color:#00aa00">r</span><span style="font-weight:600;color:#ff0000">s </span>and <span style="font-size:16pt">s</span><span style="font-size:18pt">i</span><span style="font-size:20pt">z</span><span style="font-size:22pt">e</span><span style="font-size:28pt">s</span>. You can select different font families, for example <span style="font-family:Times;font-weight:600">Times New Roman</span> or <span style="font-family:Courier;font-weight:600">Courier</span>. Futhermore the widget supports different paragraph alignments such as justified,</p>
5<p>left aligned,</p>
6<p align="center">centered,</p>
7<p align="right">and right aligned.</p>
8<p align="justify"></p>
9<!-- Not public API
10<p>In addition to the mentioned character styles, the editor supports both bullet lists</p>
11<ul type="disc"><li>Disc</li>
12<ul type="circle"><li>Circle</li>
13<ul type="square"><li>Square</li></ul></ul></ul>
14<p>and ordered lists</p>
15<ol><li>One</li>
16<li>Two</li>
17<ol type="a"><li>Two.a</li>
18<li>Two.b</li>
19<ol type="A"><li>Two.b.A</li>
20<li>Two.b.B</li></ol>
21<li>Two.c</li></ol>
22<li>Three.</li></ol>
23-->
24</body></html>
Note: See TracBrowser for help on using the repository browser.