Sophie

Sophie

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

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

<class name="QPaintEvent" doc="/**
&lt;p&gt;The &lt;a href=&quot;QPaintEvent.html#QPaintEvent(com.trolltech.qt.core.QRect)&quot;&gt;&lt;tt&gt;QPaintEvent&lt;/tt&gt;&lt;/a&gt; class contains event parameters for paint events.&lt;/p&gt;
&lt;p&gt;Paint events are sent to widgets that need to update themselves, for instance when part of a widget is exposed because a covering widget was moved.&lt;/p&gt;
&lt;p&gt;The event contains a &lt;a href=&quot;QPaintEvent.html#region()&quot;&gt;&lt;tt&gt;region&lt;/tt&gt;&lt;/a&gt; that needs to be updated, and a &lt;a href=&quot;QPaintEvent.html#rect()&quot;&gt;&lt;tt&gt;rect&lt;/tt&gt;&lt;/a&gt; that is the bounding rectangle of that region. Both are provided because many widgets can't make much use of &lt;a href=&quot;QPaintEvent.html#region()&quot;&gt;&lt;tt&gt;region&lt;/tt&gt;&lt;/a&gt;, and &lt;a href=&quot;QPaintEvent.html#rect()&quot;&gt;&lt;tt&gt;rect&lt;/tt&gt;&lt;/a&gt; can be much faster than &lt;a href=&quot;QPaintEvent.html#region()&quot;&gt;&lt;tt&gt;region&lt;/tt&gt;&lt;/a&gt;.boundingRect(). Painting is clipped to &lt;a href=&quot;QPaintEvent.html#region()&quot;&gt;&lt;tt&gt;region&lt;/tt&gt;&lt;/a&gt; during the processing of a paint event.&lt;/p&gt;

@see &lt;a href=&quot;QPainter.html&quot;&gt;&lt;tt&gt;QPainter&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QWidget::update&lt;/tt&gt;
@see &lt;tt&gt;QWidget::repaint&lt;/tt&gt;
@see &lt;tt&gt;QWidget::paintEvent&lt;/tt&gt; */">
    <method name="public QPaintEvent(com.trolltech.qt.gui.QRegion paintRegion)" doc="/**
&lt;p&gt;Constructs a paint event object with the region that needs to be updated. The region is specified by &lt;tt&gt;paintRegion&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public QPaintEvent(com.trolltech.qt.core.QRect paintRect)" doc="/**
&lt;p&gt;Constructs a paint event object with the rectangle that needs to be updated. The region is specified by &lt;tt&gt;paintRect&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.core.QRect rect()" doc="/**
&lt;p&gt;Returns the rectangle that needs to be updated.&lt;/p&gt;

@see &lt;a href=&quot;QPaintEvent.html#region()&quot;&gt;&lt;tt&gt;region&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QPainter::setClipRect&lt;/tt&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QRegion region()" doc="/**
&lt;p&gt;Returns the region that needs to be updated.&lt;/p&gt;

@see &lt;a href=&quot;QPaintEvent.html#rect()&quot;&gt;&lt;tt&gt;rect&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QPainter::setClipRegion&lt;/tt&gt; */"/>
    <method name="protected final com.trolltech.qt.core.QRect m_rect()"/>
    <method name="protected final void setM_rect(com.trolltech.qt.core.QRect m_rect)"/>
    <method name="protected final boolean m_erased()"/>
    <method name="protected final void setM_erased(boolean m_erased)"/>
    <method name="protected final com.trolltech.qt.gui.QRegion m_region()"/>
    <method name="protected final void setM_region(com.trolltech.qt.gui.QRegion m_region)"/>
</class>