<class name="QTextInlineObject" doc="/**
&lt;p&gt;The &lt;a href=&quot;QTextInlineObject.html#QTextInlineObject()&quot;&gt;&lt;tt&gt;QTextInlineObject&lt;/tt&gt;&lt;/a&gt; class represents an inline object in a &lt;a href=&quot;QTextLayout.html&quot;&gt;&lt;tt&gt;QTextLayout&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;This class is only used if the text layout is used to lay out parts of a &lt;a href=&quot;QTextDocument.html&quot;&gt;&lt;tt&gt;QTextDocument&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The inline object has various attributes that can be set, for example using, &lt;a href=&quot;QTextInlineObject.html#setWidth(double)&quot;&gt;&lt;tt&gt;setWidth&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTextInlineObject.html#setAscent(double)&quot;&gt;&lt;tt&gt;setAscent&lt;/tt&gt;&lt;/a&gt;, and &lt;a href=&quot;QTextInlineObject.html#setDescent(double)&quot;&gt;&lt;tt&gt;setDescent&lt;/tt&gt;&lt;/a&gt;. The rectangle it occupies is given by &lt;a href=&quot;QTextInlineObject.html#rect()&quot;&gt;&lt;tt&gt;rect&lt;/tt&gt;&lt;/a&gt;, and its direction by isRightToLeft(). Its position in the text layout is given by at(), and its format is given by &lt;a href=&quot;QTextInlineObject.html#format()&quot;&gt;&lt;tt&gt;format&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */">
    <method name="public QTextInlineObject()" doc="/**
&lt;p&gt;&lt;/p&gt;
 */"/>
    <method name="public final double ascent()" doc="/**
&lt;p&gt;Returns the inline object's ascent.&lt;/p&gt;

@see &lt;a href=&quot;QTextInlineObject.html#setAscent(double)&quot;&gt;&lt;tt&gt;setAscent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextInlineObject.html#descent()&quot;&gt;&lt;tt&gt;descent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextInlineObject.html#width()&quot;&gt;&lt;tt&gt;width&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextInlineObject.html#rect()&quot;&gt;&lt;tt&gt;rect&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final double descent()" doc="/**
&lt;p&gt;Returns the inline object's descent.&lt;/p&gt;

@see &lt;a href=&quot;QTextInlineObject.html#setDescent(double)&quot;&gt;&lt;tt&gt;setDescent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextInlineObject.html#ascent()&quot;&gt;&lt;tt&gt;ascent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextInlineObject.html#width()&quot;&gt;&lt;tt&gt;width&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextInlineObject.html#rect()&quot;&gt;&lt;tt&gt;rect&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QTextFormat format()" doc="/**
&lt;p&gt;Returns format of the inline object within the text layout.&lt;/p&gt;
 */"/>
    <method name="public final int formatIndex()" doc="/**
&lt;p&gt;Returns an integer describing the format of the inline object within the text layout.&lt;/p&gt;
 */"/>
    <method name="public final double height()" doc="/**
&lt;p&gt;Returns the inline object's total height. This is equal to &lt;a href=&quot;QTextInlineObject.html#ascent()&quot;&gt;&lt;tt&gt;ascent&lt;/tt&gt;&lt;/a&gt; + &lt;a href=&quot;QTextInlineObject.html#descent()&quot;&gt;&lt;tt&gt;descent&lt;/tt&gt;&lt;/a&gt; + 1.&lt;/p&gt;

@see &lt;a href=&quot;QTextInlineObject.html#ascent()&quot;&gt;&lt;tt&gt;ascent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextInlineObject.html#descent()&quot;&gt;&lt;tt&gt;descent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextInlineObject.html#width()&quot;&gt;&lt;tt&gt;width&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextInlineObject.html#rect()&quot;&gt;&lt;tt&gt;rect&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean isValid()" doc="/**
&lt;p&gt;Returns true if this inline object is valid; otherwise returns false.&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.core.QRectF rect()" doc="/**
&lt;p&gt;Returns the inline object's rectangle.&lt;/p&gt;

@see &lt;a href=&quot;QTextInlineObject.html#ascent()&quot;&gt;&lt;tt&gt;ascent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextInlineObject.html#descent()&quot;&gt;&lt;tt&gt;descent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextInlineObject.html#width()&quot;&gt;&lt;tt&gt;width&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setAscent(double a)" doc="/**
&lt;p&gt;Sets the inline object's ascent to &lt;tt&gt;a&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTextInlineObject.html#ascent()&quot;&gt;&lt;tt&gt;ascent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextInlineObject.html#setDescent(double)&quot;&gt;&lt;tt&gt;setDescent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextInlineObject.html#width()&quot;&gt;&lt;tt&gt;width&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextInlineObject.html#rect()&quot;&gt;&lt;tt&gt;rect&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setDescent(double d)" doc="/**
&lt;p&gt;Sets the inline object's decent to &lt;tt&gt;d&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTextInlineObject.html#descent()&quot;&gt;&lt;tt&gt;descent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextInlineObject.html#setAscent(double)&quot;&gt;&lt;tt&gt;setAscent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextInlineObject.html#width()&quot;&gt;&lt;tt&gt;width&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextInlineObject.html#rect()&quot;&gt;&lt;tt&gt;rect&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setWidth(double w)" doc="/**
&lt;p&gt;Sets the inline object's width to &lt;tt&gt;w&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTextInlineObject.html#width()&quot;&gt;&lt;tt&gt;width&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextInlineObject.html#ascent()&quot;&gt;&lt;tt&gt;ascent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextInlineObject.html#descent()&quot;&gt;&lt;tt&gt;descent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextInlineObject.html#rect()&quot;&gt;&lt;tt&gt;rect&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.Qt.LayoutDirection textDirection()" doc="/**
&lt;p&gt;Returns if the object should be laid out right-to-left or left-to-right.&lt;/p&gt;
 */"/>
    <method name="public final int textPosition()" doc="/**
&lt;p&gt;The position of the inline object within the text layout.&lt;/p&gt;
 */"/>
    <method name="public final double width()" doc="/**
&lt;p&gt;Returns the inline object's width.&lt;/p&gt;

@see &lt;a href=&quot;QTextInlineObject.html#setWidth(double)&quot;&gt;&lt;tt&gt;setWidth&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextInlineObject.html#ascent()&quot;&gt;&lt;tt&gt;ascent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextInlineObject.html#descent()&quot;&gt;&lt;tt&gt;descent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextInlineObject.html#rect()&quot;&gt;&lt;tt&gt;rect&lt;/tt&gt;&lt;/a&gt; */"/>
</class>
