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