예제 #1
0
파일: console.py 프로젝트: AEliu/calibre
 def shutdown(self):
     dynamic.set('console_history', self.history.serialize())
     self.shutting_down = True
     for c in self.controllers:
         c.kill()
예제 #2
0
파일: main.py 프로젝트: tokot/calibre
 def closeEvent(self, *args):
     dynamic.set('console_window_geometry',
             bytearray(self.saveGeometry()))
     self.console.shutdown()
     return QDialog.closeEvent(self, *args)
예제 #3
0
 def shutdown(self):
     dynamic.set('console_history', self.history.serialize())
     self.shutting_down = True
     for c in self.controllers:
         c.kill()