Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 1903

qtjambi-doc-4.3.3-3mdv2008.1.i586.rpm

<class name="QAbstractTextDocumentLayout_Selection" doc="/**
&lt;p&gt;The QAbstractTextDocumentLayout::Selection class is a convenience class defining the parameters of a selection.&lt;/p&gt;
&lt;p&gt;A selection can be used to specify a part of a document that should be rendere when drawing custom layouts for QTextDocuments with the QAbstractTextDocumentLayout::draw() function, and is specified by a &lt;a href=&quot;QAbstractTextDocumentLayout_Selection.html#cursor()&quot;&gt;cursor&lt;/tt&gt;&lt;/a&gt; and a &lt;a href=&quot;QAbstractTextDocumentLayout_Selection.html#format()&quot;&gt;format&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractTextDocumentLayout.html&quot;&gt;&lt;tt&gt;QAbstractTextDocumentLayout&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;PaintContext&lt;/tt&gt; */">
    <method name="public QAbstractTextDocumentLayout_Selection()"/>
    <method name="public final com.trolltech.qt.gui.QTextCursor cursor()" doc="/**
&lt;p&gt;Returns the selection's cursor.&lt;/p&gt;
&lt;p&gt;The default value is a null cursor.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractTextDocumentLayout_Selection.html#setCursor(com.trolltech.qt.gui.QTextCursor)&quot;&gt;&lt;tt&gt;setCursor&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setCursor(com.trolltech.qt.gui.QTextCursor cursor)" doc="/**
&lt;p&gt;Sets the selection's cursor to &lt;tt&gt;cursor&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The default value is a null cursor.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractTextDocumentLayout_Selection.html#cursor()&quot;&gt;&lt;tt&gt;cursor&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QTextCharFormat format()" doc="/**
&lt;p&gt;Returns the format of the selection.&lt;/p&gt;
&lt;p&gt;The default value is QTextFormat::InvalidFormat.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractTextDocumentLayout_Selection.html#setFormat(com.trolltech.qt.gui.QTextCharFormat)&quot;&gt;&lt;tt&gt;setFormat&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setFormat(com.trolltech.qt.gui.QTextCharFormat format)" doc="/**
&lt;p&gt;Sets the format of the selection to &lt;tt&gt;format&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The default value is QTextFormat::InvalidFormat.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractTextDocumentLayout_Selection.html#format()&quot;&gt;&lt;tt&gt;format&lt;/tt&gt;&lt;/a&gt; */"/>
</class>