Tools/TRPreviewer.py

branch
Py2 comp.
changeset 3060
5883ce99ee12
parent 3058
0a02c433f52d
parent 3039
8dd0165d805d
child 3145
a9de05d4a22f
diff -r 0a02c433f52d -r 5883ce99ee12 Tools/TRPreviewer.py
--- a/Tools/TRPreviewer.py	Fri Nov 01 15:48:48 2013 +0100
+++ b/Tools/TRPreviewer.py	Sun Nov 03 15:58:22 2013 +0100
@@ -162,8 +162,8 @@
             self.trUtf8('&Open UI Files...'), self)
         self.openUIAct.setStatusTip(self.trUtf8('Open UI files for display'))
         self.openUIAct.setWhatsThis(self.trUtf8(
-                """<b>Open UI Files</b>"""
-                """<p>This opens some UI files for display.</p>"""
+            """<b>Open UI Files</b>"""
+            """<p>This opens some UI files for display.</p>"""
         ))
         self.openUIAct.triggered[()].connect(self.__openWidget)
         
@@ -173,8 +173,8 @@
         self.openQMAct.setStatusTip(self.trUtf8(
             'Open Translation files for display'))
         self.openQMAct.setWhatsThis(self.trUtf8(
-                """<b>Open Translation Files</b>"""
-                """<p>This opens some translation files for display.</p>"""
+            """<b>Open Translation Files</b>"""
+            """<p>This opens some translation files for display.</p>"""
         ))
         self.openQMAct.triggered[()].connect(self.__openTranslation)
         
@@ -196,8 +196,8 @@
             self.trUtf8("Ctrl+Q", "File|Quit")))
         self.exitAct.setStatusTip(self.trUtf8('Quit the application'))
         self.exitAct.setWhatsThis(self.trUtf8(
-                """<b>Quit</b>"""
-                """<p>Quit the application.</p>"""
+            """<b>Quit</b>"""
+            """<p>Quit the application.</p>"""
         ))
         self.exitAct.triggered[()].connect(qApp.closeAllWindows)
         
@@ -220,8 +220,8 @@
         self.aboutAct.setStatusTip(self.trUtf8(
             'Display information about this software'))
         self.aboutAct.setWhatsThis(self.trUtf8(
-                """<b>About</b>"""
-                """<p>Display some information about this software.</p>"""
+            """<b>About</b>"""
+            """<p>Display some information about this software.</p>"""
         ))
         self.aboutAct.triggered[()].connect(self.__about)
         
@@ -229,8 +229,8 @@
         self.aboutQtAct.setStatusTip(
             self.trUtf8('Display information about the Qt toolkit'))
         self.aboutQtAct.setWhatsThis(self.trUtf8(
-                """<b>About Qt</b>"""
-                """<p>Display some information about the Qt toolkit.</p>"""
+            """<b>About Qt</b>"""
+            """<p>Display some information about the Qt toolkit.</p>"""
         ))
         self.aboutQtAct.triggered[()].connect(self.__aboutQt)
         
@@ -258,16 +258,16 @@
             "Ctrl+W", "File|Close")))
         self.closeAct.setStatusTip(self.trUtf8('Close the current window'))
         self.closeAct.setWhatsThis(self.trUtf8(
-                """<b>Close Window</b>"""
-                """<p>Close the current window.</p>"""
+            """<b>Close Window</b>"""
+            """<p>Close the current window.</p>"""
         ))
         self.closeAct.triggered[()].connect(self.preview.closeWidget)
         
         self.closeAllAct = QAction(self.trUtf8('Clos&e All'), self)
         self.closeAllAct.setStatusTip(self.trUtf8('Close all windows'))
         self.closeAllAct.setWhatsThis(self.trUtf8(
-                """<b>Close All Windows</b>"""
-                """<p>Close all windows.</p>"""
+            """<b>Close All Windows</b>"""
+            """<p>Close all windows.</p>"""
         ))
         self.closeAllAct.triggered[()].connect(self.preview.closeAllWidgets)
 
@@ -511,8 +511,8 @@
                     self.parent(),
                     self.trUtf8("Set Translator"),
                     self.trUtf8(
-                        """<p>The translator <b>{0}</b> is not known.</p>""")\
-                        .format(name))
+                        """<p>The translator <b>{0}</b> is not known.</p>""")
+                    .format(name))
                 return
                 
             nTranslator = trans.translator
@@ -728,8 +728,8 @@
                 self,
                 self.trUtf8("Load UI File"),
                 self.trUtf8(
-                    """<p>The file <b>{0}</b> could not be loaded.</p>""")\
-                    .format(self.__uiFileName))
+                    """<p>The file <b>{0}</b> could not be loaded.</p>""")
+                .format(self.__uiFileName))
             self.__valid = False
             return
         
@@ -784,8 +784,8 @@
                     self,
                     self.trUtf8("Load UI File"),
                     self.trUtf8(
-                        """<p>The file <b>{0}</b> could not be loaded.</p>""")\
-                        .format(uiFileName))
+                        """<p>The file <b>{0}</b> could not be loaded.</p>""")
+                    .format(uiFileName))
                 return
             
             uname = name

eric ide

mercurial