void highlightListItems()
void setCentralWidget(QWidget *widget)
Sets the given widget to be the main window's central widget.
bool isValid() const
Returns true if this text block is valid; otherwise returns false.
QString text() const
Returns the block's contents as plain text.
QTextList * textList() const
If the block represents a list item, returns the list that the item belongs to; otherwise returns \nu...
\reentrant \inmodule QtGui
\reentrant \inmodule QtGui
The QTextEdit class provides a widget that is used to edit and display both plain and rich text.
QTextCursor textCursor() const
Returns a copy of the QTextCursor that represents the currently visible cursor.
void setDocument(QTextDocument *document)