Exemple #1
0
 def _handle_read(self):
     ins = QDataStream(self.con)
     set_version(ins)
     line = str(ins.readString(), encoding='ascii')
     logging.info(line)
     windows.goto(int(line))
Exemple #2
0
 def _handle_read(self):
     ins = QDataStream(self.con)
     set_version(ins)
     line = str(ins.readString(), encoding='ascii')
     if line == 'toggle':
         self.toggle.emit()