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 bulleting or numbering of the list items, and setIndent() controls the list's indentation.
QTextListFormat::ListDisc | |
QTextListFormat::ListCircle | |
QTextListFormat::ListSquare | |
QTextListFormat::ListDecimal | |
QTextListFormat::ListLowerAlpha | |
QTextListFormat::ListUpperAlpha |
Constructs a new QTextListFormat.
Returns the list format's indent.
See also setIndent().
Returns true if this list format is valid; otherwise returns false.
Sets the list format's indent to indent.
See also indent().
Sets the list format's list style to style. See Style.
See also style().
Returns the list format's style. See Style.
See also setStyle().
Copyright © 2004 Trolltech. | Trademarks | Qt 4.0.0-tp1 |