29 Constructor |
29 Constructor |
30 |
30 |
31 @param connections list of database connections to add (list of strings) |
31 @param connections list of database connections to add (list of strings) |
32 @param reference to the parent widget (QWidget) |
32 @param reference to the parent widget (QWidget) |
33 """ |
33 """ |
34 QMainWindow.__init__(self, parent) |
34 super().__init__(parent) |
35 self.setObjectName("SqlBrowser") |
35 self.setObjectName("SqlBrowser") |
36 |
36 |
37 self.setWindowTitle(self.trUtf8("SQL Browser")) |
37 self.setWindowTitle(self.trUtf8("SQL Browser")) |
38 self.setWindowIcon(UI.PixmapCache.getIcon("eric.png")) |
38 self.setWindowIcon(UI.PixmapCache.getIcon("eric.png")) |
39 |
39 |