Commit Graph

23 Commits

Author SHA1 Message Date
Kyle Sunden
a472f8c5de
Remove all usage of python2_3.py (#1939)
* Remove all usage of python2_3.py

Technically these functions were exported at the top level of the library, this removes them without warning... If we want to we can bring them back for there, but I honestly don't think its needed, as we are py3 only now and have been for multiple releases.

This may introduce a number of 'useless cast' or similar but those were always happening anyway

This PR brought to you by sed

* Update varname in hdf example to avoid collision with builtin

* Clean up some leftover comments surrounding imports of compat code

* Unnecessary string casts

* Additional unnecessary casts

* syntax error fix

* more unnecessary casts

* Yet more unnecessary casts
2021-08-01 21:43:32 -07:00
Kyle Sunden
6a59b7e5b5
Many unused import cleanups (#1935)
* Many unused import cleanups

Ignored some star imports, some vendored code in colorama, only looked within pyqtgraph the library, not e.g. examples

* SpinBox decimal imported with both import and from import
2021-07-31 07:35:23 -07:00
KIU Shueng Chuan
607db15949 call super() on virtual QWidget methods 2021-01-23 08:29:44 +08:00
Mitchel Paulin
e7b11cb39a
Fixed bug where removeTempArea would be called on home even if it was not defined (#1349)
* Fixed bug where removeTempArea would be called on home even if it was not defined

* Made the check for whether or not home is defined more explicit
2020-10-14 10:07:12 -07:00
lidstrom83
df28c41d4b Make DockArea compatible with Qt Designer (#158) 2019-09-13 23:08:28 -07:00
Edward Barnard
dc95f76332 When a floating Dock window is closed, the dock is now returned to its original DockArea 2018-03-30 10:29:45 -07:00
Luke Campagnola
e8128fa5e2 Make dockarea.restoreState behavior for extrra docks be configurable 2017-09-03 20:14:50 -07:00
Luke Campagnola
b6f9516678 Make behavior configurable when a reloaded dock is missing.
+ other bugfixes
2017-09-03 17:00:33 -07: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
ddc7f45b9b Merge branch 'close_signal_upon_dock_close' of https://github.com/lidstrom83/pyqtgraph into lidstrom83-close_signal_upon_dock_close 2015-03-17 23:01:56 -04:00
dlidstrom
431228d0af Removed use of super() in TempAreaWindow 2015-03-17 20:45:21 -06:00
dlidstrom
fe8e7e59db Fixes DockArea save/restore when topContainer is None (i.e. when no docks are present, or when all are in temporary windows). 2015-03-16 10:41:35 -06:00
dlidstrom
76dbdafacc Dock to emit closed signal when closed. Temporary DockArea windows call close method of all docks when they are closed. 2015-03-14 22:55:16 -06:00
Luke Campagnola
b700a1ad3d Merge branch 'lidstrom83-DockArea_apoptose_fix' into develop
Also corrected temporary container persisting after calling dockarea.addDock()
2015-03-14 15:49:45 -04:00
Daniel Lidstrom
853256bd41 DockArea apoptose fix.
Fixes problem where docks can't be added to a non-temporary area once all of its docks have been closed.
2014-12-23 16:46:15 -07: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
tommy3001
92d7bbe18e In list tables "**Arguments**", "Arguments:" changed to **Arguments:** 2014-02-03 21:13:10 +01:00
Luke Campagnola
50df2b2def dockarea, imageview, metaarray 2013-12-23 10:06:26 -05:00
Luke Campagnola
7a7288b6b3 Fixed documentation for 'uver/under' in DockArea
Configure matplotlib to use PySide in MatplotlibWidget
2013-05-28 15:31:10 -04:00
Luke Campagnola
21dff0525a merge from inp, removed print statement 2013-02-24 11:37:17 -05:00
Luke Campagnola
8e5133c873 minor fixes from acq4 2013-02-24 11:32:35 -05:00
Luke Campagnola
86861b5a06 Fixed dock dragging on pyside
Added imageview.setImage argument documentation
2013-02-15 15:22:05 -05:00
Luke Campagnola
af59296231 Reorganized directory structure to be more standard
Started new SVG exporter
Merged updates from ACQ4
2012-12-25 00:43:31 -05:00