def __init__(self): QtGui.QDialog.__init__(self) self.ui = Ui_errorDialog() self.ui.setupUi(self)
class errorBox(QtGui.QDialog): """Displays error dialog when data file is missing""" def __init__(self): QtGui.QDialog.__init__(self) self.ui = Ui_errorDialog() self.ui.setupUi(self)