Tools/TRPreviewer.py

branch
5_0_x
changeset 521
29a1a1771e5a
parent 110
c9a969db1469
child 522
da309f4795ce
equal deleted inserted replaced
516:1a57b04e3bd2 521:29a1a1771e5a
726 """ 726 """
727 Public slot to load a UI file. 727 Public slot to load a UI file.
728 728
729 @param uiFileName name of the UI file to load (string) 729 @param uiFileName name of the UI file to load (string)
730 """ 730 """
731 widget = self.__findWidget(uiFileName) 731 wview = self.__findWidget(uiFileName)
732 if widget is None: 732 if wview is None:
733 name = os.path.basename(uiFileName) 733 name = os.path.basename(uiFileName)
734 if not name: 734 if not name:
735 QMessageBox.warning(None, 735 QMessageBox.warning(None,
736 self.trUtf8("Load UI File"), 736 self.trUtf8("Load UI File"),
737 self.trUtf8("""<p>The file <b>{0}</b> could not be loaded.</p>""")\ 737 self.trUtf8("""<p>The file <b>{0}</b> could not be loaded.</p>""")\

eric ide

mercurial