Header: | #include <Tab> |
qmake: | QT += gui |
Since: | Qt 4.4 |
Tab() | |
Tab(qreal pos, TabType tabType, QChar delim = ...) | |
bool | operator!=(const Tab &other) const |
bool | operator==(const Tab &other) const |
Each tab definition is represented by this struct.
Creates a default left tab with position 80.
Creates a tab with the given position, tab type, and delimiter (pos, tabType, delim).
Note: delim is only used when tabType is DelimiterTab.
This function was introduced in Qt 4.7.
Returns true
if tab other is not equal to this tab; otherwise returns false
.
Returns true
if tab other is equal to this tab; otherwise returns false
.
If type is DelimitorTab; tab until this char is found in the text.
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 ege 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.
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.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: