QTextOption::Tab Struct
struct QTextOption::TabFunzioni pubbliche
| Tab() | |
| Tab(qreal pos, QTextOption::TabType tabType, QChar delim = QChar()) | |
| bool | operator!=(const QTextOption::Tab &other) const |
| bool | operator==(const QTextOption::Tab &other) const |
Variabili pubbliche
Documentazione delle funzioni membro
Tab::Tab()
Crea una tabulazione predefinita a sinistra con posizione 80.
Tab::Tab(qreal pos, QTextOption::TabType tabType, QChar delim = QChar())
Crea un tabulatore con la posizione, il tipo di tabulatore e il delimitatore specificati (pos, tabType, delim).
Nota: delim viene utilizzato solo quando tabType è DelimiterTab.
bool Tab::operator!=(const QTextOption::Tab &other) const
Restituisce ` true ` se la scheda other non corrisponde a questa scheda; altrimenti restituisce ` false`.
bool Tab::operator==(const QTextOption::Tab &other) const
Restituisce ` true ` se la scheda ` other ` è uguale a questa scheda; altrimenti restituisce ` false`.
Documentazione sulle variabili membro
QChar Tab::delimiter
Se il tipo è DelimitorTab, si procede con la tabulazione fino a quando non viene individuato questo carattere nel testo.
qreal Tab::position
Distanza dall'inizio del paragrafo. La posizione di un tabulatore è calcolata a partire dall'inizio del paragrafo; ciò implica che, quando l'allineamento del paragrafo è impostato su "centrato", il tabulatore viene interpretato come spostato della stessa distanza del bordo sinistro del paragrafo. Nel caso in cui al paragrafo sia impostato un layoutDirection() RightToLeft, la posizione viene interpretata come se partisse dal lato destro del paragrafo, con i valori più alti che spostano il tabulatore verso sinistra.
QTextOption::TabType Tab::type
Determinare quale tipo viene utilizzato. In un paragrafo con layoutDirection() impostato su RightToLeft, il tipo " LeftTab " verrà interpretato come " RightTab " e viceversa.
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.