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

# Form implementation generated from reading ui file 'calculator.ui'
#
# Created by: PyQt5 UI code generator 5.15.0
#
# 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(415, 320)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.lcdNumber = QtWidgets.QLCDNumber(self.centralwidget)
        self.lcdNumber.setGeometry(QtCore.QRect(10, 0, 401, 91))
        self.lcdNumber.setToolTipDuration(-1)
        self.lcdNumber.setFrameShape(QtWidgets.QFrame.Box)
        self.lcdNumber.setFrameShadow(QtWidgets.QFrame.Plain)
        self.lcdNumber.setObjectName("lcdNumber")
        self.gridLayoutWidget = QtWidgets.QWidget(self.centralwidget)
        self.gridLayoutWidget.setGeometry(QtCore.QRect(10, 100, 401, 181))
        self.gridLayoutWidget.setObjectName("gridLayoutWidget")
        self.gridLayout = QtWidgets.QGridLayout(self.gridLayoutWidget)
        self.gridLayout.setContentsMargins(0, 0, 0, 0)
        self.gridLayout.setObjectName("gridLayout")
        self.pushButton_eq = QtWidgets.QPushButton(self.gridLayoutWidget)
        self.pushButton_eq.setObjectName("pushButton_eq")
        self.gridLayout.addWidget(self.pushButton_eq, 5, 2, 1, 2)
        self.pushButton_add = QtWidgets.QPushButton(self.gridLayoutWidget)
        self.pushButton_add.setObjectName("pushButton_add")
        self.gridLayout.addWidget(self.pushButton_add, 4, 3, 1, 1)
        self.pushButton_n4 = QtWidgets.QPushButton(self.gridLayoutWidget)
        self.pushButton_n4.setObjectName("pushButton_n4")
        self.gridLayout.addWidget(self.pushButton_n4, 3, 0, 1, 1)
        self.pushButton_n3 = QtWidgets.QPushButton(self.gridLayoutWidget)
        self.pushButton_n3.setObjectName("pushButton_n3")
        self.gridLayout.addWidget(self.pushButton_n3, 4, 2, 1, 1)
        self.pushButton_re = QtWidgets.QPushButton(self.gridLayoutWidget)
        self.pushButton_re.setObjectName("pushButton_re")
        self.gridLayout.addWidget(self.pushButton_re, 0, 0, 1, 1)
        self.pushButton_n2 = QtWidgets.QPushButton(self.gridLayoutWidget)
        self.pushButton_n2.setObjectName("pushButton_n2")
        self.gridLayout.addWidget(self.pushButton_n2, 4, 1, 1, 1)
        self.pushButton_n7 = QtWidgets.QPushButton(self.gridLayoutWidget)
        self.pushButton_n7.setObjectName("pushButton_n7")
        self.gridLayout.addWidget(self.pushButton_n7, 2, 0, 1, 1)
        self.pushButton_n6 = QtWidgets.QPushButton(self.gridLayoutWidget)
        self.pushButton_n6.setObjectName("pushButton_n6")
        self.gridLayout.addWidget(self.pushButton_n6, 3, 2, 1, 1)
        self.pushButton_n8 = QtWidgets.QPushButton(self.gridLayoutWidget)
        self.pushButton_n8.setObjectName("pushButton_n8")
        self.gridLayout.addWidget(self.pushButton_n8, 2, 1, 1, 1)
        self.pushButton_mr = QtWidgets.QPushButton(self.gridLayoutWidget)
        self.pushButton_mr.setObjectName("pushButton_mr")
        self.gridLayout.addWidget(self.pushButton_mr, 0, 2, 1, 1)
        self.pushButton_n1 = QtWidgets.QPushButton(self.gridLayoutWidget)
        self.pushButton_n1.setObjectName("pushButton_n1")
        self.gridLayout.addWidget(self.pushButton_n1, 4, 0, 1, 1)
        self.pushButton_pc = QtWidgets.QPushButton(self.gridLayoutWidget)
        self.pushButton_pc.setObjectName("pushButton_pc")
        self.gridLayout.addWidget(self.pushButton_pc, 5, 1, 1, 1)
        self.pushButton_m = QtWidgets.QPushButton(self.gridLayoutWidget)
        self.pushButton_m.setObjectName("pushButton_m")
        self.gridLayout.addWidget(self.pushButton_m, 0, 1, 1, 1)
        self.pushButton_sub = QtWidgets.QPushButton(self.gridLayoutWidget)
        self.pushButton_sub.setObjectName("pushButton_sub")
        self.gridLayout.addWidget(self.pushButton_sub, 3, 3, 1, 1)
        self.pushButton_n9 = QtWidgets.QPushButton(self.gridLayoutWidget)
        self.pushButton_n9.setObjectName("pushButton_n9")
        self.gridLayout.addWidget(self.pushButton_n9, 2, 2, 1, 1)
        self.pushButton_n5 = QtWidgets.QPushButton(self.gridLayoutWidget)
        self.pushButton_n5.setObjectName("pushButton_n5")
        self.gridLayout.addWidget(self.pushButton_n5, 3, 1, 1, 1)
        self.pushButton_div = QtWidgets.QPushButton(self.gridLayoutWidget)
        self.pushButton_div.setObjectName("pushButton_div")
        self.gridLayout.addWidget(self.pushButton_div, 0, 3, 1, 1)
        self.pushButton_mul = QtWidgets.QPushButton(self.gridLayoutWidget)
        self.pushButton_mul.setObjectName("pushButton_mul")
        self.gridLayout.addWidget(self.pushButton_mul, 2, 3, 1, 1)
        self.pushButton_n0 = QtWidgets.QPushButton(self.gridLayoutWidget)
        self.pushButton_n0.setObjectName("pushButton_n0")
        self.gridLayout.addWidget(self.pushButton_n0, 5, 0, 1, 1)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 415, 23))
        self.menubar.setObjectName("menubar")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)
        self.actionopen_2 = QtWidgets.QAction(MainWindow)
        self.actionopen_2.setObjectName("actionopen_2")

        self.retranslateUi(MainWindow)
        self.pushButton_n1.clicked.connect(self.lcdNumber.setDecMode)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
        self.pushButton_eq.setText(_translate("MainWindow", "="))
        self.pushButton_add.setText(_translate("MainWindow", "+"))
        self.pushButton_n4.setText(_translate("MainWindow", "4"))
        self.pushButton_n3.setText(_translate("MainWindow", "3"))
        self.pushButton_re.setText(_translate("MainWindow", "RE"))
        self.pushButton_n2.setText(_translate("MainWindow", "2"))
        self.pushButton_n7.setText(_translate("MainWindow", "7"))
        self.pushButton_n6.setText(_translate("MainWindow", "6"))
        self.pushButton_n8.setText(_translate("MainWindow", "8"))
        self.pushButton_mr.setText(_translate("MainWindow", "MR"))
        self.pushButton_n1.setText(_translate("MainWindow", "1"))
        self.pushButton_pc.setText(_translate("MainWindow", "/100"))
        self.pushButton_m.setText(_translate("MainWindow", "M"))
        self.pushButton_sub.setText(_translate("MainWindow", "-"))
        self.pushButton_n9.setText(_translate("MainWindow", "9"))
        self.pushButton_n5.setText(_translate("MainWindow", "5"))
        self.pushButton_div.setText(_translate("MainWindow", "÷"))
        self.pushButton_mul.setText(_translate("MainWindow", "X"))
        self.pushButton_n0.setText(_translate("MainWindow", "0"))
        self.actionopen_2.setText(_translate("MainWindow", "open"))
