SqlBrowser/SqlBrowser.py

changeset 3020
542e97d4ecb3
parent 2993
4933ac9daa80
child 3030
4a0a82ddd9d2
equal deleted inserted replaced
3019:7912530a33e2 3020:542e97d4ecb3
77 """ 77 """
78 Private slot to do some actions after the UI has started and the main 78 Private slot to do some actions after the UI has started and the main
79 loop is up. 79 loop is up.
80 """ 80 """
81 for warning in self.__warnings: 81 for warning in self.__warnings:
82 E5MessageBox.warning(self, 82 E5MessageBox.warning(
83 self,
83 self.trUtf8("SQL Browser startup problem"), 84 self.trUtf8("SQL Browser startup problem"),
84 warning) 85 warning)
85 86
86 if len(QSqlDatabase.connectionNames()) == 0: 87 if len(QSqlDatabase.connectionNames()) == 0:
87 self.__browser.addConnectionByDialog() 88 self.__browser.addConnectionByDialog()
176 177
177 def __about(self): 178 def __about(self):
178 """ 179 """
179 Private slot to show the about information. 180 Private slot to show the about information.
180 """ 181 """
181 E5MessageBox.about(self, self.trUtf8("SQL Browser"), self.trUtf8( 182 E5MessageBox.about(
182 """<h3>About SQL Browser</h3>""" 183 self,
183 """<p>The SQL browser window is a little tool to examine """ 184 self.trUtf8("SQL Browser"),
184 """the data and the schema of a database and to execute """ 185 self.trUtf8(
185 """queries on a database.</p>""" 186 """<h3>About SQL Browser</h3>"""
186 )) 187 """<p>The SQL browser window is a little tool to examine """
188 """the data and the schema of a database and to execute """
189 """queries on a database.</p>"""
190 )
191 )
187 192
188 def __aboutQt(self): 193 def __aboutQt(self):
189 """ 194 """
190 Private slot to show info about Qt. 195 Private slot to show info about Qt.
191 """ 196 """

eric ide

mercurial