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

# Form implementation generated from reading ui file './mw4/gui/widgets/keypad.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_KeypadDialog(object):
    def setupUi(self, KeypadDialog):
        KeypadDialog.setObjectName("KeypadDialog")
        KeypadDialog.resize(270, 600)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(KeypadDialog.sizePolicy().hasHeightForWidth())
        KeypadDialog.setSizePolicy(sizePolicy)
        KeypadDialog.setMinimumSize(QtCore.QSize(270, 600))
        KeypadDialog.setMaximumSize(QtCore.QSize(270, 600))
        KeypadDialog.setSizeIncrement(QtCore.QSize(10, 10))
        KeypadDialog.setBaseSize(QtCore.QSize(10, 10))
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(10)
        KeypadDialog.setFont(font)
        self.b2 = QtWidgets.QPushButton(KeypadDialog)
        self.b2.setGeometry(QtCore.QRect(80, 475, 50, 50))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.b2.sizePolicy().hasHeightForWidth())
        self.b2.setSizePolicy(sizePolicy)
        self.b2.setMinimumSize(QtCore.QSize(50, 50))
        self.b2.setMaximumSize(QtCore.QSize(50, 50))
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(8)
        self.b2.setFont(font)
        self.b2.setProperty("keypad", True)
        self.b2.setObjectName("b2")
        self.bdown = QtWidgets.QPushButton(KeypadDialog)
        self.bdown.setGeometry(QtCore.QRect(110, 295, 50, 50))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.bdown.sizePolicy().hasHeightForWidth())
        self.bdown.setSizePolicy(sizePolicy)
        self.bdown.setMinimumSize(QtCore.QSize(50, 50))
        self.bdown.setMaximumSize(QtCore.QSize(50, 50))
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(8)
        self.bdown.setFont(font)
        self.bdown.setProperty("keypad", True)
        self.bdown.setObjectName("bdown")
        self.bminus = QtWidgets.QPushButton(KeypadDialog)
        self.bminus.setGeometry(QtCore.QRect(200, 415, 50, 50))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.bminus.sizePolicy().hasHeightForWidth())
        self.bminus.setSizePolicy(sizePolicy)
        self.bminus.setMinimumSize(QtCore.QSize(50, 50))
        self.bminus.setMaximumSize(QtCore.QSize(50, 50))
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(8)
        self.bminus.setFont(font)
        self.bminus.setProperty("keypad", False)
        self.bminus.setObjectName("bminus")
        self.b4 = QtWidgets.QPushButton(KeypadDialog)
        self.b4.setGeometry(QtCore.QRect(20, 415, 50, 50))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.b4.sizePolicy().hasHeightForWidth())
        self.b4.setSizePolicy(sizePolicy)
        self.b4.setMinimumSize(QtCore.QSize(50, 50))
        self.b4.setMaximumSize(QtCore.QSize(50, 50))
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(8)
        self.b4.setFont(font)
        self.b4.setProperty("keypad", True)
        self.b4.setObjectName("b4")
        self.besc = QtWidgets.QPushButton(KeypadDialog)
        self.besc.setGeometry(QtCore.QRect(80, 535, 50, 50))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.besc.sizePolicy().hasHeightForWidth())
        self.besc.setSizePolicy(sizePolicy)
        self.besc.setMinimumSize(QtCore.QSize(50, 50))
        self.besc.setMaximumSize(QtCore.QSize(50, 50))
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(8)
        self.besc.setFont(font)
        self.besc.setProperty("keypad", True)
        self.besc.setObjectName("besc")
        self.b0 = QtWidgets.QPushButton(KeypadDialog)
        self.b0.setGeometry(QtCore.QRect(20, 535, 50, 50))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.b0.sizePolicy().hasHeightForWidth())
        self.b0.setSizePolicy(sizePolicy)
        self.b0.setMinimumSize(QtCore.QSize(50, 50))
        self.b0.setMaximumSize(QtCore.QSize(50, 50))
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(8)
        self.b0.setFont(font)
        self.b0.setProperty("keypad", True)
        self.b0.setObjectName("b0")
        self.bmenu = QtWidgets.QPushButton(KeypadDialog)
        self.bmenu.setGeometry(QtCore.QRect(140, 535, 50, 50))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.bmenu.sizePolicy().hasHeightForWidth())
        self.bmenu.setSizePolicy(sizePolicy)
        self.bmenu.setMinimumSize(QtCore.QSize(50, 50))
        self.bmenu.setMaximumSize(QtCore.QSize(50, 50))
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(8)
        self.bmenu.setFont(font)
        self.bmenu.setProperty("keypad", True)
        self.bmenu.setObjectName("bmenu")
        self.b7 = QtWidgets.QPushButton(KeypadDialog)
        self.b7.setGeometry(QtCore.QRect(20, 355, 50, 50))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.b7.sizePolicy().hasHeightForWidth())
        self.b7.setSizePolicy(sizePolicy)
        self.b7.setMinimumSize(QtCore.QSize(50, 50))
        self.b7.setMaximumSize(QtCore.QSize(50, 50))
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(8)
        self.b7.setFont(font)
        self.b7.setProperty("keypad", True)
        self.b7.setObjectName("b7")
        self.benter = QtWidgets.QPushButton(KeypadDialog)
        self.benter.setGeometry(QtCore.QRect(200, 475, 50, 50))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.benter.sizePolicy().hasHeightForWidth())
        self.benter.setSizePolicy(sizePolicy)
        self.benter.setMinimumSize(QtCore.QSize(50, 50))
        self.benter.setMaximumSize(QtCore.QSize(50, 50))
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(8)
        self.benter.setFont(font)
        self.benter.setProperty("keypad", True)
        self.benter.setObjectName("benter")
        self.b3 = QtWidgets.QPushButton(KeypadDialog)
        self.b3.setGeometry(QtCore.QRect(140, 475, 50, 50))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.b3.sizePolicy().hasHeightForWidth())
        self.b3.setSizePolicy(sizePolicy)
        self.b3.setMinimumSize(QtCore.QSize(50, 50))
        self.b3.setMaximumSize(QtCore.QSize(50, 50))
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(8)
        self.b3.setFont(font)
        self.b3.setProperty("keypad", True)
        self.b3.setObjectName("b3")
        self.bright = QtWidgets.QPushButton(KeypadDialog)
        self.bright.setGeometry(QtCore.QRect(170, 265, 50, 50))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.bright.sizePolicy().hasHeightForWidth())
        self.bright.setSizePolicy(sizePolicy)
        self.bright.setMinimumSize(QtCore.QSize(50, 50))
        self.bright.setMaximumSize(QtCore.QSize(50, 50))
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(8)
        self.bright.setFont(font)
        self.bright.setProperty("keypad", True)
        self.bright.setObjectName("bright")
        self.b1 = QtWidgets.QPushButton(KeypadDialog)
        self.b1.setGeometry(QtCore.QRect(20, 475, 50, 50))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.b1.sizePolicy().hasHeightForWidth())
        self.b1.setSizePolicy(sizePolicy)
        self.b1.setMinimumSize(QtCore.QSize(50, 50))
        self.b1.setMaximumSize(QtCore.QSize(50, 50))
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(8)
        self.b1.setFont(font)
        self.b1.setProperty("keypad", True)
        self.b1.setObjectName("b1")
        self.bup = QtWidgets.QPushButton(KeypadDialog)
        self.bup.setGeometry(QtCore.QRect(110, 230, 50, 50))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.bup.sizePolicy().hasHeightForWidth())
        self.bup.setSizePolicy(sizePolicy)
        self.bup.setMinimumSize(QtCore.QSize(50, 50))
        self.bup.setMaximumSize(QtCore.QSize(50, 50))
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(8)
        self.bup.setFont(font)
        self.bup.setProperty("keypad", True)
        self.bup.setObjectName("bup")
        self.b8 = QtWidgets.QPushButton(KeypadDialog)
        self.b8.setGeometry(QtCore.QRect(80, 355, 50, 50))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.b8.sizePolicy().hasHeightForWidth())
        self.b8.setSizePolicy(sizePolicy)
        self.b8.setMinimumSize(QtCore.QSize(50, 50))
        self.b8.setMaximumSize(QtCore.QSize(50, 50))
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(8)
        self.b8.setFont(font)
        self.b8.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.b8.setProperty("keypad", True)
        self.b8.setObjectName("b8")
        self.bstop = QtWidgets.QPushButton(KeypadDialog)
        self.bstop.setGeometry(QtCore.QRect(200, 535, 50, 50))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.bstop.sizePolicy().hasHeightForWidth())
        self.bstop.setSizePolicy(sizePolicy)
        self.bstop.setMinimumSize(QtCore.QSize(50, 50))
        self.bstop.setMaximumSize(QtCore.QSize(50, 50))
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(8)
        self.bstop.setFont(font)
        self.bstop.setProperty("keypad", True)
        self.bstop.setObjectName("bstop")
        self.b6 = QtWidgets.QPushButton(KeypadDialog)
        self.b6.setGeometry(QtCore.QRect(140, 415, 50, 50))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.b6.sizePolicy().hasHeightForWidth())
        self.b6.setSizePolicy(sizePolicy)
        self.b6.setMinimumSize(QtCore.QSize(50, 50))
        self.b6.setMaximumSize(QtCore.QSize(50, 50))
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(8)
        self.b6.setFont(font)
        self.b6.setProperty("keypad", True)
        self.b6.setObjectName("b6")
        self.b9 = QtWidgets.QPushButton(KeypadDialog)
        self.b9.setGeometry(QtCore.QRect(140, 355, 50, 50))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.b9.sizePolicy().hasHeightForWidth())
        self.b9.setSizePolicy(sizePolicy)
        self.b9.setMinimumSize(QtCore.QSize(50, 50))
        self.b9.setMaximumSize(QtCore.QSize(50, 50))
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(8)
        self.b9.setFont(font)
        self.b9.setProperty("keypad", True)
        self.b9.setObjectName("b9")
        self.graphics = QtWidgets.QLabel(KeypadDialog)
        self.graphics.setGeometry(QtCore.QRect(10, 75, 256, 128))
        self.graphics.setMinimumSize(QtCore.QSize(0, 20))
        self.graphics.setText("")
        self.graphics.setObjectName("graphics")
        self.bplus = QtWidgets.QPushButton(KeypadDialog)
        self.bplus.setGeometry(QtCore.QRect(200, 355, 50, 50))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.bplus.sizePolicy().hasHeightForWidth())
        self.bplus.setSizePolicy(sizePolicy)
        self.bplus.setMinimumSize(QtCore.QSize(50, 50))
        self.bplus.setMaximumSize(QtCore.QSize(50, 50))
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(8)
        self.bplus.setFont(font)
        self.bplus.setProperty("keypad", True)
        self.bplus.setObjectName("bplus")
        self.bleft = QtWidgets.QPushButton(KeypadDialog)
        self.bleft.setGeometry(QtCore.QRect(50, 265, 50, 50))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.bleft.sizePolicy().hasHeightForWidth())
        self.bleft.setSizePolicy(sizePolicy)
        self.bleft.setMinimumSize(QtCore.QSize(50, 50))
        self.bleft.setMaximumSize(QtCore.QSize(50, 50))
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(8)
        self.bleft.setFont(font)
        self.bleft.setProperty("keypad", True)
        self.bleft.setObjectName("bleft")
        self.b5 = QtWidgets.QPushButton(KeypadDialog)
        self.b5.setGeometry(QtCore.QRect(80, 415, 50, 50))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.b5.sizePolicy().hasHeightForWidth())
        self.b5.setSizePolicy(sizePolicy)
        self.b5.setMinimumSize(QtCore.QSize(50, 50))
        self.b5.setMaximumSize(QtCore.QSize(50, 50))
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(8)
        self.b5.setFont(font)
        self.b5.setProperty("keypad", True)
        self.b5.setObjectName("b5")
        self.row0 = QtWidgets.QLineEdit(KeypadDialog)
        self.row0.setGeometry(QtCore.QRect(10, 15, 256, 25))
        self.row0.setReadOnly(True)
        self.row0.setProperty("keypad", True)
        self.row0.setObjectName("row0")
        self.row1 = QtWidgets.QLineEdit(KeypadDialog)
        self.row1.setGeometry(QtCore.QRect(10, 45, 256, 25))
        self.row1.setReadOnly(True)
        self.row1.setProperty("keypad", True)
        self.row1.setObjectName("row1")
        self.row2 = QtWidgets.QLineEdit(KeypadDialog)
        self.row2.setGeometry(QtCore.QRect(10, 75, 256, 25))
        self.row2.setReadOnly(True)
        self.row2.setProperty("keypad", True)
        self.row2.setObjectName("row2")
        self.row3 = QtWidgets.QLineEdit(KeypadDialog)
        self.row3.setGeometry(QtCore.QRect(10, 105, 256, 25))
        self.row3.setReadOnly(True)
        self.row3.setProperty("keypad", True)
        self.row3.setObjectName("row3")
        self.row4 = QtWidgets.QLineEdit(KeypadDialog)
        self.row4.setGeometry(QtCore.QRect(10, 135, 256, 25))
        self.row4.setReadOnly(True)
        self.row4.setProperty("keypad", True)
        self.row4.setObjectName("row4")
        self.label = QtWidgets.QLabel(KeypadDialog)
        self.label.setGeometry(QtCore.QRect(10, 220, 251, 376))
        self.label.setText("")
        self.label.setProperty("keypad", True)
        self.label.setObjectName("label")
        self.cursor = QtWidgets.QFrame(KeypadDialog)
        self.cursor.setGeometry(QtCore.QRect(10, 220, 15, 3))
        self.cursor.setFrameShadow(QtWidgets.QFrame.Plain)
        self.cursor.setLineWidth(3)
        self.cursor.setMidLineWidth(0)
        self.cursor.setFrameShape(QtWidgets.QFrame.HLine)
        self.cursor.setObjectName("cursor")
        self.label.raise_()
        self.graphics.raise_()
        self.b2.raise_()
        self.bdown.raise_()
        self.bminus.raise_()
        self.b4.raise_()
        self.besc.raise_()
        self.b0.raise_()
        self.bmenu.raise_()
        self.b7.raise_()
        self.benter.raise_()
        self.b3.raise_()
        self.bright.raise_()
        self.b1.raise_()
        self.bup.raise_()
        self.b8.raise_()
        self.bstop.raise_()
        self.b6.raise_()
        self.b9.raise_()
        self.bplus.raise_()
        self.bleft.raise_()
        self.b5.raise_()
        self.row0.raise_()
        self.row1.raise_()
        self.row2.raise_()
        self.row3.raise_()
        self.row4.raise_()
        self.cursor.raise_()

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

    def retranslateUi(self, KeypadDialog):
        _translate = QtCore.QCoreApplication.translate
        KeypadDialog.setWindowTitle(_translate("KeypadDialog", "Virtual Keypad"))
        self.b2.setText(_translate("KeypadDialog", "2\n"
"INFO"))
        self.bdown.setText(_translate("KeypadDialog", "S"))
        self.bminus.setText(_translate("KeypadDialog", "-\n"
"DOWN"))
        self.b4.setText(_translate("KeypadDialog", "4\n"
"STAR"))
        self.besc.setText(_translate("KeypadDialog", "ESC"))
        self.b0.setText(_translate("KeypadDialog", "0\n"
"LIGHT"))
        self.bmenu.setText(_translate("KeypadDialog", "MENU"))
        self.b7.setText(_translate("KeypadDialog", "7\n"
"M"))
        self.benter.setText(_translate("KeypadDialog", "ENTER"))
        self.b3.setText(_translate("KeypadDialog", "3\n"
"DISP"))
        self.bright.setText(_translate("KeypadDialog", "W"))
        self.b1.setText(_translate("KeypadDialog", "1\n"
"COORD"))
        self.bup.setText(_translate("KeypadDialog", "N"))
        self.b8.setText(_translate("KeypadDialog", "8\n"
"NGC"))
        self.bstop.setText(_translate("KeypadDialog", "STOP"))
        self.b6.setText(_translate("KeypadDialog", "6\n"
"MORE"))
        self.b9.setText(_translate("KeypadDialog", "9\n"
"IC"))
        self.bplus.setText(_translate("KeypadDialog", "+\n"
"UP"))
        self.bleft.setText(_translate("KeypadDialog", "E"))
        self.b5.setText(_translate("KeypadDialog", "5\n"
"PLANET"))


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