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

# Form implementation generated from reading ui file 'guess_the_number.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_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(800, 600)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(MainWindow.sizePolicy().hasHeightForWidth())
        MainWindow.setSizePolicy(sizePolicy)
        MainWindow.setMinimumSize(QtCore.QSize(100, 100))
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.widget = QtWidgets.QWidget(self.centralwidget)
        self.widget.setGeometry(QtCore.QRect(40, 90, 473, 375))
        self.widget.setObjectName("widget")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.widget)
        self.verticalLayout.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.digit_1 = QtWidgets.QPushButton(self.widget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.digit_1.sizePolicy().hasHeightForWidth())
        self.digit_1.setSizePolicy(sizePolicy)
        self.digit_1.setMinimumSize(QtCore.QSize(100, 100))
        self.digit_1.setObjectName("digit_1")
        self.horizontalLayout.addWidget(self.digit_1)
        self.digit_2 = QtWidgets.QPushButton(self.widget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.digit_2.sizePolicy().hasHeightForWidth())
        self.digit_2.setSizePolicy(sizePolicy)
        self.digit_2.setMinimumSize(QtCore.QSize(100, 100))
        self.digit_2.setObjectName("digit_2")
        self.horizontalLayout.addWidget(self.digit_2)
        self.digit_3 = QtWidgets.QPushButton(self.widget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.digit_3.sizePolicy().hasHeightForWidth())
        self.digit_3.setSizePolicy(sizePolicy)
        self.digit_3.setMinimumSize(QtCore.QSize(100, 100))
        self.digit_3.setObjectName("digit_3")
        self.horizontalLayout.addWidget(self.digit_3)
        self.digit_4 = QtWidgets.QPushButton(self.widget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.digit_4.sizePolicy().hasHeightForWidth())
        self.digit_4.setSizePolicy(sizePolicy)
        self.digit_4.setMinimumSize(QtCore.QSize(100, 100))
        self.digit_4.setObjectName("digit_4")
        self.horizontalLayout.addWidget(self.digit_4)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.keypad_1 = QtWidgets.QPushButton(self.widget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.keypad_1.sizePolicy().hasHeightForWidth())
        self.keypad_1.setSizePolicy(sizePolicy)
        self.keypad_1.setMinimumSize(QtCore.QSize(50, 50))
        self.keypad_1.setObjectName("keypad_1")
        self.gridLayout.addWidget(self.keypad_1, 0, 0, 1, 1)
        self.keypad_2 = QtWidgets.QPushButton(self.widget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.keypad_2.sizePolicy().hasHeightForWidth())
        self.keypad_2.setSizePolicy(sizePolicy)
        self.keypad_2.setMinimumSize(QtCore.QSize(50, 50))
        self.keypad_2.setObjectName("keypad_2")
        self.gridLayout.addWidget(self.keypad_2, 0, 1, 1, 1)
        self.keypad_3 = QtWidgets.QPushButton(self.widget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.keypad_3.sizePolicy().hasHeightForWidth())
        self.keypad_3.setSizePolicy(sizePolicy)
        self.keypad_3.setMinimumSize(QtCore.QSize(50, 50))
        self.keypad_3.setObjectName("keypad_3")
        self.gridLayout.addWidget(self.keypad_3, 0, 2, 1, 1)
        self.keypad_4 = QtWidgets.QPushButton(self.widget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.keypad_4.sizePolicy().hasHeightForWidth())
        self.keypad_4.setSizePolicy(sizePolicy)
        self.keypad_4.setMinimumSize(QtCore.QSize(50, 50))
        self.keypad_4.setObjectName("keypad_4")
        self.gridLayout.addWidget(self.keypad_4, 1, 0, 1, 1)
        self.keypad_5 = QtWidgets.QPushButton(self.widget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.keypad_5.sizePolicy().hasHeightForWidth())
        self.keypad_5.setSizePolicy(sizePolicy)
        self.keypad_5.setMinimumSize(QtCore.QSize(50, 50))
        self.keypad_5.setObjectName("keypad_5")
        self.gridLayout.addWidget(self.keypad_5, 1, 1, 1, 1)
        self.keypad_6 = QtWidgets.QPushButton(self.widget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.keypad_6.sizePolicy().hasHeightForWidth())
        self.keypad_6.setSizePolicy(sizePolicy)
        self.keypad_6.setMinimumSize(QtCore.QSize(50, 50))
        self.keypad_6.setObjectName("keypad_6")
        self.gridLayout.addWidget(self.keypad_6, 1, 2, 1, 1)
        self.keypad_7 = QtWidgets.QPushButton(self.widget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.keypad_7.sizePolicy().hasHeightForWidth())
        self.keypad_7.setSizePolicy(sizePolicy)
        self.keypad_7.setMinimumSize(QtCore.QSize(50, 50))
        self.keypad_7.setObjectName("keypad_7")
        self.gridLayout.addWidget(self.keypad_7, 2, 0, 1, 1)
        self.keypad_8 = QtWidgets.QPushButton(self.widget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.keypad_8.sizePolicy().hasHeightForWidth())
        self.keypad_8.setSizePolicy(sizePolicy)
        self.keypad_8.setMinimumSize(QtCore.QSize(50, 50))
        self.keypad_8.setObjectName("keypad_8")
        self.gridLayout.addWidget(self.keypad_8, 2, 1, 1, 1)
        self.keypad_9 = QtWidgets.QPushButton(self.widget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.keypad_9.sizePolicy().hasHeightForWidth())
        self.keypad_9.setSizePolicy(sizePolicy)
        self.keypad_9.setMinimumSize(QtCore.QSize(50, 50))
        self.keypad_9.setObjectName("keypad_9")
        self.gridLayout.addWidget(self.keypad_9, 2, 2, 1, 1)
        self.keypad_0 = QtWidgets.QPushButton(self.widget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.keypad_0.sizePolicy().hasHeightForWidth())
        self.keypad_0.setSizePolicy(sizePolicy)
        self.keypad_0.setMinimumSize(QtCore.QSize(50, 50))
        self.keypad_0.setObjectName("keypad_0")
        self.gridLayout.addWidget(self.keypad_0, 3, 1, 1, 1)
        self.horizontalLayout_2.addLayout(self.gridLayout)
        self.pushButton = QtWidgets.QPushButton(self.widget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton.sizePolicy().hasHeightForWidth())
        self.pushButton.setSizePolicy(sizePolicy)
        self.pushButton.setMinimumSize(QtCore.QSize(200, 100))
        self.pushButton.setObjectName("pushButton")
        self.horizontalLayout_2.addWidget(self.pushButton)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.label = QtWidgets.QLabel(self.widget)
        self.label.setObjectName("label")
        self.verticalLayout.addWidget(self.label)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 800, 27))
        self.menubar.setObjectName("menubar")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)

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

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
        self.digit_1.setText(_translate("MainWindow", "X"))
        self.digit_2.setText(_translate("MainWindow", "X"))
        self.digit_3.setText(_translate("MainWindow", "X"))
        self.digit_4.setText(_translate("MainWindow", "X"))
        self.keypad_1.setText(_translate("MainWindow", "1"))
        self.keypad_2.setText(_translate("MainWindow", "2"))
        self.keypad_3.setText(_translate("MainWindow", "3"))
        self.keypad_4.setText(_translate("MainWindow", "4"))
        self.keypad_5.setText(_translate("MainWindow", "5"))
        self.keypad_6.setText(_translate("MainWindow", "6"))
        self.keypad_7.setText(_translate("MainWindow", "7"))
        self.keypad_8.setText(_translate("MainWindow", "8"))
        self.keypad_9.setText(_translate("MainWindow", "9"))
        self.keypad_0.setText(_translate("MainWindow", "0"))
        self.pushButton.setText(_translate("MainWindow", "GO!"))
        self.label.setText(_translate("MainWindow", "You have 10 turns remaining."))
