java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.gui.QTextFormat
io.qt.gui.QTextCharFormat
io.qt.gui.QTextImageFormat
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QTextImageFormat extends QTextCharFormat implements 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
-
Constructor Summary
Constructors Modifier Constructor Description QTextImageFormat()
protected
QTextImageFormat(QTextFormat format)
protected
QTextImageFormat(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description QTextImageFormat
clone()
double
height()
boolean
isValid()
String
name()
int
quality()
void
setHeight(double height)
void
setName(String name)
void
setQuality()
Overloaded function forsetQuality(int)
withquality = 100
.void
setQuality(int quality)
void
setWidth(double width)
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, 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, readFrom, setBackground, setForeground, setLayoutDirection, setObjectIndex, setObjectType, setProperty, setProperty, stringProperty, swap, toBlockFormat, toCharFormat, toFrameFormat, toImageFormat, toListFormat, toString, toTableCellFormat, toTableFormat, type, writeTo
-
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
Overloaded function for
setQuality(int)
withquality = 100
. -
setQuality
-
setWidth
-
width
-
clone
- Overrides:
clone
in classQTextCharFormat
-