java.lang.Object
io.qt.QtObject
io.qt.gui.QTextFormat
io.qt.gui.QTextCharFormat
io.qt.gui.QTextImageFormat
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Formatting information for images in a QTextDocument
Java wrapper for Qt's class QTextImageFormat
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.gui.QTextCharFormat
QTextCharFormat.FontPropertiesInheritanceBehavior, QTextCharFormat.UnderlineStyle, QTextCharFormat.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
QTextImageFormat
(QTextFormat format) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionclone()
final double
height()
final boolean
isValid()
final String
name()
final int
quality()
final void
setHeight
(double height) final void
final void
Deprecated.Pass a quality value, the default is 100final void
setQuality
(int quality) final void
setWidth
(double width) final double
width()
Methods inherited from class io.qt.gui.QTextCharFormat
anchorHref, anchorNames, baselineOffset, font, fontCapitalization, fontFamilies, fontFamily, fontFixedPitch, fontHintingPreference, fontItalic, fontKerning, fontLetterSpacing, fontLetterSpacingType, fontOverline, fontPointSize, fontStretch, fontStrikeOut, fontStyleHint, fontStyleName, fontStyleStrategy, fontUnderline, fontWeight, fontWordSpacing, isAnchor, setAnchor, setAnchorHref, setAnchorNames, setBaselineOffset, setFont, setFont, setFontCapitalization, setFontFamilies, setFontFamily, setFontFixedPitch, setFontHintingPreference, setFontItalic, setFontKerning, setFontLetterSpacing, setFontLetterSpacingType, setFontOverline, setFontPointSize, setFontStretch, setFontStrikeOut, setFontStyleHint, setFontStyleHint, setFontStyleName, setFontStyleStrategy, setFontUnderline, setFontWeight, setFontWordSpacing, setSubScriptBaseline, setSuperScriptBaseline, setTableCellColumnSpan, setTableCellRowSpan, setTextOutline, setToolTip, setUnderlineColor, setUnderlineStyle, setVerticalAlignment, subScriptBaseline, superScriptBaseline, tableCellColumnSpan, tableCellRowSpan, textOutline, toolTip, underlineColor, underlineStyle, verticalAlignment
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, setBackground, setForeground, setLayoutDirection, setObjectIndex, setObjectType, setProperty, setProperty, stringProperty, swap, toBlockFormat, toCharFormat, toFrameFormat, toImageFormat, toListFormat, toString, toTableCellFormat, toTableFormat, type
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QTextImageFormat
public QTextImageFormat() -
QTextImageFormat
-
QTextImageFormat
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
height
-
isValid
- Overrides:
isValid
in classQTextCharFormat
-
name
-
quality
-
setHeight
-
setName
-
setQuality
Deprecated.Pass a quality value, the default is 100 -
setQuality
-
setWidth
-
width
-
clone
- Overrides:
clone
in classQTextCharFormat
-