QTextOption Class Reference
#include <qtextoption.h>
Definition at line 59 of file qtextoption.h.
|
enum | TabType { LeftTab,
RightTab,
CenterTab,
DelimiterTab
} |
|
enum | WrapMode {
NoWrap,
WordWrap,
ManualWrap,
WrapAnywhere,
WrapAtWordBoundaryOrAnywhere
} |
|
enum | Flag {
ShowTabsAndSpaces = 0x1,
ShowLineAndParagraphSeparators = 0x2,
AddSpaceForLineAndParagraphSeparators = 0x4,
SuppressColors = 0x8,
IncludeTrailingSpaces = 0x80000000
} |
|
Enumerator |
---|
LeftTab |
|
RightTab |
|
CenterTab |
|
DelimiterTab |
|
Definition at line 62 of file qtextoption.h.
Enumerator |
---|
NoWrap |
|
WordWrap |
|
ManualWrap |
|
WrapAnywhere |
|
WrapAtWordBoundaryOrAnywhere |
|
Definition at line 102 of file qtextoption.h.
Enumerator |
---|
ShowTabsAndSpaces |
|
ShowLineAndParagraphSeparators |
|
AddSpaceForLineAndParagraphSeparators |
|
SuppressColors |
|
IncludeTrailingSpaces |
|
Definition at line 112 of file qtextoption.h.
void setAlignment |
( |
Qt::Alignment |
alignment | ) |
|
|
inline |
Qt::Alignment alignment |
( |
| ) |
const |
|
inline |
Definition at line 97 of file qtextoption.h.
97 {
return Qt::Alignment(align); }
Definition at line 99 of file qtextoption.h.
99 { this->direction = aDirection; }
void setFlags |
( |
Flags |
flags | ) |
|
|
inline |
void setTabStop |
( |
qreal |
tabStop | ) |
|
|
inline |
QList<qreal> tabArray |
( |
| ) |
const |
void setUseDesignMetrics |
( |
bool |
b | ) |
|
|
inline |
bool useDesignMetrics |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: