Commit Graph

2885 Commits

Author SHA1 Message Date
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
ntjess
4a921ddf71
Filter examples (#1868)
* Allows filtering of examples

* For some reason, the ui designer ignored the courier font family so I manually inserted it into the .ui file

* Allows filtering by file content, too

* Respects dark mode (maybe?), fixes policy setting on code layout

* Prevents "run edited code" from showing unless the actual content changes

* Looks like black font is always best against highlight background

* Left test code in commit...

* Fix broken highlighting on PyQt6

* Address #133

* Better highlighting for both dark and light mode

* Minor refactoring/cleanup, uses combo box instead of checkbox

* Combo box below text edit to avoid clipping

Co-authored-by: njessurun <ntjessu@gmail.com>
2021-06-26 17:51:34 -07:00
Nils Nemitz
e79dacf805
Fix Matplotlib color map import, add CC0 maps locally (#1865)
* accept Matplotlib colormap data as numpy array, add CC0 Matplotlib maps locally

* add cividis, prioritize lower case in example/atlas
2021-06-26 08:41:57 -07:00
Ogi Moore
5e8f200aa0
Merge pull request #1869 from NilsNemitz/colorbaritem_ticks
Disable unused ColorBarItem ticks
2021-06-26 08:06:37 -07:00
Nils Nemitz
c07b95812c clear out ticks instead of hiding them 2021-06-26 20:42:11 +09:00
Ogi Moore
93fa8664cb
Merge pull request #1846 from pijyoi/import_hygiene
reduce pollution of pg namespace
2021-06-25 23:26:26 -07:00
KIU Shueng Chuan
5d55f3facf remove imports subdir 2021-06-26 07:54:03 +08:00
Ogi Moore
82da8f122e
Merge pull request #1867 from j9ac9k/fix-numpy-deprecation
Use built-in int as dtype
2021-06-25 09:15:44 -07:00
Ogi Moore
418a181691 Use built-in int as dtype 2021-06-25 08:45:02 -07:00
KIU Shueng Chuan
3a1b74df6f move Qt.py to Qt/__init__.py 2021-06-25 21:33:05 +08:00
KIU Shueng Chuan
11bf824c0a deprecate ordereddict.OrderedDict on instantiation 2021-06-25 21:19:34 +08:00
KIU Shueng Chuan
427128ece1 add imports used by ACQ4 2021-06-25 21:19:34 +08:00