Skip to content

Commit

Permalink
feat: Initialize GameWindow.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Yejining committed Feb 11, 2020
1 parent a1497d7 commit dfda779
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/GameWindow.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import sys

from PyQt5.QtWidgets import QMainWindow, QApplication

from gui.game import Ui_GameWindow


class GameWindow(QMainWindow, Ui_GameWindow):

def __init__(self):
super().__init__()
self.setupUi(self)


if __name__ == '__main__':
app = QApplication(sys.argv)
ex = GameWindow()
ex.show()
sys.exit(app.exec_())

0 comments on commit dfda779

Please sign in to comment.