def __init__(self,parent=None): super(BoundsBox,self).__init__(parent) self.ui = Ui_Bounds(self) self.ui.setupUi(self)
class BoundsBox(QtGui.QDialog): def __init__(self,parent=None): super(BoundsBox,self).__init__(parent) self.ui = Ui_Bounds(self) self.ui.setupUi(self)