# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'app.ui' # # Created by: PyQt5 UI code generator 5.15.7 # # WARNING: Any manual changes made to this file will be lost when pyuic5 is # run again. Do not edit this file unless you know what you are doing. from PyQt5 import QtCore, QtGui, QtWidgets class Ui_MainWindow(object): def setupUi(self, MainWindow): MainWindow.setObjectName("MainWindow") MainWindow.resize(385, 499) icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap("ico.ico"), QtGui.QIcon.Normal, QtGui.QIcon.Off) MainWindow.setWindowIcon(icon) MainWindow.setStyleSheet("background-color: rgb(38, 37, 47);") MainWindow.setIconSize(QtCore.QSize(16, 16)) self.centralwidget = QtWidgets.QWidget(MainWindow) self.centralwidget.setObjectName("centralwidget") self.doneres = QtWidgets.QLabel(self.centralwidget) self.doneres.setGeometry(QtCore.QRect(90, 150, 291, 31)) font = QtGui.QFont() font.setFamily("Comic Sans MS") font.setPointSize(28) self.doneres.setFont(font) self.doneres.setStyleSheet("color: rgb(255, 255, 238);") self.doneres.setText("") self.doneres.setObjectName("doneres") self.again = QtWidgets.QPushButton(self.centralwidget) self.again.setGeometry(QtCore.QRect(110, 350, 181, 51)) font = QtGui.QFont() font.setFamily("Comic Sans MS") font.setPointSize(18) self.again.setFont(font) self.again.setStyleSheet("QPushButton {\n" " border:none;\n" " color: rgb(255, 255, 240);\n" " background-color: rgb(30, 30, 38);\n" "}\n" "QPushButton:hover {\n" " border:none;\n" " color: rgb(255, 255, 255);\n" " background-color: rgb(40, 40, 40);\n" "}\n" "QPushButton:pressed {\n" " border:none;\n" " color: rgb(255, 255, 255);\n" " background-color: rgb(50, 50, 50);\n" "}") self.again.setAutoDefault(False) self.again.setDefault(False) self.again.setFlat(False) self.again.setObjectName("again") MainWindow.setCentralWidget(self.centralwidget) self.retranslateUi(MainWindow) QtCore.QMetaObject.connectSlotsByName(MainWindow) def retranslateUi(self, MainWindow): _translate = QtCore.QCoreApplication.translate MainWindow.setWindowTitle(_translate("MainWindow", "WhatTheNumber")) self.again.setText(_translate("MainWindow", "Ще раз"))