Commit Graph

2635 Commits

Author SHA1 Message Date
Luke Campagnola
ad7b5f0aad - Default foreground / background colors can now be set using pyqtgraph.setConfigOption()
- Added pyqtgraph.systemInfo() for bug reporting
- GraphicsLayout does a better job of avoiding occupied cells when using automatic placement
- Fixed sizing issues with LabelItem
- Updated GraphicsLayout example
2012-06-29 14:39:27 -04:00
Luke Campagnola
debe847f9f ConsoleWidget: Added methods for toggling exception catching 2012-06-29 12:37:48 -04:00
Luke Campagnola
f99ed791bc Added LayoutWidget 2012-06-29 12:36:31 -04:00
Luke Campagnola
96202aed3e Basic functionality in RemoteGraphicsView is working. 2012-06-22 22:10:37 -04:00
Luke Campagnola
5b6f77be58 Flowchart fixes: better job managing / saving / restoring 'muli' state of terminals 2012-06-21 22:02:19 -04:00
Luke Campagnola
d1fdbadd19 Multiprocessing updates / fixes:
- ForkedProcess is much more careful with inherited state -- closes file handles, removes atexit and excepthook callbacks
   - Remote processes copy sys.path from parent
   - Parallelizer has ProgressDialog support
   - Many docstring updates
   - Added some test code for remote GraphicsView rendering
2012-06-21 22:00:04 -04:00
Luke Campagnola
cc93c7ba43 Minor edits and fixes 2012-06-21 21:52:34 -04:00
Luke Campagnola
7ada1ede4a reloadAll now raises exception if any modules fail to reload 2012-06-21 21:24:44 -04:00
Luke Campagnola
e6a017a89d linked ConsoleWidget in to example menu 2012-06-18 20:01:32 -04:00
Luke Campagnola
3fc741abdc minor code cleanups
pyside-specific bugfixes 
(there is still one pyside bug for which I have no workaround: https://bugreports.qt-project.org/browse/PYSIDE-86)
2012-06-18 19:52:11 -04:00
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