TextEdit

Figure 3-4. Text Dialog

This widget is a multi-line editor (superceding QMultiLineEdit), which can display either plain text or rich text. The dialog presents a text edit in plain text mode. You can enter rich text by using HTML tags and attributes, for example,
<h2>Text Edit</h2>
<p align="center">
The Text Edit widget supports <b>rich</b> 
<font color="ff0000">text</font>.</p>
Block level tags like headings, aligned paragraphs, ordered and unordered lists are all available. Inline tags like bold, italic, big, small and font are also supported. Tables, hypertext links and images may also be used. Full information on the tags and attributes that Text Edit supports is given in the online QStyleSheet documentation.