mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-15 11:25:53 +08:00
Instantiate QtCore dummy class
This commit is contained in:
@@ -13,12 +13,13 @@ except ImportError:
|
||||
QDialog = object
|
||||
QWidget = object
|
||||
|
||||
class QtCore(object):
|
||||
class QtCore_cls(object):
|
||||
Qt = object
|
||||
|
||||
def Signal(self, *args, **kwargs):
|
||||
pass
|
||||
|
||||
QtCore = QtCore_cls()
|
||||
QtWidgets = QtGui
|
||||
|
||||
has_qt = False
|
||||
|
||||
Reference in New Issue
Block a user