コード例 #1
0
    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)
コード例 #2
0
    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)