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

« back to all changes in this revision

Viewing changes to doc/html/qtopengl.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">QtOpenGL Module<br /></h1><p>The QtOpenGL module provides classes that make it easy to use OpenGL in PyQt applications. <a href="#details">More...</a></p><h3>Types</h3><ul><li><div class="fn" />class <b><a href="qgl.html">QGL</a></b></li><li><div class="fn" />class <b><a href="qglcolormap.html">QGLColormap</a></b></li><li><div class="fn" />class <b><a href="qglcontext.html">QGLContext</a></b></li><li><div class="fn" />class <b><a href="qglformat.html">QGLFormat</a></b></li><li><div class="fn" />class <b><a href="qglframebufferobject.html">QGLFramebufferObject</a></b></li><li><div class="fn" />class <b><a href="qglframebufferobjectformat.html">QGLFramebufferObjectFormat</a></b></li><li><div class="fn" />class <b><a href="qglpixelbuffer.html">QGLPixelBuffer</a></b></li><li><div class="fn" />class <b><a href="qglshader.html">QGLShader</a></b></li><li><div class="fn" />class <b><a href="qglshaderprogram.html">QGLShaderProgram</a></b></li><li><div class="fn" />class <b><a href="qglwidget.html">QGLWidget</a></b></li></ul><a name="details" /><hr /><h2>Detailed Description</h2><p>The QtOpenGL module offers classes that make it easy to use OpenGL in PyQt
 
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">QtOpenGL Module<br /></h1><p>The QtOpenGL module provides classes that make it easy to use OpenGL in PyQt applications. <a href="#details">More...</a></p><h3>Types</h3><ul><li><div class="fn" />class <b><a href="qgl.html">QGL</a></b></li><li><div class="fn" />class <b><a href="qglbuffer.html">QGLBuffer</a></b></li><li><div class="fn" />class <b><a href="qglcolormap.html">QGLColormap</a></b></li><li><div class="fn" />class <b><a href="qglcontext.html">QGLContext</a></b></li><li><div class="fn" />class <b><a href="qglformat.html">QGLFormat</a></b></li><li><div class="fn" />class <b><a href="qglframebufferobject.html">QGLFramebufferObject</a></b></li><li><div class="fn" />class <b><a href="qglframebufferobjectformat.html">QGLFramebufferObjectFormat</a></b></li><li><div class="fn" />class <b><a href="qglpixelbuffer.html">QGLPixelBuffer</a></b></li><li><div class="fn" />class <b><a href="qglshader.html">QGLShader</a></b></li><li><div class="fn" />class <b><a href="qglshaderprogram.html">QGLShaderProgram</a></b></li><li><div class="fn" />class <b><a href="qglwidget.html">QGLWidget</a></b></li></ul><a name="details" /><hr /><h2>Detailed Description</h2><p>The QtOpenGL module offers classes that make it easy to use OpenGL in PyQt
10
10
applications.</p>
11
11
 
12
12
<p>OpenGL is a standard API for rendering 3D graphics. OpenGL only deals with
47
47
<p>Assuming that the requirements mentioned above are met, a <a href="qglwidget.html">QGLWidget</a> will default to using the main plane visual, while all other widgets will use the overlay visual. Thus, we can place a normal widget on top of the <a href="qglwidget.html">QGLWidget</a>, and do drawing on it, without affecting the image in the OpenGL window. In other words, we can use all the drawing capabilities of <a href="qpainter.html">QPainter</a> to draw annotations, rubberbands, etc. For the typical use of overlays, this is much easier than using OpenGL for rendering annotations.</p>
48
48
<p>An overlay plane has a specific color called the transparent color. Pixels drawn in this color will not be visible; instead the underlying OpenGL image will show through.</p>
49
49
<p>To use this technique, you must not use the <a href="qapplication.html#ColorSpec-enum">QApplication.ManyColor</a> or QApplication.TrueColor color specification for <a href="qapplication.html">QApplication</a>, because this will force the normal Qt widgets to use a <tt>TrueColor</tt> visual, which will typically be in the main plane, not in the overlay plane as desired.</p>
50
 
<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'
 
50
<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'