Commit Graph

463 Commits

Author SHA1 Message Date
Luke Campagnola
4c3dfa8c97 added textitem to documentation 2012-08-23 11:04:50 -04:00
Luke Campagnola
f208a9c824 Console: added ability to display exceptions before they are caught
Canvas: added clear() method
2012-08-20 23:04:29 -04:00
Luke Campagnola
1b650083ef Added parametertree documentation 2012-08-17 16:56:12 -04:00
Luke Campagnola
237625a48d Parametertree updates:
- Fixed up parametertree.saveState() and restoreState() methods
  - Updated parametertree documentation
2012-08-17 16:17:44 -04:00
Luke Campagnola
e62af590e7 Added custom graphicsitem example 2012-08-17 16:17:09 -04:00
Luke Campagnola
e21480855f multiprocess updates:
- avoid sending keyboard interrupt signals to child processes
  - parallelizer keeps better track of processes that die unexpectedly
  - added ability to specify a different executable when starting new processes
2012-08-17 16:15:13 -04:00
Luke Campagnola
03d618e1b8 Minor changes:
- flowchart emits state change signal when chart is loaded
 - metaarray workaround for lack of h5py debugging symbols
2012-08-17 16:13:10 -04:00
Luke Campagnola
45312120b1 Added TreeWidgetItem class: subclass of QTreeWidgetItem that manages its own column widgets 2012-08-17 16:11:30 -04:00
Luke Campagnola
1c94d1b87c Updated parametertree documentation 2012-08-17 16:02:12 -04:00
Luke Campagnola
0ee255acfb Fixed up parametertree.saveState() and restoreState() methods 2012-08-17 15:32:11 -04:00
Luke Campagnola
0f97ac77e2 merge from dev 2012-08-14 10:22:05 -04:00
Luke Campagnola
9fa590d03b Added accessors for ImageView PlotWidget and histogram 2012-08-03 00:41:41 -04:00
Luke Campagnola
b88f0a22a2 ImageView can now be initialized with custom view and image objects 2012-08-03 00:29:05 -04:00
Luke Campagnola
e4e3a636f3 Added console example to menu 2012-08-03 00:08:05 -04:00
Luke Campagnola
39fa59b672 ImageView fix: display correct coordinates in ROI plot for scaled, single-frame images 2012-08-02 23:59:04 -04:00
Luke Campagnola
c686395ebe ImageView fix: display correct coordinates in ROI plot for scaled, single-frame images
Minor documentation updates
2012-08-02 22:46:08 -04:00
Luke Campagnola
a41d330c29 Bugfixes:
- Fixed some floating-point precision issues. (Added a workaround for QTransform.inverted() bug)
  - No longer putting asUnicode inside __builtin__ since this causes problems in some rare circumstances
    (pyshell, lazy import recipe)
  - Minor docstring updates
2012-07-12 15:35:58 -04:00
Luke Campagnola
f81e94061f added dockarea example 2012-07-10 16:30:03 -04:00
Luke Campagnola
4384944952 Cleaned up parametertree example 2012-07-09 17:14:41 -04:00
Luke Campagnola
2213dea9d8 Bugfixes
- AxisItem.setScale(1) works properly to disable auto-value-scaling
- OpenGL fixes (stack overflow when drawing items, improper call to glPopAttrib)
2012-07-09 14:41:10 -04:00
Luke Campagnola
662b319d7b - PlotItem can now be constructed with customized ViewBox and AxisItems
- Text spacing fix for AxisItem
2012-07-09 08:38:30 -04:00
Luke Campagnola
f178919bee Python3 compatibility updates 2012-07-09 08:36:59 -04:00
Luke Campagnola
b1dbec848c Added checks for OpenGL version and 3D texture size limits
Added script for reporting GL version info
2012-07-08 21:33:35 -04:00
Luke Campagnola
6d01aa2b09 Bugfixes:
- workaround for PySide exit crash
- fixed alpha of major/minor grid lines
2012-07-03 14:44:07 -04:00
Luke Campagnola
73e94f543c Parallelize now reseeds random number generators after fork()
Bugfix -- AxisItem enforces tick boundaries more strictly
2012-06-30 23:32:26 -04:00
Luke Campagnola
3d71a1f555 Documentation updates
minor code edits
2012-06-30 23:30:35 -04:00
Luke Campagnola
5eacefb926 Fixed pyside import error 2012-06-29 15:08:14 -04:00
Luke Campagnola
0953741671 Updated systemInfo() to read from .bzr if needed 2012-06-29 14:53:32 -04:00
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