Commit Graph

91 Commits

Author SHA1 Message Date
Luke Campagnola
de0ee32a20 minor doc / test edits 2016-12-09 10:20:19 -08:00
Luke Campagnola
95de07b48a Merge remote-tracking branch 'lidstrom83/SpinBox_wrapping' into spinbox-formatting 2016-12-09 10:07:28 -08:00
Luke Campagnola
cd7683b61d Fix unit tests 2016-12-08 10:14:18 -08:00
Luke Campagnola
e5a17edb4d Add spinbox 'regex' and 'evalFunc' options to complete user-formatting functionality 2016-12-08 10:12:45 -08:00
Luke Campagnola
9823436273 Add spinbox option to limit height based on font size 2016-12-07 17:34:12 -08:00
Luke Campagnola
6b798ffed8 Fix multiple spinbox problems:
- fixed bug with exponents disappearing after edit
 - fixed parsing of values with junk after suffix
 - fixed red border
 - reverted default decimals to 6
 - make suffix editable (but show red border if it's wrong)
 - revert invalid text on focus lost
 - siPrefix without suffix is no longer allowed
 - let user set arbitrary format string
2016-12-06 22:29:22 -08:00
Luke Campagnola
5ddbb611d1 spinbox selects only numerical portion of text on focus-in 2016-11-30 09:18:09 -08:00
Luke Campagnola
c97c5f51e2 Add spinbox option for custom formatting 2016-11-30 09:16:56 -08:00
Luke Campagnola
e26fb1f9de Add first spinbox tests 2016-11-29 17:45:42 -08:00
Luke Campagnola
fcdc2a74ad Fix import error in MatplotlibWidget 2016-11-01 20:42:11 -07:00
Luke Campagnola
a0e4301b38 Fix VideoSpeedTest to disable RawImageGLWidget when openGL is unavailable 2016-10-26 09:26:01 -07:00
Luke Campagnola
56efcbe981 Workaround for pyopengl import error 2016-10-25 21:03:09 -07:00
Luke Campagnola
4b9f1a20a4 Merge pull request #370 from campagnola/image-alignment
Image alignment
2016-09-07 23:18:51 -07:00
Luke Campagnola
bee5878915 Added imageAxisOrder config option
Added global config documentation
ROIs don't exactly work yet..
2016-08-23 09:06:43 -07:00
Luke Campagnola
f49554d063 Merge pull request #304 from cboulay/osx_mremap
OSX RemoteGrahpics.py: Add shared mem file open and close to get around no mremap.
2016-04-21 00:35:31 -07:00
Chadwick Boulay
a8d3aad97a Add darwin-specific shared mem file open and close in RemoteGraphicsView.py to account for lack of mremap on platform. 2016-03-29 18:24:16 -04:00
Eric Dill
1a22ce3c04 MNT: Call close() up the inheritance chain 2016-03-28 08:14:24 -04:00
Luke Campagnola
215b39a59d Merge pull request #219 from rabryan/wheel-event-ignore
Ignore wheel events in GraphicsView if mouse disabled
2015-12-20 21:14:11 -08:00
dlidstrom
d461bf866f Add wrapping option to SpinBox 2015-10-25 03:51:55 -06:00
Kenneth Lyons
0904fb4b61 Pass TableWidget key press events to the parent class to allow for arrow key and tab navigation. 2015-10-24 23:14:32 -07:00
Richard Bryan
f49c179275 ignore wheel events in GraphicsView if mouse disabled
- this allows parent dialogs to receive these events
if they need to
2015-08-25 10:06:39 -04:00
Luke Campagnola
f34b69e660 Fix #92 (thanks jaxankey) 2015-06-03 22:18:02 -04:00
Luke Campagnola
0976991efd Import from python2_3 for all uses of basestring, cmp, and xrange 2015-05-19 09:29:55 -04:00
Luke Campagnola
8e1c3856ea Added more examples to menu
Minor edits
2015-03-01 16:52:15 -05:00
Luke Campagnola
1fe5976e19 Merge branch 'pyqt5' into develop
Conflicts:
	examples/parametertree.py
	pyqtgraph/Qt.py
	pyqtgraph/graphicsItems/FillBetweenItem.py
	pyqtgraph/graphicsItems/InfiniteLine.py
	pyqtgraph/imageview/ImageView.py
2015-02-28 11:46:41 -05:00
compass
00092d99d4 Add pyqt5 support for MatplotlibWidget 2015-01-17 18:34:30 +08:00
Luke Campagnola
f6ded808ef Fixed a few exit crashes, added unit tests to cover them 2014-11-26 21:25:17 -05:00
Luke Campagnola
ad10b06652 Correction for spinbox auto-selection without suffix 2014-11-14 07:46:10 -05:00
Luke Campagnola
2d78ce6f87 Fix attributeerror when using spinbox in parametertree 2014-11-14 07:42:17 -05:00
Luke Campagnola
753ac9b4c4 Squashed commit of the following:
commit ca3fbe2ff9
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date:   Thu Aug 7 08:41:30 2014 -0400

    Merged numerous updates from acq4:
    * Added HDF5 exporter
    * CSV exporter gets (x,y,y,y) export mode
    * Updates to SVG, Matplotlib exporter
    * Console can filter exceptions by string
    * Added tick context menu to GradientEditorItem
    * Added export feature to imageview
    * Parameter trees:
        - Option to save only user-editable values
        - Option to set visible title of parameters separately from name
        - Added experimental ParameterSystem for handling large systems of
            interdependent parameters
        - Auto-select editable portion of spinbox when editing
    * Added Vector.__abs__
    * Added replacement garbage collector for avoiding crashes on multithreaded Qt
    * Fixed "illegal instruction" caused by closing file handle 7 on OSX
    * configfile now reloads QtCore objects, Point, ColorMap, numpy arrays
    * Avoid triggering recursion issues in exception handler
    * Various bugfies and performance enhancements
2014-08-07 09:03:26 -04:00
Luke Campagnola
5cea58545f Fixed mouse wheel in RemoteGraphicsView + PySide 2014-04-20 14:04:33 -04:00
Luke Campagnola
12d1a5dccf Added configurable formatting for TableWidget 2014-04-12 11:54:23 -04:00
Luke Campagnola
f54dac6c70 cleanup 2014-04-11 23:43:45 -04:00
Luke Campagnola
df8562ce55 Fixed TableWidget append / sort issues 2014-04-11 21:29:15 -04:00
Luke Campagnola
e46439b903 minor docstring updates 2014-04-11 10:54:21 -04:00
Luke Campagnola
89c04c8a81 Corrected bug in multiprocess causing deadlock at exit
Multiprocess debugging messages now use one color per process
Corrected RemoteGraphicsView not setting correct pg options on remote
process

New debugging tools:
* util.cprint for printing color on terminal (based on colorama)
* debug.ThreadColor causes each thread to print in a different color
* debug.PeriodicTrace used for debugging deadlocks
* Mutex for detecting deadlocks
2014-03-14 14:18:46 -04:00
Luke Campagnola
2e3cfcbd6d Make setPen() methods more consistent throughout the package.
Merge remote-tracking branch 'termim/develop' into develop

Conflicts:
	pyqtgraph/graphicsItems/ROI.py
2014-03-01 09:37:59 -05:00
Luke Campagnola
c72638ab1b Merge branch 'tommy3001-doc-updates' into develop
Conflicts:
	pyqtgraph/graphicsItems/AxisItem.py
	pyqtgraph/graphicsItems/PlotDataItem.py
	pyqtgraph/graphicsItems/ROI.py
2014-02-28 21:07:43 -05:00
Mikhail Terekhov
953b9e4129 Make signature of the setPen method consistent 2014-02-28 16:16:13 -05:00
tommy3001
78d92b383f Aditional ":" added, minor list alignments 2014-02-12 21:25:31 +01:00
Sol Simpson
24cf9ada2c BF: unicode fix for TableWidget
Setting a table item value to a unicode value with non ascii chars would
cause the tablewidget contents to not be displayed (no exception thrown
either).

Changed all instances of str(..) or map(str,...) to use asUnicode and
issue seems to be fixed
2014-02-12 04:04:06 -05:00
tommy3001
f99fdaf2ce Merge remote-tracking branch 'remotes/upstream/develop' into develop 2014-02-08 08:50:17 +01:00
Luke Campagnola
193367a56b Signal cleanup:
- Renamed GraphicsView signals to avoid collision with ViewBox signals that
  are wrapped in PlotWidget: sigRangeChanged => sigDeviceRangeChanged and
  sigTransformChanged => sigDeviceTransformChanged.
- All signal disconnections that catch TypeError now also catch RuntimeError
  for pyside compatibility.
2014-02-07 10:38:41 -05:00
tommy3001
2a13994a2a Bugfix: Malformed tables.
All argument lists with `**Arguments:**`
2014-02-05 21:04:33 +01:00
tommy3001
2279775244 Merge branch 'develop' of https://github.com/pyqtgraph/pyqtgraph into develop 2014-02-05 20:06:22 +01:00
Luke Campagnola
9093282a2a Wrap setLimits in PlotItem and PlotWidget 2014-02-04 20:28:23 -05:00
tommy3001
92d7bbe18e In list tables "**Arguments**", "Arguments:" changed to **Arguments:** 2014-02-03 21:13:10 +01:00
Luke Campagnola
d86beb5a5a Added setMinimumPlotHeight method, set default min height to 50px. 2014-01-25 08:58:54 -05:00
Luke Campagnola
5a1a663a50 MultiPlotWidget now uses scroll bar when plots do not fit in widget area. 2014-01-25 08:50:31 -05:00
Luke Campagnola
d4364ea17a Fix MultiPlotWidget wrapping methods incorrectly. 2014-01-25 07:37:04 -05:00