def tg_importar_DB(self): path = QTVarios.select_ext(self, "lcf") if not path: return None dlTmp = QTVarios.ImportarFicheroDB(self) dlTmp.show() dbn = DBgamesFEN.DBgamesFEN(path) self.dbGamesFEN.appendDB(dbn, range(dbn.all_reccount()), dlTmp) self.actualiza(True)
def tg_importar_DB(self): path = QTVarios.select_ext(self, "lcf") if path: dlTmp = QTVarios.ImportarFicheroDB(self) dlTmp.show() dbn = DBgamesFEN.DBgamesFEN(path) dbn.lee_rowids() liRecnos = range(dbn.reccount()) self.dbGamesFEN.appendDB(dbn, liRecnos, dlTmp) self.actualiza(True)