Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions | ![]() |
The QTextListFormat class provides formatting information for lists in a QTextDocument. More...
#include <QTextListFormat>
Inherits QTextFormat.
The QTextListFormat class provides formatting information for lists in a QTextDocument.
A list is composed of one or more items; each item is a block. A list format is used to specify the characteristics of a list; for example, setStyle() controls the style of the bullet points and the numbering scheme of the list items, and setIndent() controls the list's indentation.
See also QTextList.
This enum describes the symbols used to decorate list items:
QTextListFormat::ListDisc | a filled circle |
QTextListFormat::ListCircle | an empty circle |
QTextListFormat::ListSquare | a filled square |
QTextListFormat::ListDecimal | decimal values in ascending order |
QTextListFormat::ListLowerAlpha | lower case Latin characters in alphabetical order |
QTextListFormat::ListUpperAlpha | upper case Latin characters in alphabetical order |
Constructs a new list format object.
Returns the list format's indentation.
See also setIndent().
Returns true if this list format is valid; otherwise returns false.
Sets the list format's indentation.
See also indent().
Sets the list format's style. See Style for the available styles.
See also style().
Returns the list format's style. See Style.
See also setStyle().
Copyright © 2004 Trolltech. | Trademarks | Qt 4.0.0-tp2 |