Commit Graph

32 Commits

Author SHA1 Message Date
Ogi
afb665ec99 make use of shiboken2 directly for isValid method 2019-05-12 17:35:26 -07:00
Ogi
d873ee6b26 fixes ImportError on importing pysideuic 2019-05-12 17:31:12 -07:00
Luke Campagnola
66dcfc7c67 Merge branch 'develop' into pyside2 2018-05-22 15:22:54 -07:00
Luke Campagnola
11463c5a0b Fix: mkQApp returned None if a QApplication was already created elsewhere 2018-05-04 11:42:37 -07:00
Luke Campagnola
3240f7a435 fix qapp storage bug 2018-02-23 17:40:36 -08:00
Luke Campagnola
927fe44ab9 move mkQApp to Qt.py to make it easier to import internally
GraphicsLayoutWidget now calls mkQApp
2018-02-23 17:34:15 -08:00
Luke Campagnola
82afad8366 Fix up Qt.py and deprecate USE_XX variables 2018-02-16 20:42:34 -08:00
Luke Campagnola
4867149d83 Be a little more tolerant of missing Qt packages, and defer import errors until
we try to use the missing package.
2018-01-24 09:03:44 -08:00
Luke Campagnola
5aa2a1998f Override qAbort on slot exceptions for PyQt>=5.5 2017-10-05 12:42:20 -07:00
Luke Campagnola
95b2acb027 Merge pull request #349 from campagnola/roi-tests
Roi tests
2016-08-27 15:59:53 -07:00
Luke Campagnola
230659a4db Allow Qt lib selection from environment variable for testing
Cover up some QtTest differences between PyQt4 / PyQt5
2016-06-05 00:48:13 -07:00
Luke Campagnola
63d12c1caa Merge pull request #287 from ales-erjavec/qt5-fix
Qt5 compatifility fixes
2016-04-04 13:06:32 -07:00
Luke Campagnola
e4bdc17112 Add qWait surrogate for PySide 2016-02-22 23:11:29 -08:00
Ales Erjavec
dddd4f51e2 Remove import of PyQt5.Qt unified module
Avaid unnecessary import of QtMultimediaWidgets
(https://www.riverbankcomputing.com/pipermail/pyqt/2016-February/036875.html)
2016-02-22 11:50:26 +01:00
Ales Erjavec
167bcbb7aa Fix QGraphicsItem.scale monkey patch for Qt5
Preserve the QGraphicsItem.scale() -> float overload behaviour
2016-02-22 11:26:58 +01:00
Ales Erjavec
5388d52928 Fix QHeaderView.setResizeMode monkey patch for Qt5 shim
QHeaderView.setResizeMode/setSectionResizeMode has two
argument overload.
2016-02-22 11:13:38 +01:00
Eric Dill
c02dbe7679 TST: use pyqtgraph.Qt to import Qt stuff 2015-07-31 10:22:41 -04: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
Luke Campagnola
7e40b329e9 more examples working under pyqt5 2015-02-28 11:05:57 -05:00
Luke Campagnola
058dd183d3 Cleaned up example loader 2015-02-28 10:32:34 -05:00
compass
478a3b1aa4 Fix some bugs in PyQt5 2015-01-17 00:21:33 +08:00
Luke Campagnola
ab411012f8 Added some ViewBox unit tests, fixed minor API bug 2014-05-18 17:57:16 -04:00
Luke Campagnola
5a8d77d6f2 Fixed unicode issues with PySide loadUiType
Added unit test for loadUiType
2014-04-26 13:45:34 -04:00
Luke Campagnola
0bb300b7f2 Generated qt5 template files 2014-03-29 06:57:13 -04:00
Luke Campagnola
8046f1e4ff Merge branch 'pyqt5' of https://github.com/mfitzp/pyqtgraph into mfitzp-pyqt5 2014-03-26 13:56:32 -04:00
Luke Campagnola
25e7d12f09 Cleanup / fixes:
- Corrected isQObjectAlive for PyQt and older PySide
  - Warning messages are opt-in using pg.setConfigOptions(crashWarning=True)
2014-03-24 15:47:32 -04:00
fabioz
6433795e78 Make sure we don't leave view boxes alive by doing a 'bridge' for the on the plot items. Also added warnings if proper cleanup wasn't done. 2014-03-13 17:38:50 -03:00
Martin Fitzpatrick
e0c22e2796 Adding some additional deprectated APIs for Qt5. Example plots (mostly) working.
This adds some remaining APIs that were deprecated in Qt5. These are easy to do
as they're all documented, e.g.
http://qt-project.org/doc/qt-5.0/qtwidgets/qgraphicsitem-compat.html

Tested with most of the examples. Although I can't be sure as I
don't know what the 'correct' output is, they look like they work.

Some issues with interaction e.g. on the color bar plot.
2014-02-14 11:05:10 +01:00
Martin Fitzpatrick
b244805bde Basic plot function works. 2014-02-14 10:57:05 +01:00
Martin Fitzpatrick
42dbd7956a Adding PyQt5 compatibility (broken)
Adding compatibility for PyQt5 via a shim in Qt.py. This restructures the PyQt5 libraries
to match the layout seen in PyQt4, allowing it to continue to be used as drop in replacement.

This works up to the point of importing, however other API changes are broken - for example
the deprectation of .scale() on GraphicsItems throws an error currently.
2014-02-14 10:29:33 +01:00
Luke Campagnola
4e9e75817f Added Qt.loadUiType function for PySide
Added example of simple Designer usage.
2013-12-17 21:23:37 -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