- All Implemented Interfaces:
QtObjectInterface
,Cloneable
- Direct Known Subclasses:
QTextImageFormat
,QTextTableCellFormat
Formatting information for characters in a QTextDocument
Java wrapper for Qt class QTextCharFormat
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQTextCharFormat::FontPropertiesInheritanceBehavior
static enum
Java wrapper for Qt enumQTextCharFormat::UnderlineStyle
static enum
Java wrapper for Qt enumQTextCharFormat::VerticalAlignment
Nested classes/interfaces inherited from class io.qt.gui.QTextFormat
QTextFormat.FormatType, QTextFormat.ObjectTypes, QTextFormat.PageBreakFlag, QTextFormat.PageBreakFlags, QTextFormat.Property
-
Field Summary
Fields inherited from class io.qt.gui.QTextFormat
staticMetaObject
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
final QStringList
clone()
Creates and returns a copy of this object.final QFont
font()
final QFont.Capitalization
final Object
final String
final boolean
final QFont.HintingPreference
final boolean
final boolean
final double
final QFont.SpacingType
final boolean
final double
final int
final boolean
final QFont.StyleHint
final Object
final QFont.StyleStrategy
final boolean
final int
final double
final boolean
isAnchor()
boolean
isValid()
final void
setAnchor
(boolean anchor) final void
setAnchorHref
(String value) final void
setAnchorNames
(Collection<String> names) final void
final void
setFont
(QFont font, QTextCharFormat.FontPropertiesInheritanceBehavior behavior) final void
Overloaded function forsetFont(io.qt.gui.QFont)
.final void
setFont
(String font, QTextCharFormat.FontPropertiesInheritanceBehavior behavior) Overloaded function forsetFont(io.qt.gui.QFont, io.qt.gui.QTextCharFormat.FontPropertiesInheritanceBehavior)
.final void
setFontCapitalization
(QFont.Capitalization capitalization) final void
setFontFamilies
(Collection<String> families) final void
setFontFamily
(String family) final void
setFontFixedPitch
(boolean fixedPitch) final void
setFontHintingPreference
(QFont.HintingPreference hintingPreference) final void
setFontItalic
(boolean italic) final void
setFontKerning
(boolean enable) final void
setFontLetterSpacing
(double spacing) final void
setFontLetterSpacingType
(QFont.SpacingType letterSpacingType) final void
setFontOverline
(boolean overline) final void
setFontPointSize
(double size) final void
setFontStretch
(int factor) final void
setFontStrikeOut
(boolean strikeOut) final void
Overloaded function forsetFontStyleHint(io.qt.gui.QFont.StyleHint, io.qt.gui.QFont.StyleStrategy)
withstrategy = io.qt.gui.QFont.StyleStrategy.PreferDefault
.final void
setFontStyleHint
(QFont.StyleHint hint, QFont.StyleStrategy strategy) final void
setFontStyleName
(String styleName) final void
setFontStyleStrategy
(QFont.StyleStrategy strategy) final void
setFontUnderline
(boolean underline) final void
setFontWeight
(int weight) final void
setFontWordSpacing
(double spacing) final void
setTableCellColumnSpan
(int tableCellColumnSpan) SeeQTextCharFormat::
setTableCellColumnSpan(int) final void
setTableCellRowSpan
(int tableCellRowSpan) SeeQTextCharFormat::
setTableCellRowSpan(int) final void
Overloaded function forsetTextOutline(io.qt.gui.QPen)
.final void
setTextOutline
(QColor pen) Overloaded function forsetTextOutline(io.qt.gui.QPen)
.final void
setTextOutline
(QPen pen) final void
setToolTip
(String tip) final void
setUnderlineColor
(Qt.GlobalColor color) Overloaded function forsetUnderlineColor(io.qt.gui.QColor)
.final void
setUnderlineColor
(QColor color) final void
setUnderlineColor
(QRgba64 color) Overloaded function forsetUnderlineColor(io.qt.gui.QColor)
.final void
setUnderlineColor
(String color) Overloaded function forsetUnderlineColor(io.qt.gui.QColor)
.final void
final void
final void
swap
(QTextCharFormat value2) Seeswap(QTextCharFormat&,
QTextCharFormat&) final int
SeeQTextCharFormat::
tableCellColumnSpan()const final int
SeeQTextCharFormat::
tableCellRowSpan()const final QPen
final String
toolTip()
final QColor
Methods inherited from class io.qt.gui.QTextFormat
assign, background, boolProperty, brushProperty, clearBackground, clearForeground, clearProperty, colorProperty, doubleProperty, equals, equals, foreground, hashCode, hasProperty, intProperty, isBlockFormat, isCharFormat, isEmpty, isFrameFormat, isImageFormat, isListFormat, isTableCellFormat, isTableFormat, layoutDirection, lengthProperty, lengthVectorProperty, merge, objectIndex, objectType, penProperty, properties, property, propertyCount, readFrom, setBackground, setBackground, setBackground, setBackground, setBackground, setBackground, setBackground, setForeground, setForeground, setForeground, setForeground, setForeground, setForeground, setForeground, setLayoutDirection, setObjectIndex, setObjectType, setProperty, setProperty, stringProperty, swap, toBlockFormat, toCharFormat, toFrameFormat, toImageFormat, toListFormat, toString, toTableCellFormat, toTableFormat, type, writeTo
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QTextCharFormat
public QTextCharFormat() -
QTextCharFormat
-
QTextCharFormat
-
-
Method Details
-
anchorHref
-
anchorNames
-
font
-
fontCapitalization
-
fontFamilies
-
fontFamily
-
fontFixedPitch
-
fontHintingPreference
-
fontItalic
-
fontKerning
-
fontLetterSpacing
-
fontLetterSpacingType
-
fontOverline
-
fontPointSize
-
fontStretch
-
fontStrikeOut
-
fontStyleHint
-
fontStyleName
-
fontStyleStrategy
-
fontUnderline
-
fontWeight
-
fontWordSpacing
-
isAnchor
-
isValid
- Overrides:
isValid
in classQTextFormat
-
setAnchor
-
setAnchorHref
-
setAnchorNames
-
setFont
-
setFont
@QtUninvokable public final void setFont(QFont font, QTextCharFormat.FontPropertiesInheritanceBehavior behavior) -
setFontCapitalization
-
setFontFamilies
-
setFontFamily
-
setFontFixedPitch
-
setFontHintingPreference
@QtUninvokable public final void setFontHintingPreference(QFont.HintingPreference hintingPreference) -
setFontItalic
-
setFontKerning
-
setFontLetterSpacing
-
setFontLetterSpacingType
-
setFontOverline
-
setFontPointSize
-
setFontStretch
-
setFontStrikeOut
-
setFontStyleHint
@QtUninvokable public final void setFontStyleHint(QFont.StyleHint hint, QFont.StyleStrategy strategy) -
setFontStyleName
-
setFontStyleStrategy
-
setFontUnderline
-
setFontWeight
-
setFontWordSpacing
-
setTableCellColumnSpan
See
QTextCharFormat::
setTableCellColumnSpan(int) -
setTableCellRowSpan
See
QTextCharFormat::
setTableCellRowSpan(int) -
setTextOutline
-
setToolTip
-
setUnderlineColor
-
setUnderlineStyle
-
setVerticalAlignment
-
swap
See
swap(QTextCharFormat&,
QTextCharFormat&) -
tableCellColumnSpan
See
QTextCharFormat::
tableCellColumnSpan()const -
tableCellRowSpan
See
QTextCharFormat::
tableCellRowSpan()const -
textOutline
-
toolTip
-
underlineColor
-
underlineStyle
-
verticalAlignment
-
clone
Creates and returns a copy of this object.
- Overrides:
clone
in classQTextFormat
-
setFont
Overloaded function for
setFont(io.qt.gui.QFont)
. -
setFont
@QtUninvokable public final void setFont(String font, QTextCharFormat.FontPropertiesInheritanceBehavior behavior) Overloaded function for
setFont(io.qt.gui.QFont, io.qt.gui.QTextCharFormat.FontPropertiesInheritanceBehavior)
. -
setFontStyleHint
Overloaded function for
setFontStyleHint(io.qt.gui.QFont.StyleHint, io.qt.gui.QFont.StyleStrategy)
withstrategy = io.qt.gui.QFont.StyleStrategy.PreferDefault
. -
setTextOutline
Overloaded function for
setTextOutline(io.qt.gui.QPen)
. -
setTextOutline
Overloaded function for
setTextOutline(io.qt.gui.QPen)
. -
setUnderlineColor
Overloaded function for
setUnderlineColor(io.qt.gui.QColor)
. -
setUnderlineColor
Overloaded function for
setUnderlineColor(io.qt.gui.QColor)
. -
setUnderlineColor
Overloaded function for
setUnderlineColor(io.qt.gui.QColor)
.
-