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

« back to all changes in this revision

Viewing changes to doc/html/qsizegrip.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">QSizeGrip Class Reference<br /><sup><sup>[<a href="qtgui.html">QtGui</a> module]</sup></sup></h1><p>The QSizeGrip class provides a resize handle for resizing top-level windows. <a href="#details">More...</a></p>
10
 
<p>Inherits <a href="qwidget.html">QWidget</a>.</p><h3>Methods</h3><ul><li><div class="fn" /><b><a href="qsizegrip.html#QSizeGrip">__init__</a></b> (<i>self</i>, QWidget)</li><li><div class="fn" />bool <b><a href="qsizegrip.html#event">event</a></b> (<i>self</i>, QEvent)</li><li><div class="fn" />bool <b><a href="qsizegrip.html#eventFilter">eventFilter</a></b> (<i>self</i>, QObject, QEvent)</li><li><div class="fn" /><b><a href="qsizegrip.html#hideEvent">hideEvent</a></b> (<i>self</i>, QHideEvent)</li><li><div class="fn" /><b><a href="qsizegrip.html#mouseMoveEvent">mouseMoveEvent</a></b> (<i>self</i>, QMouseEvent)</li><li><div class="fn" /><b><a href="qsizegrip.html#mousePressEvent">mousePressEvent</a></b> (<i>self</i>, QMouseEvent)</li><li><div class="fn" /><b><a href="qsizegrip.html#mouseReleaseEvent">mouseReleaseEvent</a></b> (<i>self</i>, QMouseEvent)</li><li><div class="fn" /><b><a href="qsizegrip.html#moveEvent">moveEvent</a></b> (<i>self</i>, QMoveEvent)</li><li><div class="fn" /><b><a href="qsizegrip.html#paintEvent">paintEvent</a></b> (<i>self</i>, QPaintEvent)</li><li><div class="fn" /><b><a href="qsizegrip.html#setVisible">setVisible</a></b> (<i>self</i>, bool)</li><li><div class="fn" /><b><a href="qsizegrip.html#showEvent">showEvent</a></b> (<i>self</i>, QShowEvent)</li><li><div class="fn" />QSize <b><a href="qsizegrip.html#sizeHint">sizeHint</a></b> (<i>self</i>)</li></ul><a name="details" /><hr /><h2>Detailed Description</h2><p>The QSizeGrip class provides a resize handle for resizing top-level windows.</p>
11
 
<p>This widget works like the standard Windows resize handle. In the X11 version this resize handle generally works differently from the one provided by the system if the X11 window manager does not support necessary modern post-ICCCM specifications.</p>
12
 
<p>Put this widget anywhere in a widget tree and the user can use it to resize the top-level window or any widget with the <a href="qt.html#WindowType-enum">Qt.SubWindow</a> flag set. Generally, this should be in the lower right-hand corner. Note that <a href="qstatusbar.html">QStatusBar</a> already uses this widget, so if you have a status bar (e.g., you are using <a href="qmainwindow.html">QMainWindow</a>), then you don't need to use this widget explicitly.</p>
13
 
<p>On some platforms the size grip automatically hides itself when the window is shown full screen or maximised.</p>
14
 
<p><table align="center" border="0" cellpadding="2" cellspacing="1" class="generic" width="50%">
15
 
<tr class="odd" valign="top"><td><img alt="Screenshot of a Plastique style size grip" src="images/plastique-sizegrip.png" /></td><td>A size grip widget at the bottom-right corner of a main window, shown in the <a href="gallery-plastique.html">Plastique widget style</a>.</td></tr>
16
 
</table></p>
17
 
<p>The QSizeGrip class inherits <a href="qwidget.html">QWidget</a> and reimplements the <a href="qwidget.html#mousePressEvent">mousePressEvent()</a> and <a href="qwidget.html#mouseMoveEvent">mouseMoveEvent()</a> functions to feature the resize functionality, and the <a href="qwidget.html#paintEvent">paintEvent()</a> function to render the size grip widget.</p>
18
 
<p>See also <a href="qstatusbar.html">QStatusBar</a> and <a href="qwidget.html#windowState">QWidget.windowState</a>().</p>
19
 
<hr /><h2>Method Documentation</h2><h3 class="fn"><a name="QSizeGrip" />QSizeGrip.__init__ (<i>self</i>, <a href="qwidget.html">QWidget</a>)</h3><p>The <i>QWidget</i> argument, if not None, causes <i>self</i> to be owned by Qt instead of PyQt.</p><p>Constructs a resize corner as a child widget of the given <i>parent</i>.</p>
20
 
<a name="//apple_ref/cpp/instm/QSizeGrip/~QSizeGrip" />
 
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">QSizeGrip Class Reference<br /><sup><sup>[<a href="qtgui.html">QtGui</a> module]</sup></sup></h1><p>The QSizeGrip class provides a resize handle for resizing
 
10
top-level windows. <a href="#details">More...</a></p>
 
11
 
 
12
<p>Inherits <a href="qwidget.html">QWidget</a>.</p><h3>Methods</h3><ul><li><div class="fn" /><b><a href="qsizegrip.html#QSizeGrip">__init__</a></b> (<i>self</i>, QWidget)</li><li><div class="fn" />bool <b><a href="qsizegrip.html#event">event</a></b> (<i>self</i>, QEvent)</li><li><div class="fn" />bool <b><a href="qsizegrip.html#eventFilter">eventFilter</a></b> (<i>self</i>, QObject, QEvent)</li><li><div class="fn" /><b><a href="qsizegrip.html#hideEvent">hideEvent</a></b> (<i>self</i>, QHideEvent)</li><li><div class="fn" /><b><a href="qsizegrip.html#mouseMoveEvent">mouseMoveEvent</a></b> (<i>self</i>, QMouseEvent)</li><li><div class="fn" /><b><a href="qsizegrip.html#mousePressEvent">mousePressEvent</a></b> (<i>self</i>, QMouseEvent)</li><li><div class="fn" /><b><a href="qsizegrip.html#mouseReleaseEvent">mouseReleaseEvent</a></b> (<i>self</i>, QMouseEvent)</li><li><div class="fn" /><b><a href="qsizegrip.html#moveEvent">moveEvent</a></b> (<i>self</i>, QMoveEvent)</li><li><div class="fn" /><b><a href="qsizegrip.html#paintEvent">paintEvent</a></b> (<i>self</i>, QPaintEvent)</li><li><div class="fn" /><b><a href="qsizegrip.html#setVisible">setVisible</a></b> (<i>self</i>, bool)</li><li><div class="fn" /><b><a href="qsizegrip.html#showEvent">showEvent</a></b> (<i>self</i>, QShowEvent)</li><li><div class="fn" />QSize <b><a href="qsizegrip.html#sizeHint">sizeHint</a></b> (<i>self</i>)</li></ul><a name="details" /><hr /><h2>Detailed Description</h2><p>The QSizeGrip class provides a resize handle for resizing
 
13
top-level windows.</p>
 
14
<p>This widget works like the standard Windows resize handle. In
 
15
the X11 version this resize handle generally works differently from
 
16
the one provided by the system if the X11 window manager does not
 
17
support necessary modern post-ICCCM specifications.</p>
 
18
<p>Put this widget anywhere in a widget tree and the user can use
 
19
it to resize the top-level window or any widget with the <a href="qt.html#WindowType-enum">Qt.SubWindow</a> flag set. Generally,
 
20
this should be in the lower right-hand corner. Note that <a href="qstatusbar.html">QStatusBar</a> already uses this widget, so if
 
21
you have a status bar (e.g., you are using <a href="qmainwindow.html">QMainWindow</a>), then you don't need to use
 
22
this widget explicitly.</p>
 
23
<p>On some platforms the size grip automatically hides itself when
 
24
the window is shown full screen or maximised.</p>
 
25
<table class="generic">
 
26
<tr class="odd topAlign">
 
27
<td>
 
28
<p><img alt="Screenshot of a Plastique style size grip" src="images/plastique-sizegrip.png" /></p>
 
29
</td>
 
30
<td>
 
31
<p>A size grip widget at the bottom-right corner of a main window,
 
32
shown in the <a href="gallery-plastique.html">Plastique widget
 
33
style</a>.</p>
 
34
</td>
 
35
</tr>
 
36
</table>
 
37
<p>The QSizeGrip class inherits <a href="qwidget.html">QWidget</a>
 
38
and reimplements the <a href="qwidget.html#mousePressEvent">mousePressEvent()</a> and <a href="qwidget.html#mouseMoveEvent">mouseMoveEvent()</a> functions to
 
39
feature the resize functionality, and the <a href="qwidget.html#paintEvent">paintEvent()</a> function to render the
 
40
size grip widget.</p>
 
41
<hr /><h2>Method Documentation</h2><h3 class="fn"><a name="QSizeGrip" />QSizeGrip.__init__ (<i>self</i>, <a href="qwidget.html">QWidget</a>)</h3><p>The <i>QWidget</i> argument, if not None, causes <i>self</i> to be owned by Qt instead of PyQt.</p><p>Constructs a resize corner as a child widget of the given
 
42
<i>parent</i>.</p>
 
43
 
 
44
 
21
45
<h3 class="fn"><a name="event" />bool QSizeGrip.event (<i>self</i>, <a href="qevent.html">QEvent</a>)</h3><p>Reimplemented from <a href="qobject.html#event">QObject.event</a>().</p>
22
 
<a name="//apple_ref/cpp/instm/QSizeGrip/eventFilter" />
 
46
 
 
47
 
23
48
<h3 class="fn"><a name="eventFilter" />bool QSizeGrip.eventFilter (<i>self</i>, <a href="qobject.html">QObject</a>, <a href="qevent.html">QEvent</a>)</h3><p>Reimplemented from <a href="qobject.html#eventFilter">QObject.eventFilter</a>().</p>
24
 
<a name="//apple_ref/cpp/instm/QSizeGrip/hideEvent" />
 
49
 
 
50
 
25
51
<h3 class="fn"><a name="hideEvent" />QSizeGrip.hideEvent (<i>self</i>, <a href="qhideevent.html">QHideEvent</a>)</h3><p>Reimplemented from <a href="qwidget.html#hideEvent">QWidget.hideEvent</a>().</p>
26
 
<a name="//apple_ref/cpp/instm/QSizeGrip/mouseMoveEvent" />
 
52
 
 
53
 
27
54
<h3 class="fn"><a name="mouseMoveEvent" />QSizeGrip.mouseMoveEvent (<i>self</i>, <a href="qmouseevent.html">QMouseEvent</a>)</h3><p>Reimplemented from <a href="qwidget.html#mouseMoveEvent">QWidget.mouseMoveEvent</a>().</p>
28
 
<p>Resizes the top-level widget containing this widget. The mouse move event is passed in the <i>event</i> parameter.</p>
29
 
<a name="//apple_ref/cpp/instm/QSizeGrip/mousePressEvent" />
 
55
<p>Resizes the top-level widget containing this widget. The mouse
 
56
move event is passed in the <i>event</i> parameter.</p>
 
57
 
 
58
 
30
59
<h3 class="fn"><a name="mousePressEvent" />QSizeGrip.mousePressEvent (<i>self</i>, <a href="qmouseevent.html">QMouseEvent</a>)</h3><p>Reimplemented from <a href="qwidget.html#mousePressEvent">QWidget.mousePressEvent</a>().</p>
31
 
<p>Receives the mouse press events for the widget, and primes the resize operation. The mouse press event is passed in the <i>event</i> parameter.</p>
32
 
<a name="//apple_ref/cpp/instm/QSizeGrip/mouseReleaseEvent" />
 
60
<p>Receives the mouse press events for the widget, and primes the
 
61
resize operation. The mouse press event is passed in the
 
62
<i>event</i> parameter.</p>
 
63
 
 
64
 
33
65
<h3 class="fn"><a name="mouseReleaseEvent" />QSizeGrip.mouseReleaseEvent (<i>self</i>, <a href="qmouseevent.html">QMouseEvent</a>)</h3><p>Reimplemented from <a href="qwidget.html#mouseReleaseEvent">QWidget.mouseReleaseEvent</a>().</p>
34
 
<a name="//apple_ref/cpp/instm/QSizeGrip/moveEvent" />
 
66
 
 
67
 
35
68
<h3 class="fn"><a name="moveEvent" />QSizeGrip.moveEvent (<i>self</i>, <a href="qmoveevent.html">QMoveEvent</a>)</h3><p>Reimplemented from <a href="qwidget.html#moveEvent">QWidget.moveEvent</a>().</p>
36
 
<a name="//apple_ref/cpp/instm/QSizeGrip/paintEvent" />
 
69
 
 
70
 
37
71
<h3 class="fn"><a name="paintEvent" />QSizeGrip.paintEvent (<i>self</i>, <a href="qpaintevent.html">QPaintEvent</a>)</h3><p>Reimplemented from <a href="qwidget.html#paintEvent">QWidget.paintEvent</a>().</p>
38
72
<p>Paints the resize grip.</p>
39
 
<p>Resize grips are usually rendered as small diagonal textured lines in the lower-right corner. The paint event is passed in the <i>event</i> parameter.</p>
40
 
<a name="//apple_ref/cpp/instm/QSizeGrip/setVisible" />
 
73
<p>Resize grips are usually rendered as small diagonal textured
 
74
lines in the lower-right corner. The paint event is passed in the
 
75
<i>event</i> parameter.</p>
 
76
 
 
77
 
41
78
<h3 class="fn"><a name="setVisible" />QSizeGrip.setVisible (<i>self</i>, bool)</h3><p>Reimplemented from <a href="qwidget.html#visible-prop">QWidget.setVisible</a>().</p>
42
 
<a name="//apple_ref/cpp/instm/QSizeGrip/showEvent" />
 
79
 
 
80
 
43
81
<h3 class="fn"><a name="showEvent" />QSizeGrip.showEvent (<i>self</i>, <a href="qshowevent.html">QShowEvent</a>)</h3><p>Reimplemented from <a href="qwidget.html#showEvent">QWidget.showEvent</a>().</p>
44
 
<a name="//apple_ref/cpp/instm/QSizeGrip/sizeHint" />
 
82
 
 
83
 
45
84
<h3 class="fn"><a name="sizeHint" /><a href="qsize.html">QSize</a> QSizeGrip.sizeHint (<i>self</i>)</h3><p>Reimplemented from <a href="qwidget.html#sizeHint-prop">QWidget.sizeHint</a>().</p>
46
 
<a name="//apple_ref/cpp/instm/QSizeGrip/winEvent" />
47
 
<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'
 
85
 
 
86
 
 
87
<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'