java.lang.Object
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 enumQTextFormat::FormatType
static enum
Java wrapper for Qt enumQTextFormat::ObjectTypes
static enum
Java wrapper for Qt enumQTextFormat::PageBreakFlag
static final class
QFlags
type for enumQTextFormat.PageBreakFlag
static enum
Java wrapper for Qt enumQTextFormat::Property
Nested 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
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QTextFormat rhs) final QBrush
final boolean
boolProperty
(int propertyId) final QBrush
brushProperty
(int propertyId) final void
final void
final void
clearProperty
(int propertyId) clone()
Creates and returns a copy of this object.final QColor
colorProperty
(int propertyId) final double
doubleProperty
(int propertyId) boolean
final QBrush
int
hashCode()
Returns the objects's hash code computed byqHash(QTextFormat)
.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 QMap<@QtPrimitiveType Integer,
Object> final Object
property
(int propertyId) final int
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, Collection<? extends QTextLength> lengths) final void
setProperty
(int propertyId, Object value) final String
stringProperty
(int propertyId) final void
swap
(QTextFormat other) final QTextBlockFormat
final QTextCharFormat
final QTextFrameFormat
final QTextImageFormat
final QTextListFormat
toString()
Seeoperator<<(QDebug,
QTextFormat) final QTextTableCellFormat
final QTextTableFormat
final int
type()
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
-
assign
-
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.
-