Initialize the window and its contents.
(self)
| 19 | self.initializeUI() |
| 20 | |
| 21 | def initializeUI(self): |
| 22 | """Initialize the window and its contents.""" |
| 23 | self.setMinimumSize(1100, 800) |
| 24 | self.move(QApplication.desktop().screen().rect().center() - self.rect().center()) |
| 25 | self.setWindowTitle("4.1 - SQL Management GUI") |
| 26 | |
| 27 | self.login = LoginGUI(self) |
| 28 | self.login.show() |
| 29 | |
| 30 | self.createConnection() |
| 31 | self.setupWindow() |
| 32 | self.setupToolbar() |
| 33 | |
| 34 | def createConnection(self): |
| 35 | """Set up connection to the database. Check if the tables needed exist.""" |
no test coverage detected