# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'ui.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
# 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_Form(object):
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(372, 252)
        Form.setMinimumSize(QtCore.QSize(372, 252))
        Form.setMaximumSize(QtCore.QSize(372, 252))
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/icons/icon.ico"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        Form.setWindowIcon(icon)
        self.pushButton_7 = QtWidgets.QPushButton(Form)
        self.pushButton_7.setGeometry(QtCore.QRect(10, 90, 61, 31))
        self.pushButton_7.setObjectName("pushButton_7")
        self.pushButton_4 = QtWidgets.QPushButton(Form)
        self.pushButton_4.setGeometry(QtCore.QRect(10, 130, 61, 31))
        self.pushButton_4.setObjectName("pushButton_4")
        self.pushButton_1 = QtWidgets.QPushButton(Form)
        self.pushButton_1.setGeometry(QtCore.QRect(10, 170, 61, 31))
        self.pushButton_1.setObjectName("pushButton_1")
        self.pushButton_2 = QtWidgets.QPushButton(Form)
        self.pushButton_2.setGeometry(QtCore.QRect(80, 170, 61, 31))
        self.pushButton_2.setObjectName("pushButton_2")
        self.pushButton_5 = QtWidgets.QPushButton(Form)
        self.pushButton_5.setGeometry(QtCore.QRect(80, 130, 61, 31))
        self.pushButton_5.setObjectName("pushButton_5")
        self.pushButton_8 = QtWidgets.QPushButton(Form)
        self.pushButton_8.setGeometry(QtCore.QRect(80, 90, 61, 31))
        self.pushButton_8.setObjectName("pushButton_8")
        self.pushButton_9 = QtWidgets.QPushButton(Form)
        self.pushButton_9.setGeometry(QtCore.QRect(150, 90, 61, 31))
        self.pushButton_9.setObjectName("pushButton_9")
        self.pushButton_6 = QtWidgets.QPushButton(Form)
        self.pushButton_6.setGeometry(QtCore.QRect(150, 130, 61, 31))
        self.pushButton_6.setObjectName("pushButton_6")
        self.pushButton_3 = QtWidgets.QPushButton(Form)
        self.pushButton_3.setGeometry(QtCore.QRect(150, 170, 61, 31))
        self.pushButton_3.setObjectName("pushButton_3")
        self.pushButton_0 = QtWidgets.QPushButton(Form)
        self.pushButton_0.setGeometry(QtCore.QRect(80, 210, 61, 31))
        self.pushButton_0.setObjectName("pushButton_0")
        self.pushButton_plus = QtWidgets.QPushButton(Form)
        self.pushButton_plus.setGeometry(QtCore.QRect(230, 170, 61, 31))
        self.pushButton_plus.setObjectName("pushButton_plus")
        self.pushButton_minus = QtWidgets.QPushButton(Form)
        self.pushButton_minus.setGeometry(QtCore.QRect(230, 130, 61, 31))
        self.pushButton_minus.setObjectName("pushButton_minus")
        self.pushButton_div = QtWidgets.QPushButton(Form)
        self.pushButton_div.setGeometry(QtCore.QRect(300, 130, 61, 31))
        self.pushButton_div.setObjectName("pushButton_div")
        self.pushButton_mult = QtWidgets.QPushButton(Form)
        self.pushButton_mult.setGeometry(QtCore.QRect(300, 170, 61, 31))
        self.pushButton_mult.setObjectName("pushButton_mult")
        self.pushButton_c = QtWidgets.QPushButton(Form)
        self.pushButton_c.setGeometry(QtCore.QRect(230, 30, 61, 31))
        self.pushButton_c.setObjectName("pushButton_c")
        self.pushButton_mrc = QtWidgets.QPushButton(Form)
        self.pushButton_mrc.setGeometry(QtCore.QRect(300, 30, 61, 31))
        self.pushButton_mrc.setObjectName("pushButton_mrc")
        self.pushButton_answer = QtWidgets.QPushButton(Form)
        self.pushButton_answer.setGeometry(QtCore.QRect(230, 210, 131, 31))
        self.pushButton_answer.setObjectName("pushButton_answer")
        self.pushButton_sqrt = QtWidgets.QPushButton(Form)
        self.pushButton_sqrt.setGeometry(QtCore.QRect(300, 90, 61, 31))
        self.pushButton_sqrt.setObjectName("pushButton_sqrt")
        self.pushButton_percent = QtWidgets.QPushButton(Form)
        self.pushButton_percent.setGeometry(QtCore.QRect(230, 90, 61, 31))
        self.pushButton_percent.setObjectName("pushButton_percent")
        self.label = QtWidgets.QLabel(Form)
        self.label.setGeometry(QtCore.QRect(10, 10, 201, 51))
        font = QtGui.QFont()
        font.setPointSize(24)
        font.setBold(False)
        font.setWeight(50)
        font.setKerning(True)
        self.label.setFont(font)
        self.label.setStyleSheet("background-color: white;")
        self.label.setFrameShape(QtWidgets.QFrame.Box)
        self.label.setFrameShadow(QtWidgets.QFrame.Plain)
        self.label.setLineWidth(1)
        self.label.setTextFormat(QtCore.Qt.AutoText)
        self.label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label.setIndent(10)
        self.label.setObjectName("label")
        self.line = QtWidgets.QFrame(Form)
        self.line.setGeometry(QtCore.QRect(10, 65, 351, 21))
        self.line.setFrameShadow(QtWidgets.QFrame.Plain)
        self.line.setLineWidth(1)
        self.line.setFrameShape(QtWidgets.QFrame.HLine)
        self.line.setObjectName("line")
        self.label_mem = QtWidgets.QLabel(Form)
        self.label_mem.setGeometry(QtCore.QRect(10, 10, 16, 16))
        self.label_mem.setText("")
        self.label_mem.setAlignment(QtCore.Qt.AlignCenter)
        self.label_mem.setObjectName("label_mem")

        self.retranslateUi(Form)
        QtCore.QMetaObject.connectSlotsByName(Form)

    def retranslateUi(self, Form):
        _translate = QtCore.QCoreApplication.translate
        Form.setWindowTitle(_translate("Form", "Самописный калькулятор"))
        self.pushButton_7.setToolTip(_translate("Form", "7"))
        self.pushButton_7.setText(_translate("Form", "7"))
        self.pushButton_4.setToolTip(_translate("Form", "4"))
        self.pushButton_4.setText(_translate("Form", "4"))
        self.pushButton_1.setToolTip(_translate("Form", "1"))
        self.pushButton_1.setText(_translate("Form", "1"))
        self.pushButton_2.setToolTip(_translate("Form", "2"))
        self.pushButton_2.setText(_translate("Form", "2"))
        self.pushButton_5.setToolTip(_translate("Form", "5"))
        self.pushButton_5.setText(_translate("Form", "5"))
        self.pushButton_8.setToolTip(_translate("Form", "8"))
        self.pushButton_8.setText(_translate("Form", "8"))
        self.pushButton_9.setToolTip(_translate("Form", "9"))
        self.pushButton_9.setText(_translate("Form", "9"))
        self.pushButton_6.setToolTip(_translate("Form", "6"))
        self.pushButton_6.setText(_translate("Form", "6"))
        self.pushButton_3.setToolTip(_translate("Form", "3"))
        self.pushButton_3.setText(_translate("Form", "3"))
        self.pushButton_0.setToolTip(_translate("Form", "0"))
        self.pushButton_0.setText(_translate("Form", "0"))
        self.pushButton_plus.setToolTip(_translate("Form", "+"))
        self.pushButton_plus.setText(_translate("Form", "+"))
        self.pushButton_minus.setToolTip(_translate("Form", "-"))
        self.pushButton_minus.setText(_translate("Form", "-"))
        self.pushButton_div.setToolTip(_translate("Form", "/"))
        self.pushButton_div.setText(_translate("Form", "/"))
        self.pushButton_mult.setToolTip(_translate("Form", "*"))
        self.pushButton_mult.setText(_translate("Form", "*"))
        self.pushButton_c.setToolTip(_translate("Form", "Esc"))
        self.pushButton_c.setText(_translate("Form", "C"))
        self.pushButton_mrc.setToolTip(_translate("Form", "M"))
        self.pushButton_mrc.setText(_translate("Form", "MRC"))
        self.pushButton_answer.setToolTip(_translate("Form", "Enter"))
        self.pushButton_answer.setText(_translate("Form", "="))
        self.pushButton_sqrt.setToolTip(_translate("Form", "Q"))
        self.pushButton_sqrt.setText(_translate("Form", "√"))
        self.pushButton_percent.setToolTip(_translate("Form", "P"))
        self.pushButton_percent.setText(_translate("Form", "%"))
        self.label.setText(_translate("Form", "0"))
import res_rc


if __name__ == "__main__":
    import sys
    app = QtWidgets.QApplication(sys.argv)
    Form = QtWidgets.QWidget()
    ui = Ui_Form()
    ui.setupUi(Form)
    Form.show()
    sys.exit(app.exec_())
