void setFormat(const QTextListFormat &format)
Sets the list's format to format.
The QTextCursor class offers an API to access and modify QTextDocuments.
The QTextBlock class provides a container for text fragments in a QTextDocument.
bool isEmpty() const
Returns true if the list has no items; otherwise returns false.
QTextFormat format() const
Returns the text object's format.
void setFormat(const QTextFormat &format)
Sets the text object's format.
The QTextBlockGroup class provides a container for text blocks within a QTextDocument.
The QTextDocument class holds formatted text that can be viewed and edited using a QTextEdit...
The QTextList class provides a decorated list of items in a QTextDocument.
QTextListFormat format() const
Returns the list's format.