Commit Graph

1258 Commits

Author SHA1 Message Date
Luke Campagnola
6b26245e50
Add explanatory comment 2018-09-28 16:02:14 -07:00
HashSplat
9bfdda06a6 Fixed AxisMouse drag issue
Issue where MouseDragEvent would only work for 1 AxisItem. Allowed the MouseDragEvent to propagate to other AxisItems. I had this issue by setting the ViewBox background color and changed the AxisItem ZValue to make the AxisItems visible which made the AxisItem receive all of the MouseDragEvents and only one Axis would actually allow dragging.
2017-09-20 17:15:54 -04:00
Luke Campagnola
0321ecb215 Merge pull request #564 from campagnola/console-fix
Allow console exception label to wrap text
2017-09-19 10:10:43 -07:00
Luke Campagnola
fe1dff5ad1 Allow console exception label to wrap text
This prevents the console window from growing if the exception message contains a very long line
2017-09-19 09:51:17 -07:00
Luke Campagnola
90661b32d9 Merge pull request #563 from campagnola/viewbox-fix
Prevent viewbox auto-scaling to items that are not in the same scene.
2017-09-19 09:49:12 -07:00
Luke Campagnola
4beea8a153 Prevent viewbox auto-scaling to items that are not in the same scene.
This can happen when an item that was previously added to the viewbox
is then removed using scene.removeItem().
2017-09-18 13:31:32 -07:00
Luke Campagnola
9d0779cc32 Merge pull request #560 from acq4/debugging-updates
Debugging updates
2017-09-13 22:21:41 -07:00
Luke Campagnola
1911a26f84 Allow Mutex to be used as drop-in replacement for python's Lock 2017-09-13 22:14:29 -07:00
Luke Campagnola
e06fc101f5 Add function to enable faulthandler on all threads 2017-09-13 22:13:50 -07:00
Luke Campagnola
6d05a2f8e1 Merge pull request #559 from acq4/export-updates
Export updates
2017-09-13 21:54:30 -07:00
Luke Campagnola
6287874b5c Minor fix - check for ragged array length when exporting to hdf5 2017-09-13 21:37:19 -07:00
Luke Campagnola
5d6be5796b image export: add option to invert pixel values (but not hues) 2017-09-13 21:36:34 -07:00
Luke Campagnola
daedbf68db Merge pull request #558 from acq4/canvas-updates
Clean up canvas codebase
2017-09-13 21:34:07 -07:00
Luke Campagnola
3ddba03d08 Merge pull request #557 from campagnola/console-updates
Allow console stack to be set outside of exceptions
2017-09-13 21:07:43 -07:00
Luke Campagnola
d8ffc21446 Refactor canvas ui to make it easier to embed / extend 2017-09-13 21:04:43 -07:00
Luke Campagnola
65b5b6a7bc Add CanvasItem.saveState/restoreState 2017-09-13 21:04:04 -07:00
Luke Campagnola
ee117fd957 Give CanvasItem alpha/setAlpha methods 2017-09-13 21:02:58 -07:00
Luke Campagnola
e88e3a4232 code cleanup 2017-09-13 21:01:38 -07:00
Luke Campagnola
39d4c82d67 Fix stack clearing button 2017-09-13 20:58:10 -07:00
Luke Campagnola
0517665473 Allow console to display any frame stack (even without an exception) 2017-09-13 20:50:31 -07:00
Luke Campagnola
1f77433755 Merge pull request #555 from acq4/multiprocess-updates
Multiprocess updates
2017-09-13 20:46:52 -07:00
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
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
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
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
7de20b8847 Merge pull request #517 from campagnola/fixes
Small fixes
2017-07-28 16:17:29 -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
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
Luke Campagnola
53a3087e33 Merge pull request #479 from campagnola/parametertree-type-checking
Add basic type checking to parameters
2017-06-14 09:02:11 -07:00
Luke Campagnola
af4c6735ea Merge pull request #485 from cboulay/VTickGroup_fixHeight
Fixed incorrect height in VTickGroup.
2017-05-24 17:48:48 -07:00
Chadwick Boulay
b186ecbbd9 Fixed incorrect height in VTickGroup. 2017-05-17 09:23:41 -04:00
Luke Campagnola
9203f5ad1e Merge pull request #458 from ZacDiggum/develop
fix image export bug
2017-05-01 17:30:50 -07:00
Luke Campagnola
7761b9a23c Add basic type checking to parameters 2017-05-01 17:09:15 -07:00