Luke Campagnola
182e939785
Fix color output handling
2017-09-13 09:13:31 -07:00
Luke Campagnola
5fb5858802
Allow better control over sys.path in subprocesses
...
Either add path to pyqtgraph, or copy entire path (anything else still requires manual effort)
2017-09-13 09:13:03 -07:00
Luke Campagnola
16781636bf
API: calling remote methods in 'sync' mode no longer returns future on timeout
...
When calling a function with callSync='sync', the assumption is that we either block until the result arrives or raise an exception if no result arrives. Previously, a timeout woud cause the Future object to be returned instead.
2017-09-13 09:09:05 -07:00
Luke Campagnola
2a70fd9932
Fix some issues with closing subprocesses
2017-09-13 09:05:54 -07:00
HashSplat
f77d7409ba
Fixed legend size after remove item
...
When the legend removed an item with a large label name the legend would not shrink in width. This fix uses the sample and label minimum width to allow the legend to shrink when an item is removed.
2017-09-12 17:15:26 -04:00
Ben Deverett
3fc6eff76f
added fps class variable to ImageView to enable consistent playback frame rate
2017-09-06 23:30:55 -04:00
Luke Campagnola
7e5b40d265
Switch to assert=plain; apparently assert=reinterp is no longer supported
2017-09-06 09:58:42 -07:00
Luke Campagnola
1bd97c67e2
Fix travis.yml
2017-09-06 09:42:59 -07:00
Luke Campagnola
4bca2ae879
fix reload test pycache removal
...
Ad a warning about using assert=rewrite
2017-09-06 09:39:26 -07:00
Luke Campagnola
db890b8ed8
Add unit test for reload(); make travis use --assert=reinterp (because assert=rewrite does not work with reload)
2017-09-06 09:13:56 -07:00
Luke Campagnola
4b188c73b0
Add disconnect() and SignalBlock
...
- make it possible to retrieve previous versions of reloaded objects (needed by disconnect)
2017-09-06 09:09:35 -07:00
Luke Campagnola
30997d999d
Fix unit test for python 2.6
2017-09-03 23:18:17 -07:00
Luke Campagnola
3dbbc7e531
Fix unit test following previous commit
2017-09-03 23:05:46 -07:00
Luke Campagnola
8d730f07d9
Merge pull request #545 from acq4/transform-update
...
Transform3D map() update
2017-09-03 22:32:32 -07:00
Luke Campagnola
969cdac094
Merge pull request #543 from acq4/target
...
Add targetitem class
2017-09-03 22:29:14 -07:00
Luke Campagnola
43bc6202ee
Merge pull request #542 from acq4/groupbox
...
Add a collapsible QGroubBox widget
2017-09-03 22:28:52 -07:00
Luke Campagnola
44a95c865d
Merge pull request #546 from campagnola/fix-travis-eintr
...
Add check for EINTR during example testing to avoid sporadic test failures on travis
2017-09-03 22:22:01 -07:00
Luke Campagnola
73d857750a
Add check for EINTR during example testing; this should help avoid sporadic test failures on travis
2017-09-03 22:04:24 -07:00
Luke Campagnola
715c3a0085
Minor changes to Transform3D - allow more types to be passed through map() and add some sanity checks
2017-09-03 20:29:19 -07:00
Luke Campagnola
e8128fa5e2
Make dockarea.restoreState behavior for extrra docks be configurable
2017-09-03 20:14:50 -07:00
Luke Campagnola
b6f9516678
Make behavior configurable when a reloaded dock is missing.
...
+ other bugfixes
2017-09-03 17:00:33 -07:00
Luke Campagnola
65fa58c2b1
Add targetitem class
2017-09-03 16:51:11 -07:00
Luke Campagnola
8398e578b9
Add a collapsible QGroubBox widget
2017-09-03 16:48:08 -07:00
HashSplat
1ea4f5ab6f
ImageItem render error if graph is too small.
...
Fixed issue where render would error because 'mapToDevice' would return None if the view size was too small.
2017-08-31 08:55:58 -04:00
HashSplat
ae9bce665c
Fixed issue where setData only updated opts if data is given
2017-08-09 14:36:50 -04:00
Justin Engel
baba93dc60
temporarily removed min max fix for pull request
2017-08-08 15:51:32 -04:00
HashSplat
e7ba0ca272
Found that downsample would set the image size to 0 causing errors.
2017-08-08 15:35:54 -04:00
HashSplat
70831245a8
Fixed issue where ImageItem data size would be 0 due to colormap.
2017-08-08 14:58:33 -04:00
Alexander Manakov
72a7157538
Added essential if.
2017-08-04 13:56:37 +03:00
vladimir-kraus
668973bd44
raising AttributeError in __getattr__ instead of NameError is the correct way of handling non-existent attributes; otherwise for example hasattr(obj, attribute) would raise NameError instead of returning False if the attribute does not exist
2017-08-04 11:32:21 +02:00
Luke Campagnola
dd672c41b6
Merge pull request #521 from campagnola/fix-qstring
...
Relax type checking on string parameters
2017-08-02 15:30:56 -07:00
Luke Campagnola
16f0e3034c
Add tests for inpute/output type on a few parameter types
2017-08-02 15:03:58 -07:00
Luke Campagnola
9094261c54
Fix eq() bug where calling catch_warnings raised an AttributeError, which would cause eq() to return False
...
Add unit test coverage
2017-08-02 15:02:38 -07:00
Luke Campagnola
b4e722f07b
Loosen string type checking a bit; let asUnicode throw errors if it
...
needs to.
2017-07-31 17:16:46 -07:00
Luke Campagnola
c719ad4355
Check for existence of QtCore.QString before using it
2017-07-31 17:04:53 -07:00
Luke Campagnola
ea51a65dfd
Send click events to treewidgetitem
2017-07-31 10:03:13 -07:00
Luke Campagnola
f5775422c6
py3 fix
2017-07-28 16:18:31 -07:00
Luke Campagnola
7de20b8847
Merge pull request #517 from campagnola/fixes
...
Small fixes
2017-07-28 16:17:29 -07:00
Luke Campagnola
3fbc3864f2
Wrap TreeWidget's invisible root item so that child items will receive tree change notifications
2017-07-28 16:05:58 -07:00
Luke Campagnola
518c0b1d5c
Merge pull request #514 from campagnola/viewbox-fix
...
Viewbox fix
2017-07-28 16:01:15 -07:00
Luke Campagnola
0e06c50402
Catch OSError from ForkedProcess that has already exited.
2017-07-28 15:57:45 -07:00
Luke Campagnola
6c7e0fae8e
Add signals for TreeWidget changes in check state, text, and columncount
2017-07-28 14:40:20 -07:00
Matthew Shun-Shin
82b666e2ee
Fix GL Views being half size on hidpi monitors
2017-07-28 11:30:19 +01:00
Luke Campagnola
55d21a436f
ViewBox: mark matrix dirty _before_ emitting change signal to ensure
...
that slots can access the latest transform.
2017-07-27 22:21:02 -07:00
Luke Campagnola
5855aa8627
Code cleanup; no functional changes
2017-07-27 22:20:26 -07:00
Luke Campagnola
d343eb044d
Fix errors getting bounds on nanny data
2017-07-14 15:10:16 -07:00
Luke Campagnola
e87eaa652d
Docstring correction
2017-07-14 15:10:04 -07:00
Justin Engel
2dc31b53da
Fixed dataBounds error when all values were inf.
...
If all values are inf. d = d[mask] will create an empty array. You cannot call min or max on an empty array.
2017-07-13 08:25:45 -04:00
kiwi0fruit
54ddb79e89
Bug-fix and small changes in RawImageWidget.py
...
1. Bug was in the `def paintGL(self)` method (at least with PySide1): image was mirrored upside down.
2. Added support for `setConfigOptions(imageAxisOrder='row-major')`
3. Small cosmetic changes
2017-06-27 20:53:08 +07:00
kiwi0fruit
8a40c22848
Bug in RawImageWidget.py
...
For example: it prevents integration of this widget to Enaml.
2017-06-22 16:00:54 +07:00