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 QTextLength
final String
name()
final int
quality()
final void
setHeight
(double height) final void
setMaximumWidth
(QTextLength maxWidth) final void
final void
Deprecated.Pass a quality value, the default is 100final 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, baselineOffset, font, fontCapitalization, fontFamilies, fontFamily, fontFixedPitch, fontHintingPreference, fontItalic, fontKerning, fontLetterSpacing, fontLetterSpacingType, fontOverline, fontPointSize, fontStretch, fontStrikeOut, fontStyleHint, fontStyleName, fontStyleStrategy, fontUnderline, fontWeight, fontWordSpacing, isAnchor, readFrom, setAnchor, setAnchorHref, setAnchorNames, setBaselineOffset, setFont, setFont, 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, setTextOutline, setTextOutline, setToolTip, setUnderlineColor, setUnderlineColor, setUnderlineColor, setUnderlineColor, setUnderlineStyle, setVerticalAlignment, subScriptBaseline, superScriptBaseline, swap, tableCellColumnSpan, tableCellRowSpan, textOutline, toolTip, underlineColor, underlineStyle, verticalAlignment, writeTo
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, 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
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:
-
maximumWidth
- Returns:
-
name
- Returns:
-
quality
- Returns:
-
setHeight
- Parameters:
height
-
-
setMaximumWidth
- Parameters:
maxWidth
-
-
setName
- Parameters:
name
-
-
setQuality
Deprecated.Pass a quality value, the default is 100 -
setQuality
- Parameters:
quality
-
-
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
-