Beispiel #1
0
 def quit(self):
     try:
         self.documents_controller.closeAllDocuments()
         TemporaryDirectory.delete()
         QApplication.quit()
     except Exception as e:
         Dialogs.showError(e)
Beispiel #2
0
	def quit(self):
		try:
			self.documents_controller.closeAllDocuments()
			TemporaryDirectory.delete()
			QApplication.quit()
		except Exception, e:
			Dialogs.showError(e)
Beispiel #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)
Beispiel #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)