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
public class QTextFormat extends QtObject implements Cloneable
Formatting information for a QTextDocument
Java wrapper for Qt class QTextFormat
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QTextFormat.FormatType
Java wrapper for Qt enum QTextFormat::FormatTypestatic class
QTextFormat.ObjectTypes
Java wrapper for Qt enum QTextFormat::ObjectTypesstatic class
QTextFormat.PageBreakFlag
Java wrapper for Qt enum QTextFormat::PageBreakFlagstatic class
QTextFormat.PageBreakFlags
QFlags type for enumQTextFormat.PageBreakFlag
static class
QTextFormat.Property
Java wrapper for Qt enum QTextFormat::Property -
Field Summary
Fields Modifier and Type Field Description static QMetaObject
staticMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
Constructors Modifier Constructor Description QTextFormat()
QTextFormat(int type)
QTextFormat(QTextFormat rhs)
protected
QTextFormat(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
-
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
-
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
-