java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.gui.QTextFormat
- 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
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QTextFormat::FormatTypestatic enum
Java wrapper for Qt enum QTextFormat::ObjectTypesstatic enum
Java wrapper for Qt enum QTextFormat::PageBreakFlagstatic final class
QFlags type for enumQTextFormat.PageBreakFlag
static enum
Java wrapper for Qt enum QTextFormat::PropertyNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
ModifierConstructorDescriptionQTextFormat
(int type) QTextFormat
(QTextFormat rhs) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal QBrush
final boolean
boolProperty
(int propertyId) final QBrush
brushProperty
(int propertyId) final void
final void
final void
clearProperty
(int propertyId) clone()
final QColor
colorProperty
(int propertyId) final double
doubleProperty
(int propertyId) boolean
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.final QBrush
int
hashCode()
final boolean
hasProperty
(int propertyId) final int
intProperty
(int propertyId) final boolean
final boolean
final boolean
isEmpty()
final boolean
final boolean
final boolean
final boolean
final boolean
boolean
isValid()
final Qt.LayoutDirection
final QTextLength
lengthProperty
(int propertyId) final QList<QTextLength>
lengthVectorProperty
(int propertyId) final void
merge
(QTextFormat other) final int
final int
final QPen
penProperty
(int propertyId) final Object
property
(int propertyId) final int
void
readFrom
(QDataStream arg__1) final void
setBackground
(QBrush brush) final void
setForeground
(QBrush brush) final void
setLayoutDirection
(Qt.LayoutDirection direction) final void
setObjectIndex
(int object) final void
setObjectType
(int type) final void
setProperty
(int propertyId, Object value) final void
setProperty
(int propertyId, Collection<? extends QTextLength> lengths) final String
stringProperty
(int propertyId) final void
swap
(QTextFormat other) final QTextBlockFormat
final QTextCharFormat
final QTextFrameFormat
final QTextImageFormat
final QTextListFormat
toString()
final QTextTableCellFormat
final QTextTableFormat
final int
type()
void
writeTo
(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) -
QTextFormat
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
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
-
readFrom
-
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
Description copied from class:QtObject
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
toString
-
clone
-