Inheritance diagram for DzTextEdit:
Properties | |
Number | blockCount |
Boolean | bold |
Color | color |
String | documentTitle |
Boolean | italic |
Number | length |
Number | lines |
Boolean | linkUnderline |
Number | paragraphs |
Number | pointSize |
String | text |
Boolean | underline |
Methods | |
void | append (String text) |
void | clear () |
Boolean | hasSelectedText () |
String | selectedText () |
Number | selectionEnd () |
Number | selectionIndexEnd () |
Number | selectionIndexStart () |
Number | selectionParaEnd () |
Number | selectionParaStart () |
Number | selectionStart () |
String | text (Number para) |
Constructors | |
DzTextEdit (DzWidget parent) |
DzTextEdit::DzTextEdit | ( | DzWidget | parent | ) |
Creates a text edit widget as a child of the given parent widget
void DzTextEdit::append | ( | String | text | ) |
Adds the given text as a new paragraph to the end of the editor
void DzTextEdit::clear | ( | ) |
Removes all text from the editor
Boolean DzTextEdit::hasSelectedText | ( | ) |
String DzTextEdit::selectedText | ( | ) |
Number DzTextEdit::selectionEnd | ( | ) |
Number DzTextEdit::selectionIndexEnd | ( | ) |
Number DzTextEdit::selectionIndexStart | ( | ) |
Number DzTextEdit::selectionParaEnd | ( | ) |
Number DzTextEdit::selectionParaStart | ( | ) |
Number DzTextEdit::selectionStart | ( | ) |
String DzTextEdit::text | ( | Number | para | ) |
The number of text blocks (read-only)
bool DzTextEdit::bold |
Whether or not bold is currently turned on
QColor DzTextEdit::color |
The current text color
QString DzTextEdit::documentTitle |
The title of the document
bool DzTextEdit::italic |
Whether or not italics are currently turned on
The length of the text (read-only)
The current point size for the text.
QString DzTextEdit::text |
The text of the widget
Whether or not underline is currently turned on