~ubuntu-branches/ubuntu/precise/python-qt4/precise-proposed

« back to all changes in this revision

Viewing changes to doc/html/qpaintevent.html

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell, Jonathan Riddell
  • Date: 2010-11-08 16:13:33 UTC
  • mfrom: (1.5.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20101108161333-0nec4wu0nz3wpf9r
Tags: 4.8.1-0ubuntu1
[ Jonathan Riddell ]
* New upstream release
* Build against python-sip-dev 4.11.2
* Remove kubuntu_02_fix-scpk-and-flag-issue.diff merged upstream
* Install __init__.py into /usr/lib/python3.2/dist-packages/PyQt4,
  fixes Python 3 support
* Add QtDeclarative to python-qt4
* Add kubuntu_03_uiparser.diff from upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
td.postheader { font-family: sans-serif }
7
7
tr.address { font-family: sans-serif }
8
8
body { background: #ffffff; color: black; }
9
 
</style></head><body><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr /><td align="left" valign="top" width="32"><img align="left" border="0" height="32" src="images/rb-logo.png" width="32" /></td><td width="1">&#160;&#160;</td><td class="postheader" valign="center"><a href="../pyqt4ref.html"><font color="#004faf">Home</font></a>&#160;&#183; <a href="classes.html"><font color="#004faf">All Classes</font></a>&#160;&#183; <a href="modules.html"><font color="#004faf">Modules</font></a></td></table><h1 align="center">QPaintEvent Class Reference<br /><sup><sup>[<a href="qtgui.html">QtGui</a> module]</sup></sup></h1><p>The QPaintEvent class contains event parameters for paint events. <a href="#details">More...</a></p>
10
 
<p>Inherits <a href="qevent.html">QEvent</a>.</p><h3>Methods</h3><ul><li><div class="fn" /><b><a href="qpaintevent.html#QPaintEvent">__init__</a></b> (<i>self</i>, QRegion)</li><li><div class="fn" /><b><a href="qpaintevent.html#QPaintEvent-2">__init__</a></b> (<i>self</i>, QRect)</li><li><div class="fn" /><b><a href="qpaintevent.html#QPaintEvent-3">__init__</a></b> (<i>self</i>, QPaintEvent)</li><li><div class="fn" />QRect <b><a href="qpaintevent.html#rect">rect</a></b> (<i>self</i>)</li><li><div class="fn" />QRegion <b><a href="qpaintevent.html#region">region</a></b> (<i>self</i>)</li></ul><a name="details" /><hr /><h2>Detailed Description</h2><p>The QPaintEvent class contains event parameters for paint events.</p>
11
 
<p>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.</p>
12
 
<p>The event contains a <a href="qpaintevent.html#region">region</a>() that needs to be updated, and a <a href="qpaintevent.html#rect">rect</a>() that is the bounding rectangle of that region. Both are provided because many widgets can't make much use of <a href="qpaintevent.html#region">region</a>(), and <a href="qpaintevent.html#rect">rect</a>() can be much faster than <a href="qpaintevent.html#region">region</a>().boundingRect().</p>
13
 
<a name="automatic-clipping" />
 
9
</style></head><body><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr /><td align="left" valign="top" width="32"><img align="left" border="0" height="32" src="images/rb-logo.png" width="32" /></td><td width="1">&#160;&#160;</td><td class="postheader" valign="center"><a href="../pyqt4ref.html"><font color="#004faf">Home</font></a>&#160;&#183; <a href="classes.html"><font color="#004faf">All Classes</font></a>&#160;&#183; <a href="modules.html"><font color="#004faf">Modules</font></a></td></table><h1 align="center">QPaintEvent Class Reference<br /><sup><sup>[<a href="qtgui.html">QtGui</a> module]</sup></sup></h1><p>The QPaintEvent class contains event parameters for paint
 
10
events. <a href="#details">More...</a></p>
 
11
 
 
12
<p>Inherits <a href="qevent.html">QEvent</a>.</p><h3>Methods</h3><ul><li><div class="fn" /><b><a href="qpaintevent.html#QPaintEvent">__init__</a></b> (<i>self</i>, QRegion)</li><li><div class="fn" /><b><a href="qpaintevent.html#QPaintEvent-2">__init__</a></b> (<i>self</i>, QRect)</li><li><div class="fn" /><b><a href="qpaintevent.html#QPaintEvent-3">__init__</a></b> (<i>self</i>, QPaintEvent)</li><li><div class="fn" />QRect <b><a href="qpaintevent.html#rect">rect</a></b> (<i>self</i>)</li><li><div class="fn" />QRegion <b><a href="qpaintevent.html#region">region</a></b> (<i>self</i>)</li></ul><a name="details" /><hr /><h2>Detailed Description</h2><p>The QPaintEvent class contains event parameters for paint
 
13
events.</p>
 
14
<p>Paint events are sent to widgets that need to update themselves,
 
15
for instance when part of a widget is exposed because a covering
 
16
widget was moved.</p>
 
17
<p>The event contains a <a href="qpaintevent.html#region">region</a>() that needs to be updated,
 
18
and a <a href="qpaintevent.html#rect">rect</a>() that is the
 
19
bounding rectangle of that region. Both are provided because many
 
20
widgets can't make much use of <a href="qpaintevent.html#region">region</a>(), and <a href="qpaintevent.html#rect">rect</a>() can be much faster than <a href="qpaintevent.html#region">region</a>().boundingRect().</p>
 
21
<a id="automatic-clipping" name="automatic-clipping" />
14
22
<h3>Automatic Clipping</h3>
15
 
<p>Painting is clipped to <a href="qpaintevent.html#region">region</a>() during the processing of a paint event. This clipping is performed by Qt's paint system and is independent of any clipping that may be applied to a <a href="qpainter.html">QPainter</a> used to draw on the paint device.</p>
16
 
<p>As a result, the value returned by <a href="qpainter.html#clipRegion">QPainter.clipRegion</a>() on a newly-constructed <a href="qpainter.html">QPainter</a> will not reflect the clip region that is used by the paint system.</p>
17
 
<p>See also <a href="qpainter.html">QPainter</a>, <a href="qwidget.html#update">QWidget.update</a>(), <a href="qwidget.html#repaint">QWidget.repaint</a>(), and <a href="qwidget.html#paintEvent">QWidget.paintEvent</a>().</p>
18
 
<hr /><h2>Method Documentation</h2><h3 class="fn"><a name="QPaintEvent" />QPaintEvent.__init__ (<i>self</i>, <a href="qregion.html">QRegion</a>)</h3><p>Constructs a paint event object with the region that needs to be updated. The region is specified by <i>paintRegion</i>.</p>
19
 
<h3 class="fn"><a name="QPaintEvent-2" />QPaintEvent.__init__ (<i>self</i>, <a href="qrect.html">QRect</a>)</h3><p>Constructs a paint event object with the rectangle that needs to be updated. The region is specified by <i>paintRect</i>.</p>
20
 
<a name="//apple_ref/cpp/instm/QPaintEvent/rect" />
 
23
<p>Painting is clipped to <a href="qpaintevent.html#region">region</a>() during the processing of a
 
24
paint event. This clipping is performed by Qt's paint system and is
 
25
independent of any clipping that may be applied to a <a href="qpainter.html">QPainter</a> used to draw on the paint device.</p>
 
26
<p>As a result, the value returned by <a href="qpainter.html#clipRegion">QPainter.clipRegion</a>() on a
 
27
newly-constructed <a href="qpainter.html">QPainter</a> will not
 
28
reflect the clip region that is used by the paint system.</p>
 
29
<hr /><h2>Method Documentation</h2><h3 class="fn"><a name="QPaintEvent" />QPaintEvent.__init__ (<i>self</i>, <a href="qregion.html">QRegion</a>)</h3><p>Constructs a paint event object with the region that needs to be
 
30
updated. The region is specified by <i>paintRegion</i>.</p>
 
31
 
 
32
 
 
33
<h3 class="fn"><a name="QPaintEvent-2" />QPaintEvent.__init__ (<i>self</i>, <a href="qrect.html">QRect</a>)</h3><p>Constructs a paint event object with the rectangle that needs to
 
34
be updated. The region is specified by <i>paintRect</i>.</p>
 
35
 
 
36
 
21
37
<h3 class="fn"><a name="QPaintEvent-3" />QPaintEvent.__init__ (<i>self</i>, <a href="qpaintevent.html">QPaintEvent</a>)</h3><h3 class="fn"><a name="rect" /><a href="qrect.html">QRect</a> QPaintEvent.rect (<i>self</i>)</h3><p>Returns the rectangle that needs to be updated.</p>
22
 
<p>See also <a href="qpaintevent.html#region">region</a>() and <a href="qpainter.html#setClipRect">QPainter.setClipRect</a>().</p>
23
 
<a name="//apple_ref/cpp/instm/QPaintEvent/region" />
 
38
<p>See also <a href="qpaintevent.html#region">region</a>() and
 
39
<a href="qpainter.html#setClipRect">QPainter.setClipRect</a>().</p>
 
40
 
 
41
 
24
42
<h3 class="fn"><a name="region" /><a href="qregion.html">QRegion</a> QPaintEvent.region (<i>self</i>)</h3><p>Returns the region that needs to be updated.</p>
25
43
<p>See also <a href="qpaintevent.html#rect">rect</a>() and <a href="qpainter.html#setClipRegion">QPainter.setClipRegion</a>().</p>
26
 
<p /><address><hr /><div align="center"><table border="0" cellspacing="0" width="100%"><tr class="address"><td align="left" width="25%">PyQt&#160;4.7.7 for X11</td><td align="center" width="50%">Copyright &#169; <a href="http://www.riverbankcomputing.com">Riverbank&#160;Computing&#160;Ltd</a> and <a href="http://www.qtsoftware.com">Nokia</a> 2010</td><td align="right" width="25%">Qt&#160;4.6.3</td></tr></table></div></address></body></html>
 
 
b'\\ No newline at end of file'
 
44
<address><hr /><div align="center"><table border="0" cellspacing="0" width="100%"><tr class="address"><td align="left" width="25%">PyQt&#160;4.8.1 for X11</td><td align="center" width="50%">Copyright &#169; <a href="http://www.riverbankcomputing.com">Riverbank&#160;Computing&#160;Ltd</a> and <a href="http://www.qtsoftware.com">Nokia</a> 2010</td><td align="right" width="25%">Qt&#160;4.7.0</td></tr></table></div></address></body></html>
 
 
b'\\ No newline at end of file'