Пример #1
0
    def lose(self):
        import Final

        self.Form = Final.MyDialog()
        self.fui = Final.Ui_Dialog()
        self.fui.setupUi(self.Form)
        self.fui.Exit.clicked.connect(self.out)
        self.fui.Rematch.clicked.connect(self.rematch)
        self.Form.exec()
Пример #2
0
    def draw(self):
        import Final

        self.Form = Final.MyDialog()
        self.fui = Final.Ui_Dialog()
        self.fui.setupUi(self.Form)
        self.fui.Exit.clicked.connect(self.out)
        self.fui.label.setPixmap(QPixmap(".\\img/draw.png"))
        self.fui.Rematch.clicked.connect(self.rematch)
        self.Form.exec()