KIU Shueng Chuan
13d652c794
convert to QPointF mouse event position
...
DockDrop.py : use QPointF mouse coords
2021-01-23 08:29:45 +08:00
Ogi Moore
4e070f40bc
Fixed typo
2021-01-21 08:48:54 -08:00
KIU Shueng Chuan
4f619bbb4c
update glinfo.py to use QOpenGLWidget
2021-01-15 08:25:09 +08:00
KIU Shueng Chuan
9145d7f24d
switch to usage of QOpenGLWidget
...
this drops support for Qt4
2021-01-15 08:25:09 +08:00
KIU Shueng Chuan
f863390409
change MidButton to MiddleButton
...
the former is no longer present in Qt 6 as an alias
2021-01-15 08:25:05 +08:00
Yoonyoung (Jamie) Cho
d8e4911fcd
Fixed GLViewWidget Gimbal Lock with Quaternion Parametrization ( #909 )
...
* Fixed GLViewWidget Gimbal Lock with Quaternion Parametrization
* fixed rotation name
* fixes extraneous pos argument and restore compatibility
* remove redundant getAxisAngle() in rotation (for Qt4 compatibility)
* GLViewWidget takes rotationMethod parameter
* Avoid merge conflict
* Fix docstring
Co-authored-by: Ogi Moore <ognyan.moore@gmail.com>
2020-12-24 21:45:02 -08:00
Allard Hendriksen
9d99a3e7b0
Fix incorrect rendering of overlapping object in renderToArray() ( #1306 )
...
This commit adds a depth buffer in renderToArray().
This fixes the issue that overlapping objects are rendered incorrectly
when using renderToArray() on a GLViewWidget.
This might be related to issue #743 .
2020-10-13 19:47:49 -07:00
Dominik Kutra
5842f42632
fix typo in documentation
...
found a tiny typo when reading the docs...
thank you guys for this awesome library 🚀
2020-09-29 17:29:52 +02:00
Ogi Moore
91ee83ab36
Merge pull request #402 from vladimir-kraus/develop
...
added method clear() to GLViewWidget
2020-06-22 20:58:04 -07:00
jeremysee2
f81768ac59
Issue #1260 : Added exception to checkOpenGLVersion to highlight OpenGL ES incompatibility on Raspberry Pi ( #1264 )
...
* checkOpenGLVersion exception for OpenGL ES
* checkOpenGLVersion exception
* checkOpenGLVersion exception
* python 2/3 compatibility
* Refactoring checkOpenGLVersion
Since the original goal of `checkOpenGLVersion` is to re-throw an exception or notify the user about a wrong OpenGL version in another exception, this commit unifies the two exception messages from `checkOpenGLVersion`.
Further, it corrects ">" to ">=" in the error message (originally my fault).
And it corrects verNumber to be an integer and not a boolean (there was a " < 2" too much at the end of the line).
Finally, since the opportunity was there, the method is further refactored, comments and a docstring are added.
Co-authored-by: 2xB <2xb@users.noreply.github.com>
2020-06-21 13:59:44 -07:00
Ogi Moore
b9a0fac815
devicePixelRatio is only accessible in __init__
2020-06-11 21:32:12 -07:00
Ogi Moore
308bb8d1ff
Merge branch 'master' into develop
2020-06-11 21:11:51 -07:00
Ogi Moore
8fce6c6ad8
Merge pull request #345 from fschill/develop
...
performance improvement of GLImageItem
2020-06-08 21:40:28 -07:00
Xinfa Joseph Zhu
660ac675f1
Fix typo bug
2020-01-09 15:23:49 -06:00
Kenneth Lyons
faef56c3e7
Qulogic py3 fixes ( #1073 )
...
* py3k: Remove reduce calls.
* py3k: Remove compatibility sortList function.
Sorting by key has existed since Python 2.4.
* Remove unnecessary sys.path manipulation.
This file doesn't have any __main__ code to run anyway.
* Use context manager
2019-11-12 08:45:42 -08:00
Aikhjarto
8c137a1caf
fix: circular texture was slightly off-center ( #1012 )
2019-09-13 22:12:23 -07:00
Elliott Sales de Andrade
2e90089890
Fix undefined reduce call.
2019-09-13 01:07:57 -04:00
Paul Debus
fd11e1352d
fix encoding error in checkOpenGLVersion ( #787 )
2019-08-18 12:16:31 -07:00
2xB
cd3f7fd68e
Adding setter for GLGridItem.color ( #992 )
...
* adding option to set grid color on demand
* Update after setColor
* Made GLGridItem color attribute private
* Init GLGridItem color with fn.Color
* Added docstring
2019-08-17 09:55:55 -07:00
2xB
652ae9e64a
Fix: GLScatterPlotItem and GLImageItem initializeGL only executed once
2019-08-15 02:41:51 +02:00
2xB
c37956b29a
Corrected documentation for heightColor shader
2019-06-28 01:51:20 +02:00
Ogi Moore
7506ee3d3f
Add mesa drivers to windows CI images and show openGL info during debug stage ( #954 )
...
Add mesa drivers to Windows CI Image
2019-06-23 23:03:51 -07:00
Ogi Moore
4a33f24582
Merge pull request #770 from cklb/develop
...
Fix issue #481 - `setCameraPosition` in `GLViewWiedget` ignored `pos` argument
2019-06-04 13:29:26 -07:00
Tran Duy Hoa
16616c77b7
Fix bug in GLViewWidget.py
...
call debug.printExc() instead of pyqtgraph.debug.printExc()
2018-10-26 23:06:23 +02:00
Stefan Ecklebe
fc5e0cd9f4
Fixed issue #481
2018-10-12 15:32:23 +02:00
Luke Campagnola
c20022580d
move panning code from mouse handler to pan()
2018-06-07 17:49:42 -07:00
Luke Campagnola
741e65c72e
Merge branch 'panning' of https://github.com/dvj/pyqtgraph into dvj-panning
2018-06-05 15:25:52 -07:00
Luke Campagnola
8a5c66f25e
Allow strings to specify color of GLLinePlot
2018-05-31 10:36:04 -07:00
kolt mcbride
e5079bca32
this import seems to be missing, I couldn't set color with out it for some reason
2018-05-24 22:06:27 -07:00
Luke Campagnola
66dcfc7c67
Merge branch 'develop' into pyside2
2018-05-22 15:22:54 -07:00
Doug Johnston
87efc2418a
fix whitespace changes
2018-04-26 09:17:00 -07:00
Doug Johnston
972f6205b5
Allow for panning in the plane of the camera
...
Accessed via <CTRL>-[left click]
2018-04-25 20:06:40 -07:00
Luke Campagnola
f8719c436a
Merge pull request #666 from feketeimre/fix
...
Fix issue #145
2018-04-25 16:17:07 -07:00
Luke Campagnola
063e9c91a9
Make high-dpi handling conditional on Qt version
2018-04-24 08:59:33 -07:00
Fekete Imre
ce704a1baa
Fix issue #145
...
Disable textures after painting is finished.
2018-04-13 16:23:41 +02:00
Luke Campagnola
82e8194ea4
Merge branch 'hidpi_fix' of https://github.com/mshunshin/pyqtgraph into mshunshin-hidpi_fix
2018-03-30 08:57:16 -07:00
Luke Campagnola
c3dafbfee2
Merge pull request #633 from feketeimre/develop
...
Cylinder now generates the correct amount of sides
2018-03-29 18:08:22 -07:00
Luke Campagnola
980fffbd31
Merge pull request #648 from VanessaNav/fix-color-GLGridItem
...
fix color ignored in GLGridItem. Issue #283 solved
2018-03-29 17:56:33 -07:00
Vanessa
27f37d0fd1
fix color ignored in GLGridItem. Issue #283 solved
2018-03-19 12:09:49 +01:00
Matthew Shun-Shin
c8833e1d18
Merge pull request #1 from pyqtgraph/develop
...
Update to latest
2018-03-12 14:59:57 +00:00
Tanuj
b25196067a
Fix grame typo
2018-02-25 10:54:12 +00:00
Luke Campagnola
82afad8366
Fix up Qt.py and deprecate USE_XX variables
2018-02-16 20:42:34 -08:00
Fekete Imre
f3d5273f81
Cylinder now generates the correct amount of sides
...
Before the first and the last vertex was overlapping.
2018-02-07 14:25:15 +01:00
Fekete Imre
8d9cb79da4
Fix issue # 366
...
Set the right texture for rendering, otherwise a previously set texture is overwritten.
2018-01-31 23:35:18 +01:00
Matthew Shun-Shin
82b666e2ee
Fix GL Views being half size on hidpi monitors
2017-07-28 11:30:19 +01:00
vladimir-kraus
30864df76d
added method reset() to GLViewWidget to initialize or reset the current state
2016-11-18 15:03:19 +01:00
vladimir-kraus
051dfe0d31
added method clear() to GLViewWidget
2016-11-18 14:55:39 +01:00
Felix Schill
0a25fb0874
clearing _needUpdate flag in GLImageItem to prevent redundant re-upload of textures
2016-05-21 17:50:05 +02:00
Kenneth Lyons
9ea38a1270
Use glColor instead of mkColor to set GLViewWidget background color.
2015-07-22 13:13:26 -07:00
Luke Campagnola
0976991efd
Import from python2_3 for all uses of basestring, cmp, and xrange
2015-05-19 09:29:55 -04:00