Commit Graph

1125 Commits

Author SHA1 Message Date
Luke Campagnola
acb3230b78 bugfix -- GraphicsItem automatically determines qt base class. 2012-06-18 19:51:18 -04:00
Luke Campagnola
3f486d9a65 minor code cleanup
bugfixes for pyside-specific issues
2012-06-18 19:40:15 -04:00
Luke Campagnola
a90d00a536 metaarray import fix for flowchart/Filters 2012-06-18 17:48:33 -04:00
Luke Campagnola
16c4e2929f fix for ScatterPlotItem / pyside 2012-06-18 17:47:56 -04:00
Luke Campagnola
72006fe05b Added custom multiprocessing module:
- allows starting new processes and controlling them remotely from the parent process
  - remote processes can run their own GUI, Qt signals can be connected between processes
    (in general this is not possible with the built-in multiprocessing module due to
    the use of fork() ).
  - Control works by a system of proxy-objects such that controlling a remote process
    looks almost exactly like working with local objects.
  - Uses sockets to communicate between processes (so in theory could be made to 
    work over a network), but also includes a mode that uses fork() to allow fast
    parallelization.
  - Wicked-easy inline parallelization by adding only one line of code to break up work between
    processes (requires fork; sorry windows users)
2012-06-18 15:20:35 -04:00
Luke Campagnola
c7a78642fd Added interactive console widget:
- GUI interactive python prompt, useful in a variety of situations where
    python -i or ipython don't work very well. 
  - Command history (requires a little help finding storage for this)
  - Exception catching, allowing the user to inspect local variables 
    at any level within a stack trace (currently, this is done _without_
    blocking the application)
2012-06-18 15:18:38 -04:00
Luke Campagnola
a7d2118a99 Added very simple, enterable object for setting busy cursor during long operations 2012-06-18 15:17:46 -04:00
Luke Campagnola
f9310d64c7 Imported code for disabling ViewBox menus from Ingo 2012-06-18 15:03:41 -04:00
Luke Campagnola
364337083f Added workaround for Qt crash-at-exit bug (make sure that all GraphicsItems live in a scene before exiting) 2012-06-18 14:01:51 -04:00
Luke Campagnola
6932c34126 - Added workaround for Qt bug: https://bugreports.qt-project.org/browse/QTBUG-18616. (GraphicsItem.setParent needs to check for scene change first)
This _could_ cause other problems, but they will certainly be fewer than the existing problems.

- Fixed bugs with ViewBox linking to views which are subsequently deleted
2012-06-18 14:00:19 -04:00
Luke Campagnola
cc94e15d1e Minor edits and bugfixes
- fixed AxisItem sometimes drawing the same tick twice (sometimes with different text)
   - fixed handling of record arrays in setting ScatterPlotItem point data
2012-06-18 13:50:44 -04:00
Luke Campagnola
a4963f93b7 added flowchart node for removing periodic noise from waveform
metaarray updates:
  - better handling of HDF5 files
  - fixed some isinstance problems that appear during reloads
2012-06-18 13:45:47 -04:00
Luke Campagnola
e53c2165e6 Bugfixes:
- added workaround for Qt bug: https://bugreports.qt-project.org/browse/QTBUG-18616
  - allow pxMode argument in PlotDataItem.setData()
2012-06-12 16:02:48 -04:00
Luke Campagnola
b9d0fd9c9f Added Vector.py 2012-05-31 16:23:54 -04:00
Luke Campagnola
7c87b1d04a Renamed Transform -> SRTTransform to better reflect its function.
Added SRTTransform3D
2012-05-31 16:22:50 -04:00
Luke Campagnola
6129df2019 code cleanup--removed old tests 2012-05-31 16:09:52 -04:00
Luke Campagnola
26c73d3583 overhaul/cleanup of ROI code, particularly for PolyLineROI
(should be no major API changes here)
2012-05-31 16:08:33 -04:00
Luke Campagnola
0e1b57cf01 bugfixes for ArrowItem __init__ 2012-05-31 16:07:23 -04:00
Luke Campagnola
29be68d7fe Added PathButton -- simple button displaying a QPainterPath 2012-05-31 16:06:36 -04:00
Luke Campagnola
c79e794e53 Added ui file for ScatterPlotSpeedTest 2012-05-31 16:06:13 -04:00
Luke Campagnola
5644a17045 Added new examples 2012-05-31 16:05:19 -04:00
Luke Campagnola
ce5fef9675 Added new ROI example 2012-05-30 01:02:03 -04:00
Luke Campagnola
55e58ac6ad updated arrow example 2012-05-29 23:44:14 -04:00
Luke Campagnola
de5d388a46 Merged ROI/Handle context menus and PolyLineROI from Kratz 2012-05-29 23:23:14 -04:00
Luke Campagnola
724debf2d4 Changed the way GraphicsItem.pixelVectors and pixelLength work.
The values returned are more useful now, but this introduces a minor API change.
2012-05-29 23:22:00 -04:00
Luke Campagnola
5f94cebdaf fixed MetaArray.copy 2012-05-29 23:20:18 -04:00
Luke Campagnola
35357308b9 ArrowItem has more flexibility in the shapes it can draw 2012-05-29 23:19:20 -04:00
Luke Campagnola
f258c3d87c minor bugfixes / features:
- optional context menu for ImageItem
 - inverted y-axis in Canvas (+y now points upward)
 - extra __init__ arguments for Dock
 - Transform can be constructed from Matrix4x4
 - many others
2012-05-29 23:18:34 -04:00
Luke Campagnola
2c80098cf6 Added functions for
- generating arrow paths
 - solving 3d affine mapping matrix
 - solving 2d bilinear mapping matrix
2012-05-29 23:12:13 -04:00
Luke Campagnola
0f1f6c62e4 Enforced LF file endings
removed stray print statement
2012-05-23 20:29:16 -04:00
Luke Campagnola
4d1a5ded1b bugfixes
MetaArray update - no longer subclass of ndarray
2012-05-23 20:20:54 -04:00
Luke Campagnola
194f90aa4d AxisItem update: added setTicks method 2012-05-21 17:31:09 -04:00
Luke Campagnola
ff384b80d7 Accidentally left in drawn bounding rect for scatterplotitem 2012-05-15 13:38:32 -04:00
Luke Campagnola
00a885f735 minor bugfixes for scatterplotitem 2012-05-15 13:31:50 -04:00
Luke Campagnola
d0e5caac48 merged with dev 2012-05-14 22:08:19 -04:00
Luke Campagnola
841006b79c - Fixes to ScatterPlotItem bounding rect calculation
- Moved some functionality from UIGraphicsItem upstream to GraphicsItem
2012-05-14 22:05:53 -04:00
Luke Campagnola
c34d1cbff8 Bugfixes against python3 updates.
Everything appears wo be working as normal in Python2
Python3 is still only partially functional.
2012-05-11 23:52:11 -04:00
Luke Campagnola
8a9557cff1 added GradientWidget example 2012-05-11 20:10:48 -04:00
Luke Campagnola
7735a6f2b4 added helper functions for python2/3 compatibility 2012-05-11 20:02:54 -04:00
Luke Campagnola
fc9b3dee4d Started Python3 compatibility changes 2012-05-11 18:05:41 -04:00
Luke Campagnola
13b201bebb ScatterPlotItem overhaul:
- performance improvements
  - removed 'identical' argument; this is now handled automatically
  - some minor API changes to SpotItem
2012-05-10 23:37:07 -04:00
Luke Campagnola
2a6cc84254 documentation fixes 2012-05-08 22:56:44 -04:00
Luke Campagnola
fd32dc7458 Added (and disabled; doesn't work very well at the moment) code for using drawPixmapFragments in ScatterPlotItem 2012-05-08 22:55:06 -04:00
Luke Campagnola
2e03c9719f documentation fixes / updates 2012-05-08 18:14:12 -04:00
Luke Campagnola
aadd02f819 documentation fixes 2012-05-08 18:03:00 -04:00
Luke Campagnola
f21c3986d5 Added ViewBox auto-ranging options:
- auto pan (center of view changes, but total range does not)
  - scale only to visible data (data outside of viewbox is ignored when auto-ranging)
2012-05-08 17:56:55 -04:00
Luke Campagnola
9107eed243 bugfix - corrected orientation problems in gradienteditoritem 2012-05-08 17:56:19 -04:00
Luke Campagnola
bfa1abacc1 Bugfix -- axisitem is now more careful about measuring text 2012-05-08 17:55:44 -04:00
Luke Campagnola
7c1c9f8d04 added auto-ranging example 2012-05-08 17:55:25 -04:00
Luke Campagnola
038b116aec Imported ptime.time to top-level namespace 2012-05-08 17:54:27 -04:00