from PyQt5 import QtCore, QtGui, QtWidgets, QtPrintSupport # from PySide2 import QtCore, QtGui, QtWidgets, QtPrintSupport # QtCore.pyqtSignal = QtCore.Signal # QtCore.pyqtProperty = QtCore.Property # QtCore.pyqtSlot = QtCore.Slot # import pyqtgraph as pg # # pg.setConfigOption('background', 'w') # pg.setConfigOption('foreground', 'k')