java.lang.Object
io.qt.QtObject
io.qt.gui.QTextFormat
io.qt.gui.QTextCharFormat
- 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
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Field Summary
Fields inherited from class io.qt.gui.QTextFormat
staticMetaObject
-
Constructor Summary
ModifierConstructorDescriptionprotected
-
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
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
setTextOutline
(QPen pen) final void
setToolTip
(String tip) final void
setUnderlineColor
(QColor color) 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, foreground, hashCode, hasProperty, intProperty, isBlockFormat, isCharFormat, isEmpty, isFrameFormat, isImageFormat, isListFormat, isTableCellFormat, isTableFormat, layoutDirection, lengthProperty, lengthVectorProperty, merge, objectIndex, objectType, penProperty, properties, property, propertyCount, readFrom, setBackground, 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
-
-
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
Overloaded function for
setFontStyleHint(io.qt.gui.QFont.StyleHint, io.qt.gui.QFont.StyleStrategy)
withstrategy = io.qt.gui.QFont.StyleStrategy.PreferDefault
. -
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
-