- 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
- Parameters:
rhs
-
-
QTextFormat
public QTextFormat(int type) - Parameters:
type
-
-
-
Method Details
-
background
- Returns:
-
boolProperty
- Parameters:
propertyId
-- Returns:
-
brushProperty
- Parameters:
propertyId
-- Returns:
-
clearBackground
-
clearForeground
-
clearProperty
- Parameters:
propertyId
-
-
colorProperty
- Parameters:
propertyId
-- Returns:
-
doubleProperty
- Parameters:
propertyId
-- Returns:
-
foreground
- Returns:
-
hasProperty
- Parameters:
propertyId
-- Returns:
-
intProperty
- Parameters:
propertyId
-- Returns:
-
isBlockFormat
- Returns:
-
isCharFormat
- Returns:
-
isEmpty
- Returns:
-
isFrameFormat
- Returns:
-
isImageFormat
- Returns:
-
isListFormat
- Returns:
-
isTableCellFormat
- Returns:
-
isTableFormat
- Returns:
-
isValid
- Returns:
-
layoutDirection
- Returns:
-
lengthProperty
- Parameters:
propertyId
-- Returns:
-
lengthVectorProperty
- Parameters:
propertyId
-- Returns:
-
merge
- Parameters:
other
-
-
objectIndex
- Returns:
-
objectType
- Returns:
-
writeTo
See
operator<<(QDataStream&,
QTextFormat) - Parameters:
arg__1
-
-
assign
- Parameters:
rhs
-
-
equals
- Parameters:
rhs
-- Returns:
-
readFrom
See
operator>>(QDataStream&,
QTextFormat&) - Parameters:
arg__1
-
-
penProperty
- Parameters:
propertyId
-- Returns:
-
properties
- Returns:
-
property
- Parameters:
propertyId
-- Returns:
-
propertyCount
- Returns:
-
setBackground
- Parameters:
brush
-
-
setForeground
- Parameters:
brush
-
-
setLayoutDirection
- Parameters:
direction
-
-
setObjectIndex
- Parameters:
object
-
-
setObjectType
- Parameters:
type
-
-
setProperty
@QtUninvokable public final void setProperty(int propertyId, Collection<? extends QTextLength> lengths) - Parameters:
propertyId
-lengths
-
-
setProperty
- Parameters:
propertyId
-value
-
-
stringProperty
- Parameters:
propertyId
-- Returns:
-
swap
- Parameters:
other
-
-
toBlockFormat
- Returns:
-
toCharFormat
- Returns:
-
toFrameFormat
- Returns:
-
toImageFormat
- Returns:
-
toListFormat
- Returns:
-
toTableCellFormat
- Returns:
-
toTableFormat
- Returns:
-
type
- Returns:
-
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)
.
-