summaryrefslogtreecommitdiffstats
path: root/examples/textedit/example.html
diff options
context:
space:
mode:
Diffstat (limited to 'examples/textedit/example.html')
-rw-r--r--examples/textedit/example.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/examples/textedit/example.html b/examples/textedit/example.html
new file mode 100644
index 0000000..0c8d342
--- /dev/null
+++ b/examples/textedit/example.html
@@ -0,0 +1,24 @@
+<html><head><meta name="qrichtext" content="1" /></head><body style="font-size:12pt;font-family:helvetica">
+<p align="center"><span style="font-size:24pt;font-weight:600">QTextEdit</span></p>
+<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>
+<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>
+<p>left aligned,</p>
+<p align="center">centered,</p>
+<p align="right">and right aligned.</p>
+<p align="justify"></p>
+<!-- Not public API
+<p>In addition to the mentioned character styles, the editor supports both bullet lists</p>
+<ul type="disc"><li>Disc</li>
+<ul type="circle"><li>Circle</li>
+<ul type="square"><li>Square</li></ul></ul></ul>
+<p>and ordered lists</p>
+<ol><li>One</li>
+<li>Two</li>
+<ol type="a"><li>Two.a</li>
+<li>Two.b</li>
+<ol type="A"><li>Two.b.A</li>
+<li>Two.b.B</li></ol>
+<li>Two.c</li></ol>
+<li>Three.</li></ol>
+-->
+</body></html>