class SermonSearchController(QDialog): """ Classe controller para a busca de sermões """ def __init__(self): QDialog.__init__(self) """ config ui """ self.ui = Ui_SermonSearch() self.ui.setupUi(self) """ signals """ self.ui.PB_fechar.clicked.connect(self.reject) self.dao = SermonDAO()
def __init__(self): QDialog.__init__(self) """ config ui """ self.ui = Ui_SermonSearch() self.ui.setupUi(self) """ signals """ self.ui.PB_fechar.clicked.connect(self.reject) self.dao = SermonDAO()