- All Implemented Interfaces:
QtObjectInterface,Cloneable
- Direct Known Subclasses:
QTextBlockFormat,QTextCharFormat,QTextFrameFormat,QTextListFormat
Formatting information for a QTextDocument
Java wrapper for Qt class QTextFormat
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumJava wrapper for Qt enumQTextFormat::FormatTypestatic enumJava wrapper for Qt enumQTextFormat::ObjectTypesstatic enumJava wrapper for Qt enumQTextFormat::PageBreakFlagstatic final classQFlagstype for enumQTextFormat.PageBreakFlagstatic enumJava wrapper for Qt enumQTextFormat::Property -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final QMetaObjectThis variable stores the meta-object for the class. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidassign(QTextFormat rhs) final QBrushfinal booleanboolProperty(int propertyId) final QBrushbrushProperty(int propertyId) final voidfinal voidfinal voidclearProperty(int propertyId) clone()Creates and returns a copy of this object.final QColorcolorProperty(int propertyId) final doubledoubleProperty(int propertyId) final booleanequals(QTextFormat rhs) booleanfinal QBrushinthashCode()Returns the objects's hash code computed byqHash(QTextFormat).final booleanhasProperty(int propertyId) final intintProperty(int propertyId) final booleanfinal booleanfinal booleanisEmpty()final booleanfinal booleanfinal booleanfinal booleanfinal booleanbooleanisValid()final Qt.LayoutDirectionfinal QTextLengthlengthProperty(int propertyId) final QList<QTextLength> lengthVectorProperty(int propertyId) final voidmerge(QTextFormat other) final intfinal intfinal QPenpenProperty(int propertyId) final QMap<@QtPrimitiveType Integer, Object> final Objectproperty(int propertyId) final intvoidreadFrom(QDataStream arg__1) Seeoperator>>(QDataStream&,QTextFormat&) final voidsetBackground(Qt.BrushStyle brush) Overloaded function forsetBackground(io.qt.gui.QBrush).final voidsetBackground(Qt.GlobalColor brush) Overloaded function forsetBackground(io.qt.gui.QBrush).final voidsetBackground(QBrush brush) final voidsetBackground(QColor brush) Overloaded function forsetBackground(io.qt.gui.QBrush).final voidsetBackground(QGradient brush) Overloaded function forsetBackground(io.qt.gui.QBrush).final voidsetBackground(QImage brush) Overloaded function forsetBackground(io.qt.gui.QBrush).final voidsetBackground(QPixmap brush) Overloaded function forsetBackground(io.qt.gui.QBrush).final voidsetForeground(Qt.BrushStyle brush) Overloaded function forsetForeground(io.qt.gui.QBrush).final voidsetForeground(Qt.GlobalColor brush) Overloaded function forsetForeground(io.qt.gui.QBrush).final voidsetForeground(QBrush brush) final voidsetForeground(QColor brush) Overloaded function forsetForeground(io.qt.gui.QBrush).final voidsetForeground(QGradient brush) Overloaded function forsetForeground(io.qt.gui.QBrush).final voidsetForeground(QImage brush) Overloaded function forsetForeground(io.qt.gui.QBrush).final voidsetForeground(QPixmap brush) Overloaded function forsetForeground(io.qt.gui.QBrush).final voidsetLayoutDirection(Qt.LayoutDirection direction) final voidsetObjectIndex(int object) final voidsetObjectType(int type) final voidsetProperty(int propertyId, Object value) final voidsetProperty(int propertyId, Collection<? extends QTextLength> lengths) final StringstringProperty(int propertyId) final voidswap(QTextFormat other) final QTextBlockFormatfinal QTextCharFormatfinal QTextFrameFormatfinal QTextImageFormatfinal QTextListFormattoString()Seeoperator<<(QDebug,QTextFormat) final QTextTableCellFormatfinal QTextTableFormatfinal inttype()voidwriteTo(QDataStream arg__1) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class.
-
-
Constructor Details
-
QTextFormat
public QTextFormat() -
QTextFormat
-
QTextFormat
public QTextFormat(int type)
-
-
Method Details
-
background
-
boolProperty
-
brushProperty
-
clearBackground
-
clearForeground
-
clearProperty
-
colorProperty
-
doubleProperty
-
foreground
-
hasProperty
-
intProperty
-
isBlockFormat
-
isCharFormat
-
isEmpty
-
isFrameFormat
-
isImageFormat
-
isListFormat
-
isTableCellFormat
-
isTableFormat
-
isValid
-
layoutDirection
-
lengthProperty
-
lengthVectorProperty
-
merge
-
objectIndex
-
objectType
-
writeTo
-
assign
-
equals
-
readFrom
See
operator>>(QDataStream&,QTextFormat&) -
penProperty
-
properties
-
property
-
propertyCount
-
setBackground
-
setForeground
-
setLayoutDirection
-
setObjectIndex
-
setObjectType
-
setProperty
@QtUninvokable public final void setProperty(int propertyId, Collection<? extends QTextLength> lengths) -
setProperty
-
stringProperty
-
swap
-
toBlockFormat
-
toCharFormat
-
toFrameFormat
-
toImageFormat
-
toListFormat
-
toTableCellFormat
-
toTableFormat
-
type
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QTextFormat). -
toString
See
operator<<(QDebug,QTextFormat) -
clone
Creates and returns a copy of this object.
-
setBackground
Overloaded function for
setBackground(io.qt.gui.QBrush). -
setBackground
Overloaded function for
setBackground(io.qt.gui.QBrush). -
setBackground
Overloaded function for
setBackground(io.qt.gui.QBrush). -
setBackground
Overloaded function for
setBackground(io.qt.gui.QBrush). -
setBackground
Overloaded function for
setBackground(io.qt.gui.QBrush). -
setBackground
Overloaded function for
setBackground(io.qt.gui.QBrush). -
setForeground
Overloaded function for
setForeground(io.qt.gui.QBrush). -
setForeground
Overloaded function for
setForeground(io.qt.gui.QBrush). -
setForeground
Overloaded function for
setForeground(io.qt.gui.QBrush). -
setForeground
Overloaded function for
setForeground(io.qt.gui.QBrush). -
setForeground
Overloaded function for
setForeground(io.qt.gui.QBrush). -
setForeground
Overloaded function for
setForeground(io.qt.gui.QBrush).
-