QtBase
v6.3.1
|
#include <qtextoption.h>
Public Member Functions | |
Tab () | |
Tab (qreal pos, TabType tabType, QChar delim=QChar()) | |
bool | operator== (const Tab &other) const |
bool | operator!= (const Tab &other) const |
Public Attributes | |
qreal | position |
TabType | type |
QChar | delimiter |
Definition at line 63 of file qtextoption.h.
|
inline |
\variable Tab::position Distance from the start of the paragraph. The position of a tab is from the start of the paragraph which implies that when the alignment of the paragraph is set to centered, the tab is interpreted to be moved the same distance as the left edge of the paragraph does. In case the paragraph is set to have a layoutDirection() RightToLeft the position is interpreted to be from the right side of the paragraph with higher numbers moving the tab to the left.
\variable QTextOption::Tab::type Determine which type is used. In a paragraph that has layoutDirection() RightToLeft the type LeftTab will be interpreted to be a RightTab and vice versa.
\variable QTextOption::Tab::delimiter If type is DelimitorTab; tab until this char is found in the text.
Creates a default left tab with position 80.
Definition at line 64 of file qtextoption.h.
Creates a tab with the given position, tab type, and delimiter (pos, tabType, delim).
Definition at line 65 of file qtextoption.h.
|
inline |
Returns true
if tab other is not equal to this tab; otherwise returns false
.
Definition at line 74 of file qtextoption.h.
Returns true
if tab other is equal to this tab; otherwise returns false
.
Definition at line 68 of file qtextoption.h.
QChar QTextOption::Tab::delimiter |
Definition at line 80 of file qtextoption.h.
qreal QTextOption::Tab::position |
Definition at line 78 of file qtextoption.h.
TabType QTextOption::Tab::type |
Definition at line 79 of file qtextoption.h.