pyqtgraph/tests
Kenneth Lyons ba7129a719
Add option to limit LinearRegionitem bounds to a secondary item (#1834)
* Added clipItem option to LinearRegionItem

* Added a clipItem option to LinearRegionItem

Handle case when no self.viewBox() is yet available

* Implement LinearRegionItem clipItem

* Undo unnecessary change

* Update clipItem doc

* Fixup docstring formatting

* Cleanup

* Support clearing clipItem via setBounds. Fix initialization bug

* Add tests for LinearRegionItem clipItem

* Better clipItem demo in crosshair example

* Another test to verify claim in docstring

Co-authored-by: Arjun Chennu <arjun.chennu@gmail.com>
Co-authored-by: Ogi Moore <ognyan.moore@gmail.com>
Co-authored-by: Arjun Chennu <achennu@mpi-bremen.de>
2021-07-17 21:02:06 -07:00
..
dockarea Clean up test files 2021-05-31 21:06:16 -07:00
exporters tests/exporters/test_hdf5.py: skip if no h5py 2021-07-18 01:26:22 +03:00
graphicsItems Add option to limit LinearRegionitem bounds to a secondary item (#1834) 2021-07-17 21:02:06 -07:00
images Move and Update test-data repo into pyqtgraph repo 2021-05-31 21:05:00 -07:00
imageview Move and Update test-data repo into pyqtgraph repo 2021-05-31 21:05:00 -07:00
parametertree Clean up test files 2021-05-31 21:06:16 -07:00
util Clean up test files 2021-05-31 21:06:16 -07:00
widgets progress dialog fix (#1861) 2021-06-23 19:34:55 -07:00
__init__.py Move and Update test-data repo into pyqtgraph repo 2021-05-31 21:05:00 -07:00
conftest.py Move and Update test-data repo into pyqtgraph repo 2021-05-31 21:05:00 -07:00
image_testing.py Use Qt6 Enum Namespace 2021-06-08 21:23:49 -07:00
test_colormap.py make getColors and getStops behavior more consistent; add tests 2021-06-22 01:19:07 +09:00
test_configparser.py Clean up test files 2021-05-31 21:06:16 -07:00
test_functions.py Color map linearization (#1797) 2021-06-08 20:41:46 -07:00
test_makeARGB.py Move and Update test-data repo into pyqtgraph repo 2021-05-31 21:05:00 -07:00
test_Point.py Move and Update test-data repo into pyqtgraph repo 2021-05-31 21:05:00 -07:00
test_qt.py Clean up test files 2021-05-31 21:06:16 -07:00
test_ref_cycles.py add __all__ to various files 2021-06-25 21:19:33 +08:00
test_reload.py Clean up test files 2021-05-31 21:06:16 -07:00
test_signalproxy.py Use Qt6 Enum Namespace 2021-06-08 21:23:49 -07:00
test_srttransform3d.py Clean up test files 2021-05-31 21:06:16 -07:00
test_stability.py Clean up test files 2021-05-31 21:06:16 -07:00
test_Vector.py Clean up test files 2021-05-31 21:06:16 -07:00
ui_testing.py Use Qt6 Enum Namespace 2021-06-08 21:23:49 -07:00
uictest.ui Move and Update test-data repo into pyqtgraph repo 2021-05-31 21:05:00 -07:00