Definition at line 59 of file qtextoption.h.
Classes
|
| struct
|
Tab |
Public Types
|
| 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
} |
Public Member Functions
|
| |
QTextOption
() |
| |
QTextOption
(Qt::Alignment alignment) |
| |
~QTextOption
() |
| |
QTextOption
(const QTextOption &o) |
| QTextOption & |
operator=
(const QTextOption &o) |
| void |
setAlignment
(Qt::Alignment alignment) |
|
Qt::Alignment |
alignment
() const |
| void |
setTextDirection
(Qt::LayoutDirection
aDirection) |
| Qt::LayoutDirection |
textDirection
() const |
| void |
setWrapMode
(WrapMode
wrap) |
| WrapMode |
wrapMode
() const |
| void |
setFlags
(Flags flags) |
| Flags |
flags
() const |
| void |
setTabStop
(qreal tabStop) |
| qreal |
tabStop
() const |
| void |
setTabArray
(QList< qreal >
tabStops) |
| QList< qreal > |
tabArray
() const |
| void |
setTabs
(QList< Tab >
tabStops) |
| QList< Tab > |
tabs
() const |
| void |
setUseDesignMetrics
(bool b) |
| bool |
useDesignMetrics
() const |