示例#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()