43 #include <QtGui/qtguiglobal.h>
44 #include <QtCore/qnamespace.h>
45 #include <QtCore/qchar.h>
46 #include <QtCore/qmetatype.h>
63 struct Q_GUI_EXPORT
Tab {
71 && delimiter ==
other.delimiter;
101 WrapAtWordBoundaryOrAnywhere
107 ShowTabsAndSpaces = 0x1,
108 ShowLineAndParagraphSeparators = 0x2,
109 AddSpaceForLineAndParagraphSeparators = 0x4,
110 SuppressColors = 0x8,
111 ShowDocumentTerminator = 0x10,
112 IncludeTrailingSpaces = 0x80000000
118 inline void setTabStopDistance(
qreal tabStopDistance);
144 { align = aalignment; }
The QChar class provides a 16-bit Unicode character.
The QTextOption class provides a description of general rich text properties. \inmodule QtGui.
void setFlags(Flags flags)
void setTextDirection(Qt::LayoutDirection aDirection)
WrapMode wrapMode() const
Qt::Alignment alignment() const
qreal tabStopDistance() const
Qt::LayoutDirection textDirection() const
void setWrapMode(WrapMode wrap)
void setUseDesignMetrics(bool b)
bool useDesignMetrics() const
void setTabStopDistance(qreal tabStopDistance)
union Alignment_ Alignment
QHighDpiScaling::Point position(T, QHighDpiScaling::Point::Kind)
#define Q_DECLARE_FLAGS(Flags, Enum)
#define Q_DECLARE_OPERATORS_FOR_FLAGS(Flags)
bool qFuzzyCompare(qfloat16 p1, qfloat16 p2) noexcept
QT_END_INCLUDE_NAMESPACE typedef double qreal
bool operator==(const QMakeBaseKey &one, const QMakeBaseKey &two)
GLboolean GLboolean GLboolean b
label setAlignment(Qt::AlignLeft|Qt::AlignTop)
[0]
Tab(qreal pos, TabType tabType, QChar delim=QChar())
bool operator!=(const Tab &other) const
bool operator==(const Tab &other) const