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 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
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.final double
height()
final boolean
isValid()
final String
name()
final int
quality()
final void
setHeight
(double height) final void
final void
Overloaded function forsetQuality(int)
withquality = 100
.final void
setQuality
(int quality) final void
setWidth
(double width) final void
swap
(QTextImageFormat value2) Seeswap(QTextImageFormat&,
QTextImageFormat&) final double
width()
Methods inherited from class io.qt.gui.QTextCharFormat
anchorHref, anchorNames, font, fontCapitalization, fontFamilies, fontFamily, fontFixedPitch, fontHintingPreference, fontItalic, fontKerning, fontLetterSpacing, fontLetterSpacingType, fontOverline, fontPointSize, fontStretch, fontStrikeOut, fontStyleHint, fontStyleName, fontStyleStrategy, fontUnderline, fontWeight, fontWordSpacing, isAnchor, setAnchor, setAnchorHref, setAnchorNames, setFont, setFont, setFontCapitalization, setFontFamilies, setFontFamily, setFontFixedPitch, setFontHintingPreference, setFontItalic, setFontKerning, setFontLetterSpacing, setFontLetterSpacingType, setFontOverline, setFontPointSize, setFontStretch, setFontStrikeOut, setFontStyleHint, setFontStyleHint, setFontStyleName, setFontStyleStrategy, setFontUnderline, setFontWeight, setFontWordSpacing, setTableCellColumnSpan, setTableCellRowSpan, setTextOutline, setToolTip, setUnderlineColor, setUnderlineStyle, setVerticalAlignment, swap, tableCellColumnSpan, tableCellRowSpan, textOutline, toolTip, underlineColor, underlineStyle, verticalAlignment
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
-
QTextImageFormat
public QTextImageFormat() -
QTextImageFormat
-
-
Method Details
-
height
-
isValid
- Overrides:
isValid
in classQTextCharFormat
-
name
-
quality
-
setHeight
-
setName
-
setQuality
Overloaded function for
setQuality(int)
withquality = 100
. -
setQuality
-
setWidth
-
swap
See
swap(QTextImageFormat&,
QTextImageFormat&) -
width
-
clone
Creates and returns a copy of this object.
- Overrides:
clone
in classQTextCharFormat
-