Logo Search packages:      
Sourcecode: uicilibris version File versions  Download package

def uicilibris::w2mMainWindow::runPdfLatex (   self )
runs PdfLatex with the contents available in self.ui.latexCodeArea

Definition at line 322 of file __init__.py.

                         :
        """
        runs PdfLatex with the contents available in self.ui.latexCodeArea
        """
        if self.latexComp != None:
            del (self.latexComp)
            self.latexComp=None
        self.setPdfProductsEnabled(False)
        self.currentImage=0
        self.compileProgress=QProgressDialog("Getting images ...", "Cancel", 0, self.wb.imageCount()+1, self)
        self.compileProgress.setWindowTitle("LaTeX compilation")
        self.compileProgress.show()
        self.connect(self.compileProgress, SIGNAL("canceled()"), self.stopPdfLatex)
        self.latexSource=unicode(self.ui.latexCodeArea.toPlainText())
        self.lcThread=latexCompileThread(self)
        self.lcThread.start()


Generated by  Doxygen 1.6.0   Back to index