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
-
Field Summary
Fields inherited from class io.qt.gui.QTextFormat
staticMetaObject
-
Constructor Summary
ModifierConstructorDescriptionprotected
QTextImageFormat
(QTextFormat format) QTextImageFormat
(QTextImageFormat other) -
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, 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, setTextOutline, setTextOutline, setToolTip, setUnderlineColor, setUnderlineColor, setUnderlineColor, 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, 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
-
QTextImageFormat
public QTextImageFormat() -
QTextImageFormat
- Parameters:
format
-
-
QTextImageFormat
- Parameters:
other
-
-
-
Method Details
-
height
- Returns:
-
isValid
- Overrides:
isValid
in classQTextCharFormat
- Returns:
-
name
- Returns:
-
quality
- Returns:
- Since:
- This function was introduced in Qt 5.12.
-
setHeight
- Parameters:
height
-
-
setName
- Parameters:
name
-
-
setQuality
- Parameters:
quality
-- Since:
- This function was introduced in Qt 5.12.
-
setWidth
- Parameters:
width
-
-
swap
See
swap(QTextImageFormat&,
QTextImageFormat&) - Parameters:
value2
-
-
width
- Returns:
-
clone
Creates and returns a copy of this object.
- Overrides:
clone
in classQTextCharFormat
-
setQuality
Overloaded function for
setQuality(int)
withquality = 100
.
-