QTextFormat

Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
extern (C++) extern (C++)
@QMetaType.Type.QTextFormat
@Q_MOVABLE_TYPE
struct QTextFormat {}

Constructors

this
this(int type)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Aliases

PageBreakFlags
alias PageBreakFlags = QFlags!(PageBreakFlag)
Undocumented in source.

Enums

FormatType
enum FormatType
Undocumented in source.
ObjectTypes
enum ObjectTypes
Undocumented in source.
PageBreakFlag
enum PageBreakFlag
Undocumented in source.
Property
enum Property
Undocumented in source.

Functions

background
QBrush background()
Undocumented in source. Be warned that the author may not have intended to support it.
boolProperty
bool boolProperty(int propertyId)
Undocumented in source.
brushProperty
QBrush brushProperty(int propertyId)
Undocumented in source.
clearBackground
void clearBackground()
Undocumented in source. Be warned that the author may not have intended to support it.
clearForeground
void clearForeground()
Undocumented in source. Be warned that the author may not have intended to support it.
clearProperty
void clearProperty(int propertyId)
Undocumented in source.
colorProperty
QColor colorProperty(int propertyId)
Undocumented in source.
doubleProperty
qreal doubleProperty(int propertyId)
Undocumented in source.
foreground
QBrush foreground()
Undocumented in source. Be warned that the author may not have intended to support it.
hasProperty
bool hasProperty(int propertyId)
Undocumented in source.
intProperty
int intProperty(int propertyId)
Undocumented in source.
isBlockFormat
bool isBlockFormat()
Undocumented in source. Be warned that the author may not have intended to support it.
isCharFormat
bool isCharFormat()
Undocumented in source. Be warned that the author may not have intended to support it.
isEmpty
bool isEmpty()
Undocumented in source. Be warned that the author may not have intended to support it.
isFrameFormat
bool isFrameFormat()
Undocumented in source. Be warned that the author may not have intended to support it.
isImageFormat
bool isImageFormat()
Undocumented in source. Be warned that the author may not have intended to support it.
isListFormat
bool isListFormat()
Undocumented in source. Be warned that the author may not have intended to support it.
isTableCellFormat
bool isTableCellFormat()
Undocumented in source. Be warned that the author may not have intended to support it.
isTableFormat
bool isTableFormat()
Undocumented in source. Be warned that the author may not have intended to support it.
isValid
bool isValid()
Undocumented in source. Be warned that the author may not have intended to support it.
layoutDirection
qt.core.namespace.LayoutDirection layoutDirection()
Undocumented in source. Be warned that the author may not have intended to support it.
lengthProperty
QTextLength lengthProperty(int propertyId)
Undocumented in source.
lengthVectorProperty
QVector!(QTextLength) lengthVectorProperty(int propertyId)
Undocumented in source.
merge
void merge(const(QTextFormat) other)
Undocumented in source.
objectIndex
int objectIndex()
Undocumented in source.
objectType
int objectType()
Undocumented in source. Be warned that the author may not have intended to support it.
penProperty
QPen penProperty(int propertyId)
Undocumented in source.
property
QVariant property(int propertyId)
Undocumented in source.
propertyCount
int propertyCount()
Undocumented in source.
setLayoutDirection
void setLayoutDirection(qt.core.namespace.LayoutDirection direction)
Undocumented in source. Be warned that the author may not have intended to support it.
setObjectIndex
void setObjectIndex(int object)
Undocumented in source.
setObjectType
void setObjectType(int atype)
Undocumented in source. Be warned that the author may not have intended to support it.
setProperty
void setProperty(int propertyId, const(QVariant) value)
Undocumented in source.
setProperty
void setProperty(int propertyId, T value)
Undocumented in source. Be warned that the author may not have intended to support it.
setProperty
void setProperty(int propertyId, const(QVector!(QTextLength)) lengths)
Undocumented in source.
stringProperty
QString stringProperty(int propertyId)
Undocumented in source.
toBlockFormat
QTextBlockFormat toBlockFormat()
Undocumented in source.
toCharFormat
QTextCharFormat toCharFormat()
Undocumented in source.
toFrameFormat
QTextFrameFormat toFrameFormat()
Undocumented in source.
toImageFormat
QTextImageFormat toImageFormat()
Undocumented in source.
toListFormat
QTextListFormat toListFormat()
Undocumented in source.
toTableCellFormat
QTextTableCellFormat toTableCellFormat()
Undocumented in source.
toTableFormat
QTextTableFormat toTableFormat()
Undocumented in source.
type
int type()
Undocumented in source.

Meta