eric6/Project/ProjectFormsBrowser.py

changeset 8265
0090cfa83159
parent 8243
cc717c2ae956
child 8273
698ae46f40a4
equal deleted inserted replaced
8264:f95dde35d0ab 8265:0090cfa83159
772 UI.PixmapCache.getPixmap("designer48"), 772 UI.PixmapCache.getPixmap("designer48"),
773 self.tr("Form Compilation"), 773 self.tr("Form Compilation"),
774 self.tr( 774 self.tr(
775 "<p>The compilation of the form file failed.</p>" 775 "<p>The compilation of the form file failed.</p>"
776 "<p>Reason: {0}</p>").format(str(msg)), 776 "<p>Reason: {0}</p>").format(str(msg)),
777 kind=NotificationTypes.Critical, 777 kind=NotificationTypes.CRITICAL,
778 timeout=0) 778 timeout=0)
779 else: 779 else:
780 ui.showNotification( 780 ui.showNotification(
781 UI.PixmapCache.getPixmap("designer48"), 781 UI.PixmapCache.getPixmap("designer48"),
782 self.tr("Form Compilation"), 782 self.tr("Form Compilation"),
783 self.tr("The compilation of the form file failed."), 783 self.tr("The compilation of the form file failed."),
784 kind=NotificationTypes.Critical, 784 kind=NotificationTypes.CRITICAL,
785 timeout=0) 785 timeout=0)
786 self.compileProc = None 786 self.compileProc = None
787 787
788 def __compileUI(self, fn, noDialog=False, progress=None): 788 def __compileUI(self, fn, noDialog=False, progress=None):
789 """ 789 """

eric ide

mercurial