Set main and download windows initial position

This commit is contained in:
Marco
2019-06-23 20:40:08 +02:00
parent a5ebd868d2
commit 8c8cc1ca4a
2 changed files with 8 additions and 4 deletions

View File

@@ -59,6 +59,10 @@ class Artemis(QMainWindow, Ui_MainWindow):
super().__init__()
self.setupUi(self)
self.set_initial_size()
qtRectangle = self.frameGeometry()
centerPoint = QDesktopWidget().availableGeometry().center()
qtRectangle.moveCenter(centerPoint)
self.move(qtRectangle.topLeft())
self.closing = False
self.download_window = DownloadWindow()
self.download_window.complete.connect(self.show_downloaded_signals)