def playPGN(self): w = PantallaPlayPGN.WPlayBase(self) if w.exec_(): recno = w.recno if recno is not None: siBlancas = w.siBlancas self.gestor = GestorPlayPGN.GestorUnJuego(self) self.gestor.inicio(recno, siBlancas)
def playPGNshow(self, recno): db = PantallaPlayPGN.PlayPGNs(self.configuracion.ficheroPlayPGN) w = PantallaPlayPGN.WPlay1(self.pantalla, self.configuracion, db, recno) if w.exec_(): if w.recno is not None: siBlancas = w.siBlancas self.gestor = GestorPlayPGN.GestorUnJuego(self) self.gestor.inicio(w.recno, siBlancas) db.close()