aboutsummaryrefslogtreecommitdiffstats
path: root/examples/opengl
Commit message (Collapse)AuthorAgeFilesLines
* hellogl.py: Fix signal creationFriedemann Kleint2017-04-241-4/+4
| | | | | | | | | | | | | | | Fix warnings: *** Sort Warning *** Signals and slots in QMetaObject 'GLWidget' are not ordered correctly, this may lead to issues. 1 Slot setXRotation(int) 2! Signal xRotationChanged(int) 3! Slot setYRotation(int) 4! Slot setZRotation(int) Task-number: PYSIDE-463 Change-Id: I51d7d446787aaa3ebe9e8f2dcd5350c8fa87b7bb Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Port OpenGL examplesFriedemann Kleint2016-11-046-149/+339
| | | | | | | | | | | Adapt to Qt 5 and fix license. Add detailed text with instructions to the messagebox warning about missing PyOpenGL. Task-number: PYSIDE-314 Change-Id: I560901a675669e1116fb5c7a4a33c33739930fc8 Reviewed-by: Christian Tismer <tismer@stackless.com> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Port example rcc files to use byte literalsFriedemann Kleint2016-09-191-3/+44
| | | | | | | | | Prefix data by b as if regenerated for Python 3. This works with Python 2 as well. Task-number: PYSIDE-328 Change-Id: I1145a53450d5f69b955c3014aa057106a5d644a4 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* change all scripts to respect the new PySide2 module name.Christian Tismer2015-09-215-5/+5
|
* Update hellogl.pyLazik2013-08-161-1/+1
| | | | | | | Fixed type for python 3.x Traceback (most recent call last): File "gltemp.py", line 129, in resizeGL GL.glViewport((width - side) / 2, (height - side) / 2, side, side) ctypes.ArgumentError: argument 1: <class 'TypeError'>: wrong type
* Fix orientation bug in opengl/hellogl exampleZack Drach2013-04-281-15/+15
|
* Fixed example to avoid segfault on Windows due to incorrect call to ↵Hugo Parente Lima2011-01-281-11/+13
| | | | | | | | | | bindTexture method. Code ported to new signal/slots. Fixed routines to free OpenGL resources. Reviewer: Renato Araújo <renato.filho@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Fix bug#608 - "Photoviewer example missing license boilerplates and shebang ↵Hugo Parente Lima2011-01-191-1/+1
| | | | lines"
* fixed QString issues of textures.pyMatti Airas2010-09-021-1/+1
| | | | | | | | | | The app gives the following warning and doesn't properly show the textures: WARNING: Application calling GLX 1.3 function "glXCreatePixmap" when GLX 1.3 is not supported! This is an application bug! Also, still gives an exception: 'Internal C++ object already deleted.'
* fixed QString issues of grabber.pyMatti Airas2010-09-021-2/+2
| | | | | the example still throws an 'Internal C++ object already deleted.' error when the main window is closed but works otherwise.
* examples update.Renato Filho2010-08-041-66/+66
|
* Fix bug #73:Luciano Miguel Wolf2009-10-231-1/+5
| | | | | | | | | The grabber.py example has an error in its implementation. Method __del__ has been used as a C destroy function, producing an error at exit because it was calling an invalid object. Now, instead of a __del__ we use a deinitialize function to be called by closeEvent generated by the mainWindow.
* Change .dark() to .darker() in opengl examplesChris Hills2009-08-212-4/+4
|
* Adding the pyqt ported examples (replacing xmon examples because most of ↵Douglas Soares de Andrade2009-08-1914-278/+1023
| | | | then did not work here)
* InitAhmed Youssef2009-08-1914-0/+1560