java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.gui.QTextFormat
io.qt.gui.QTextCharFormat
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
- Direct Known Subclasses:
QTextImageFormat
,QTextTableCellFormat
public class QTextCharFormat extends QTextFormat implements Cloneable
Formatting information for characters in a QTextDocument
Java wrapper for Qt class QTextCharFormat
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QTextCharFormat.FontPropertiesInheritanceBehavior
Java wrapper for Qt enum QTextCharFormat::FontPropertiesInheritanceBehaviorstatic class
QTextCharFormat.UnderlineStyle
Java wrapper for Qt enum QTextCharFormat::UnderlineStylestatic class
QTextCharFormat.VerticalAlignment
Java wrapper for Qt enum QTextCharFormat::VerticalAlignmentNested classes/interfaces inherited from class io.qt.gui.QTextFormat
QTextFormat.FormatType, QTextFormat.ObjectTypes, QTextFormat.PageBreakFlag, QTextFormat.PageBreakFlags, QTextFormat.Property
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description QTextCharFormat()
protected
QTextCharFormat(QTextFormat fmt)
protected
QTextCharFormat(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Methods inherited from class io.qt.gui.QTextFormat
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
-
Constructor Details
-
QTextCharFormat
public QTextCharFormat() -
QTextCharFormat
-
QTextCharFormat
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
anchorHref
-
anchorNames
-
baselineOffset
-
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
-
setBaselineOffset
-
setFont
Overloaded function for
setFont(io.qt.gui.QFont, io.qt.gui.QTextCharFormat.FontPropertiesInheritanceBehavior)
withbehavior = io.qt.gui.QTextCharFormat.FontPropertiesInheritanceBehavior.FontPropertiesAll
. -
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
-
setSubScriptBaseline
-
setSuperScriptBaseline
-
setTableCellColumnSpan
-
setTableCellRowSpan
-
setTextOutline
-
setToolTip
-
setUnderlineColor
-
setUnderlineStyle
-
setVerticalAlignment
-
subScriptBaseline
-
superScriptBaseline
-
tableCellColumnSpan
-
tableCellRowSpan
-
textOutline
-
toolTip
-
underlineColor
-
underlineStyle
-
verticalAlignment
-
clone
- Overrides:
clone
in classQTextFormat
-