src/eric7/Project/ProjectFormsBrowser.py

branch
eric7
changeset 9576
be9f8e7e42e0
parent 9527
8601253e7633
child 9624
b47dfa7a137d
equal deleted inserted replaced
9575:635b6c5a36e1 9576:be9f8e7e42e0
835 ): 835 ):
836 self.project.appendFile(ofn) 836 self.project.appendFile(ofn)
837 ui.showNotification( 837 ui.showNotification(
838 EricPixmapCache.getPixmap("designer48"), 838 EricPixmapCache.getPixmap("designer48"),
839 self.tr("Form Compilation"), 839 self.tr("Form Compilation"),
840 self.tr("The compilation of the form file" " was successful."), 840 self.tr("The compilation of the form file was successful."),
841 ) 841 )
842 self.project.projectFileCompiled.emit(self.compiledFile, "FORMS") 842 self.project.projectFileCompiled.emit(self.compiledFile, "FORMS")
843 except OSError as msg: 843 except OSError as msg:
844 ui.showNotification( 844 ui.showNotification(
845 EricPixmapCache.getPixmap("designer48"), 845 EricPixmapCache.getPixmap("designer48"),
947 progress.cancel() 947 progress.cancel()
948 EricMessageBox.critical( 948 EricMessageBox.critical(
949 self, 949 self,
950 self.tr("Process Generation Error"), 950 self.tr("Process Generation Error"),
951 self.tr( 951 self.tr(
952 "Could not start {0}.<br>" "Ensure that it is in the search path." 952 "Could not start {0}.<br>Ensure that it is in the search path."
953 ).format(uicompiler), 953 ).format(uicompiler),
954 ) 954 )
955 return None 955 return None
956 956
957 def __generateDialogCode(self): 957 def __generateDialogCode(self):

eric ide

mercurial