예제 #1
0
 def editarEtiquetasPGN(self):
     resp = PantallaSolo.editarEtiquetasPGN(self.procesador,
                                            self.partida.liTags)
     if resp:
         self.partida.liTags = resp
         self.siCambios = True
         self.ponInformacion()
예제 #2
0
 def editarEtiquetasPGN(self):
     resp = PantallaSolo.editarEtiquetasPGN(self.procesador,
                                            self.game.li_tags)
     if resp:
         self.game.li_tags = resp
         self.changed = True
         self.ponInformacion()
예제 #3
0
 def editarEtiquetasPGN(self):
     resp = PantallaSolo.editarEtiquetasPGN(self.procesador,
                                            self.game.li_tags)
     if resp:
         self.game.set_tags(resp)
         self.changed = True
         self.pon_rotulo()
예제 #4
0
 def tw_massive_change_tags(self):
     resp = PantallaSolo.massive_change_tags(self, self.configuracion, len(self.grid.recnosSeleccionados()))
     if resp:
         recno = self.grid.recno()
         liTags, remove, overwrite, si_all = resp
         liRegistros = range(self.dbGames.reccount()) if si_all else self.grid.recnosSeleccionados()
         nRegistros = len(liRegistros)
         if (nRegistros == 1 or
             ((nRegistros > 1) and
              QTUtil2.pregunta(self, _("Are you sure do you want to change the %d registers?" % nRegistros)))):
             um = QTUtil2.unMomento(self)
             self.dbGames.massive_change_tags(liTags, liRegistros, remove, overwrite)
             self.grid.refresh()
             self.grid.goto(recno, 0)
             um.final()
예제 #5
0
 def editarEtiquetasPGN(self):
     resp = PantallaSolo.editarEtiquetasPGN(self.procesador, self.liPGN)
     if resp:
         self.liPGN = resp
         self.siCambios = True
예제 #6
0
 def editarEtiquetasPGN(self):
     resp = PantallaSolo.editarEtiquetasPGN(self.procesador, self.liPGN)
     if resp:
         self.liPGN = resp
         self.siCambios = True