class InfoApp(QtGui.QDialog): def __init__(self): super(InfoApp, self).__init__() self.ui = Ui_Form() self.ui.setupUi(self) self.show() self.set_listeners() def set_listeners(self): self.ui.pushButton.clicked.connect(self.salir) def salir(self): self.reject()
def __init__(self): super(InfoApp, self).__init__() self.ui = Ui_Form() self.ui.setupUi(self) self.show() self.set_listeners()