- 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
-
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) final boolean
equals
(QTextFormat rhs) 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
void
readFrom
(QDataStream arg__1) Seeoperator>>(QDataStream&,
QTextFormat&) final void
setBackground
(Qt.BrushStyle brush) Overloaded function forsetBackground(io.qt.gui.QBrush)
.final void
setBackground
(Qt.GlobalColor brush) Overloaded function forsetBackground(io.qt.gui.QBrush)
.final void
setBackground
(QBrush brush) final void
setBackground
(QColor brush) Overloaded function forsetBackground(io.qt.gui.QBrush)
.final void
setBackground
(QGradient brush) Overloaded function forsetBackground(io.qt.gui.QBrush)
.final void
setBackground
(QImage brush) Overloaded function forsetBackground(io.qt.gui.QBrush)
.final void
setBackground
(QPixmap brush) Overloaded function forsetBackground(io.qt.gui.QBrush)
.final void
setForeground
(Qt.BrushStyle brush) Overloaded function forsetForeground(io.qt.gui.QBrush)
.final void
setForeground
(Qt.GlobalColor brush) Overloaded function forsetForeground(io.qt.gui.QBrush)
.final void
setForeground
(QBrush brush) final void
setForeground
(QColor brush) Overloaded function forsetForeground(io.qt.gui.QBrush)
.final void
setForeground
(QGradient brush) Overloaded function forsetForeground(io.qt.gui.QBrush)
.final void
setForeground
(QImage brush) Overloaded function forsetForeground(io.qt.gui.QBrush)
.final void
setForeground
(QPixmap brush) Overloaded function forsetForeground(io.qt.gui.QBrush)
.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()
Seeoperator<<(QDebug,
QTextFormat) final QTextTableCellFormat
final QTextTableFormat
final int
type()
void
writeTo
(QDataStream arg__1) Seeoperator<<(QDataStream&,
QTextFormat) 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
See
operator<<(QDataStream&,
QTextFormat) -
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)
.
-