SqlBrowser/SqlBrowser.py

branch
Py2 comp.
changeset 3058
0a02c433f52d
parent 3057
10516539f238
parent 3030
4a0a82ddd9d2
child 3060
5883ce99ee12
--- a/SqlBrowser/SqlBrowser.py	Fri Oct 18 23:00:41 2013 +0200
+++ b/SqlBrowser/SqlBrowser.py	Fri Nov 01 15:48:48 2013 +0100
@@ -81,7 +81,8 @@
         loop is up.
         """
         for warning in self.__warnings:
-            E5MessageBox.warning(self,
+            E5MessageBox.warning(
+                self,
                 self.trUtf8("SQL Browser startup problem"),
                 warning)
         
@@ -95,7 +96,8 @@
         # list of all actions
         self.__actions = []
         
-        self.addConnectionAct = E5Action(self.trUtf8('Add Connection'),
+        self.addConnectionAct = E5Action(
+            self.trUtf8('Add Connection'),
             UI.PixmapCache.getIcon("databaseConnection.png"),
             self.trUtf8('Add &Connection...'),
             0, 0, self, 'sql_file_add_connection')
@@ -110,7 +112,8 @@
             self.__browser.addConnectionByDialog)
         self.__actions.append(self.addConnectionAct)
         
-        self.exitAct = E5Action(self.trUtf8('Quit'),
+        self.exitAct = E5Action(
+            self.trUtf8('Quit'),
             UI.PixmapCache.getIcon("exit.png"),
             self.trUtf8('&Quit'),
             QKeySequence(self.trUtf8("Ctrl+Q", "File|Quit")),
@@ -122,7 +125,8 @@
         ))
         self.exitAct.triggered[()].connect(qApp.closeAllWindows)
         
-        self.aboutAct = E5Action(self.trUtf8('About'),
+        self.aboutAct = E5Action(
+            self.trUtf8('About'),
             self.trUtf8('&About'),
             0, 0, self, 'sql_help_about')
         self.aboutAct.setStatusTip(self.trUtf8(
@@ -134,7 +138,8 @@
         self.aboutAct.triggered[()].connect(self.__about)
         self.__actions.append(self.aboutAct)
         
-        self.aboutQtAct = E5Action(self.trUtf8('About Qt'),
+        self.aboutQtAct = E5Action(
+            self.trUtf8('About Qt'),
             self.trUtf8('About &Qt'),
             0, 0, self, 'sql_help_about_qt')
         self.aboutQtAct.setStatusTip(
@@ -180,12 +185,16 @@
         """
         Private slot to show the about information.
         """
-        E5MessageBox.about(self, self.trUtf8("SQL Browser"), self.trUtf8(
-            """<h3>About SQL Browser</h3>"""
-            """<p>The SQL browser window is a little tool to examine """
-            """the data and the schema of a database and to execute """
-            """queries on a database.</p>"""
-        ))
+        E5MessageBox.about(
+            self,
+            self.trUtf8("SQL Browser"),
+            self.trUtf8(
+                """<h3>About SQL Browser</h3>"""
+                """<p>The SQL browser window is a little tool to examine """
+                """the data and the schema of a database and to execute """
+                """queries on a database.</p>"""
+            )
+        )
     
     def __aboutQt(self):
         """

eric ide

mercurial