Esempio n. 1
0
 def quit(self):
     try:
         self.documents_controller.closeAllDocuments()
         TemporaryDirectory.delete()
         QApplication.quit()
     except Exception as e:
         Dialogs.showError(e)
Esempio n. 2
0
	def quit(self):
		try:
			self.documents_controller.closeAllDocuments()
			TemporaryDirectory.delete()
			QApplication.quit()
		except Exception, e:
			Dialogs.showError(e)
Esempio n. 3
0
 def initController(self):
     temp_dir = TemporaryDirectory.get()
     self.latex2image_converter = Converter(temp_dir)
     self.latex2image_converter.convertedSignal.connect(
         self.previewGenerated)
     self.latex2image_converter.conversionAbortedSignal.connect(
         self.conversionAborted)
Esempio n. 4
0
	def initController(self):
		temp_dir = TemporaryDirectory.get()
		self.latex2image_converter = Converter(temp_dir)
		self.latex2image_converter.convertedSignal.connect(self.previewGenerated)
		self.latex2image_converter.conversionAbortedSignal.connect(self.conversionAborted)