Tab Struct
struct QTextOption::Tab공용 함수
Tab() | |
Tab(qreal pos, QTextOption::TabType tabType, QChar delim = QChar()) | |
bool | operator!=(const QTextOption::Tab &other) const |
bool | operator==(const QTextOption::Tab &other) const |
공용 변수
멤버 함수 문서
Tab::Tab()
위치 80의 기본 왼쪽 탭을 만듭니다.
Tab::Tab(qreal pos, QTextOption::TabType tabType, QChar delim = QChar())
지정된 위치, 탭 유형 및 구분 기호(pos, tabType, delim)로 탭을 생성합니다.
참고: delim 은 tabType 이 DelimiterTab 일 때만 사용됩니다.
bool Tab::operator!=(const QTextOption::Tab &other) const
탭 other 이 이 탭과 같지 않으면 true
을 반환하고, 그렇지 않으면 false
을 반환합니다.
bool Tab::operator==(const QTextOption::Tab &other) const
other 탭이 이 탭과 같으면 true
을 반환하고, 그렇지 않으면 false
을 반환합니다.
멤버 변수 문서
QChar Tab::delimiter
유형이 구분 기호 탭인 경우 텍스트에서 이 문자를 찾을 때까지 탭합니다.
qreal Tab::position
단락의 시작으로부터의 거리입니다. 탭의 위치는 단락의 시작부터이며, 이는 단락의 정렬이 가운데로 설정된 경우 탭이 단락의 왼쪽 가장자리와 같은 거리만큼 이동하는 것으로 해석됨을 의미합니다. 단락의 레이아웃 방향이 레이아웃 방향() RightToLeft로 설정된 경우 위치는 단락의 오른쪽에서 탭이 왼쪽으로 이동하는 것으로 해석되며, 숫자가 높을수록 탭이 왼쪽으로 이동하는 것으로 해석됩니다.
QTextOption::TabType Tab::type
어떤 유형이 사용되는지 결정합니다. 레이아웃 방향() RightToLeft가 있는 단락에서 LeftTab 유형은 RightTab 으로 해석되며 그 반대의 경우도 마찬가지입니다.
© 2025 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.