29 def __init__(self, connections=None, parent=None): |
29 def __init__(self, connections=None, parent=None): |
30 """ |
30 """ |
31 Constructor |
31 Constructor |
32 |
32 |
33 @param connections list of database connections to add |
33 @param connections list of database connections to add |
34 (list of strings) |
34 @type list of str |
35 @param parent reference to the parent widget (QWidget) |
35 @param parent reference to the parent widget |
|
36 @type QWidget |
36 """ |
37 """ |
37 super().__init__(parent) |
38 super().__init__(parent) |
38 self.setObjectName("SqlBrowser") |
39 self.setObjectName("SqlBrowser") |
39 |
40 |
40 if connections is None: |
41 if connections is None: |