KIU Shueng Chuan
7a17cda956
restore opts['viewport'] after clobbering
2021-07-17 16:14:25 +08:00
KIU Shueng Chuan
dfd5b5dc1b
fix attribute access in failure branch
2021-07-17 16:06:44 +08:00
KIU Shueng Chuan
5b2674c9d5
change some deviceWidth() to width()
...
viewport / region use device pixels: deviceWidth()
anywhere else uses device independent pixels : width()
2021-07-17 15:59:14 +08:00
KIU Shueng Chuan
f43f795950
don't check opengl version again during paint
...
we already fail upfront at initializeGL(), so any error that occurs
here won't be due to OpenGL version < 2.0
2021-07-17 15:59:14 +08:00
KIU Shueng Chuan
9bf6c01f58
fix renderToArray() broken for hidpi
...
define opts['viewport'] to be in device pixels.
note from the removed comments that there was one place assuming
opts['viewport'] was in device pixels and the other assuming that it was
in device independent pixels.
2021-07-17 14:49:47 +08:00
KIU Shueng Chuan
bc52a2afe0
return ValueError for wrong argument, not RuntimeError
2021-07-17 13:46:11 +08:00
KIU Shueng Chuan
fab505a431
remove unneeded call to makeCurrent()
...
in any case, context will not be valid until the widget is shown.
2021-07-17 13:32:33 +08:00
KIU Shueng Chuan
1814ff535d
fail upfront for OpenGL ES instead of during item add
2021-07-17 13:30:20 +08:00
KIU Shueng Chuan
f698ccc06e
load background color from configOption
2021-07-17 13:05:40 +08:00
KIU Shueng Chuan
ce4c6d95ed
fix setCameraPosition not setting ele and azi in euler mode
2021-07-17 11:04:32 +08:00
KIU Shueng Chuan
b5fc3d2a7e
add comment about definition of viewport
2021-07-17 10:40:27 +08:00
KIU Shueng Chuan
1b00d3448a
reimplement readQImage()
...
tested that call to repaint() is not needed
2021-07-17 10:34:27 +08:00
KIU Shueng Chuan
5d7dd101f2
load matrix instead of multiplying to identity
2021-07-17 10:21:26 +08:00
KIU Shueng Chuan
025ca08574
delete empty resizeGL()
2021-07-17 10:17:31 +08:00
KIU Shueng Chuan
ee9b1565bd
don't redefine width() and height()
...
Qt widgets define width() and height() to be in device independent
pixels. Don't change that meaning.
2021-07-17 10:14:53 +08:00
KIU Shueng Chuan
e158034c07
remove devicePixelRatio argument. only needed for Qt4
2021-07-17 09:49:51 +08:00
Ogi Moore
d28e1c8075
Merge pull request #1895 from j9ac9k/update-contributing-guide
...
Update contributing guide ahead of scipy sprints
2021-07-15 21:01:07 -07:00
Ogi Moore
b79171dc3a
Update contributing guide ahead of scipy sprints
2021-07-15 20:42:32 -07:00
Ogi Moore
910142aa6f
Merge pull request #1897 from pijyoi/fix_win32_plotcurveitem_opengl
...
PlotCurveItem: setup modelview and projection
2021-07-15 19:48:20 -07:00
KIU Shueng Chuan
7442ab1e52
PlotCurveItem: setup modelview and projection
2021-07-15 23:16:26 +08:00
Ogi Moore
b9e079b10c
Merge pull request #1889 from swt2c/gltextitem_py310
...
Fix GLTextItem with Python 3.10
2021-07-12 09:57:01 -07:00
Scott Talbert
db8180d88e
Fix GLTextItem with Python 3.10
...
drawText() expects int arguments and Python 3.10 does not allow for
implicit rounding.
2021-07-11 22:04:00 -04:00
Ogi Moore
1ce9da36d3
Merge pull request #1891 from ixjlyons/readme-redundant-optional-deps
2021-07-11 13:14:59 -07:00
Kenneth Lyons
bb94290d8e
Clean up redundancy in README
2021-07-11 09:57:09 -07:00
Ogi Moore
6b4385ce0d
Merge pull request #1885 from jennifer-manriquez/issue
...
Raise TypeError instead of Exception
2021-07-08 14:50:48 -07:00
Jennifer Manriquez
0c074ea005
Raise TypeError instead of Exception
2021-07-08 13:35:22 -05:00
Kyle Sunden
fda6071ae5
Merge pull request #1884 from pyqtgraph/ksunden-patch-1
...
Update version number
2021-07-08 02:33:07 -05:00
Kyle Sunden
53fc415813
Update version number
2021-07-08 01:18:00 -05:00
Kyle Sunden
49a97351e7
Merge pull request #1838 from j9ac9k/prep-for-release
...
Prep for 0.12.2 release
2021-07-08 01:16:25 -05:00
Ogi Moore
0c38ff2754
Add one more PR to the changelog
2021-07-07 22:47:49 -07:00
Kyle Sunden
89958dbaab
Merge branch 'master' into prep-for-release
2021-07-08 00:38:57 -05:00
Kyle Sunden
e12ac50a05
Merge pull request #1870 from edumur/master
...
Update README
2021-07-08 00:35:56 -05:00
Etienne Dumur
804f6b6649
Clarify markdown
2021-07-05 21:46:40 +02:00
Ogi Moore
d82a47b864
First go of a changelog for 0.12.2
2021-07-03 22:04:14 -07:00
Nils Nemitz
523b31e97f
Draw GradientLegend in ViewBox coordinates ( #1864 )
...
* draw GradientLegend in ViewBox coordinates
* some cleanup
* do not proceed with dummy values
* correct bar and label order, add some styling options
* remove debugging code
2021-07-03 21:43:39 -07:00
Ogi Moore
4b7dfdef88
Merge pull request #1876 from ixjlyons/fix-lineroi-coords
...
Fix LineROI handle positions
2021-07-03 08:23:13 -07:00
Ogi Moore
e83b91e9af
Merge pull request #1871 from pijyoi/opengl_init
...
Allow adding items to GLViewWidget before show
2021-07-03 08:10:35 -07:00
ntjess
820c1604dd
Set focus to the example filter + Ctrl+F listener for focus ( #1873 )
...
* Set focus to the example filter + Ctrl+F listener for focus
* Early return on detecting "F"
2021-07-03 07:58:51 -07:00
Kenneth Lyons
7ebae20c5d
Fix LineROI handle positions
2021-07-03 07:51:23 -07:00
KIU Shueng Chuan
e9ee11f010
simplify calls needed to initialize items
2021-07-03 15:53:17 +08:00
Ogi Moore
02909999dc
Merge pull request #1875 from pijyoi/fix_pyqt6_mouse_event
...
bug: PyQt6 does not have localPos()
2021-07-02 13:26:19 -07:00
KIU Shueng Chuan
6fc02711a8
bug: PyQt6 does not have localPos()
...
this bug must have existed since the removal of the mouse shims
from Qt.py.
2021-07-02 10:14:19 +08:00
KIU Shueng Chuan
e76328ab0e
bug: PyQt6 does not have localPos()
...
this bug must have existed since the removal of the mouse shims
from Qt.py.
2021-07-01 15:11:55 +08:00
KIU Shueng Chuan
f9f5d46589
missing import of pg
...
CI passed because of the way the example gets invoked.
2021-07-01 08:56:47 +08:00
KIU Shueng Chuan
96f7ce1325
remove empty initializeGL()
2021-07-01 08:56:47 +08:00
KIU Shueng Chuan
b843214f66
remove Qt4 mouse wheel handling
2021-07-01 08:56:47 +08:00
KIU Shueng Chuan
1a29cf7579
defer init if we do not have an OpenGL context yet
2021-07-01 08:56:33 +08:00
Etienne Dumur
f5563501ed
Modify optional libraries style
2021-06-30 09:02:24 +02:00
Etienne Dumur
da39e8f460
Iterative improvement of the README file
...
Replace "pyqtgraph" by "PyQtGraph".
Replace the optional libraries list by an "Optional added functionalities" section.
More precise on the role of each optional library.
Add numba in optional library.
2021-06-29 11:26:51 +02:00
Etienne Dumur
08e460ad34
Update README
...
Add matplotlib as optional library.
Replace hdf5 by h5py.
Add links towards the github page or website of the different linraries.
2021-06-28 09:24:55 +02:00