1 from pyqtside import QtGui
2 from pyqtside.uic import loadUiGen
3 from utils import completeResPath
5 class PlotWidget(QtGui.QMainWindow):
7 QtGui.QMainWindow.__init__(self)
8 loadUiGen(completeResPath("PlotWidget.ui"), self)
11 """ In test context, the PlotWidget is never fully deleted (because the PyQt binding
12 of QTabWidget doesn't remove completly the references it holds).
16 self.setCentralWidget(None)