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

# Form implementation generated from reading ui file '04_Admin_Mode_03.ui'
#
# Created by: PyQt5 UI code generator 5.15.1
#
# 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_Admin_Mode_3(object):
    def setupUi(self, Admin_Mode_3):
        Admin_Mode_3.setObjectName("Admin_Mode_3")
        Admin_Mode_3.resize(1022, 835)
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 233, 190))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 233, 190))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 233, 190))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 233, 190))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
        Admin_Mode_3.setPalette(palette)
        self.centralwidget = QtWidgets.QWidget(Admin_Mode_3)
        self.centralwidget.setObjectName("centralwidget")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.centralwidget)
        self.verticalLayout.setObjectName("verticalLayout")
        self.label_title = QtWidgets.QLabel(self.centralwidget)
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(0, 0, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 233, 190))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
        brush = QtGui.QBrush(QtGui.QColor(0, 0, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 233, 190))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
        brush = QtGui.QBrush(QtGui.QColor(120, 120, 120))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 233, 190))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 233, 190))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
        self.label_title.setPalette(palette)
        font = QtGui.QFont()
        font.setPointSize(18)
        font.setBold(True)
        font.setWeight(75)
        self.label_title.setFont(font)
        self.label_title.setObjectName("label_title")
        self.verticalLayout.addWidget(self.label_title)
        spacerItem = QtWidgets.QSpacerItem(10, 20, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        self.verticalLayout.addItem(spacerItem)
        self.label_instruction = QtWidgets.QLabel(self.centralwidget)
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(14)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_instruction.setFont(font)
        self.label_instruction.setObjectName("label_instruction")
        self.verticalLayout.addWidget(self.label_instruction)
        spacerItem1 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        self.verticalLayout.addItem(spacerItem1)
        self.frame = QtWidgets.QFrame(self.centralwidget)
        self.frame.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame.setObjectName("frame")
        self.horizontalLayout = QtWidgets.QHBoxLayout(self.frame)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label = QtWidgets.QLabel(self.frame)
        self.label.setMinimumSize(QtCore.QSize(220, 0))
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.horizontalLayout.addWidget(self.label)
        self.search_bar = QtWidgets.QLineEdit(self.frame)
        self.search_bar.setMinimumSize(QtCore.QSize(0, 40))
        font = QtGui.QFont()
        font.setPointSize(11)
        self.search_bar.setFont(font)
        self.search_bar.setObjectName("search_bar")
        self.horizontalLayout.addWidget(self.search_bar)
        self.pushButton_search = QtWidgets.QPushButton(self.frame)
        self.pushButton_search.setMinimumSize(QtCore.QSize(0, 30))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.pushButton_search.setFont(font)
        self.pushButton_search.setObjectName("pushButton_search")
        self.horizontalLayout.addWidget(self.pushButton_search)
        self.pushButton_clear = QtWidgets.QPushButton(self.frame)
        self.pushButton_clear.setMinimumSize(QtCore.QSize(0, 30))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.pushButton_clear.setFont(font)
        self.pushButton_clear.setObjectName("pushButton_clear")
        self.horizontalLayout.addWidget(self.pushButton_clear)
        self.verticalLayout.addWidget(self.frame)
        spacerItem2 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        self.verticalLayout.addItem(spacerItem2)
        self.label_2 = QtWidgets.QLabel(self.centralwidget)
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setWeight(75)
        self.label_2.setFont(font)
        self.label_2.setObjectName("label_2")
        self.verticalLayout.addWidget(self.label_2)
        self.EmployeeDataBase_Table = QtWidgets.QTableWidget(self.centralwidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.EmployeeDataBase_Table.sizePolicy().hasHeightForWidth())
        self.EmployeeDataBase_Table.setSizePolicy(sizePolicy)
        self.EmployeeDataBase_Table.setMinimumSize(QtCore.QSize(900, 100))
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(193, 208, 232))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.AlternateBase, brush)
        brush = QtGui.QBrush(QtGui.QColor(193, 208, 232))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.AlternateBase, brush)
        brush = QtGui.QBrush(QtGui.QColor(193, 208, 232))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.AlternateBase, brush)
        self.EmployeeDataBase_Table.setPalette(palette)
        self.EmployeeDataBase_Table.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.EmployeeDataBase_Table.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.EmployeeDataBase_Table.setLineWidth(1)
        self.EmployeeDataBase_Table.setSizeAdjustPolicy(QtWidgets.QAbstractScrollArea.AdjustIgnored)
        self.EmployeeDataBase_Table.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
        self.EmployeeDataBase_Table.setObjectName("EmployeeDataBase_Table")
        self.EmployeeDataBase_Table.setColumnCount(7)
        self.EmployeeDataBase_Table.setRowCount(0)
        item = QtWidgets.QTableWidgetItem()
        self.EmployeeDataBase_Table.setHorizontalHeaderItem(0, item)
        self.EmployeeDataBase_Table.setColumnWidth(0, 30)
        item = QtWidgets.QTableWidgetItem()
        self.EmployeeDataBase_Table.setHorizontalHeaderItem(1, item)
        self.EmployeeDataBase_Table.setColumnWidth(1, 270)
        item = QtWidgets.QTableWidgetItem()
        self.EmployeeDataBase_Table.setHorizontalHeaderItem(2, item)
        self.EmployeeDataBase_Table.setColumnWidth(2, 200)
        item = QtWidgets.QTableWidgetItem()
        self.EmployeeDataBase_Table.setHorizontalHeaderItem(3, item)
        self.EmployeeDataBase_Table.setColumnWidth(3, 100)
        item = QtWidgets.QTableWidgetItem()
        self.EmployeeDataBase_Table.setHorizontalHeaderItem(4, item)
        self.EmployeeDataBase_Table.setColumnWidth(4, 100)
        item = QtWidgets.QTableWidgetItem()
        self.EmployeeDataBase_Table.setHorizontalHeaderItem(5, item)
        self.EmployeeDataBase_Table.setColumnWidth(5, 150)
        item = QtWidgets.QTableWidgetItem()
        self.EmployeeDataBase_Table.setHorizontalHeaderItem(6, item)
        self.EmployeeDataBase_Table.setColumnWidth(6, 100)
        self.EmployeeDataBase_Table.horizontalHeader().setCascadingSectionResizes(False)
        self.EmployeeDataBase_Table.horizontalHeader().setMinimumSectionSize(39)
        self.EmployeeDataBase_Table.horizontalHeader().setSortIndicatorShown(True)
        self.EmployeeDataBase_Table.horizontalHeader().setStretchLastSection(False)
        self.EmployeeDataBase_Table.verticalHeader().setVisible(False)
        self.EmployeeDataBase_Table.verticalHeader().setStretchLastSection(False)
        self.verticalLayout.addWidget(self.EmployeeDataBase_Table)
        self.frame_2 = QtWidgets.QFrame(self.centralwidget)
        self.frame_2.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_2.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_2.setObjectName("frame_2")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.frame_2)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem3)
        self.pushButton_cancel = QtWidgets.QPushButton(self.frame_2)
        self.pushButton_cancel.setMinimumSize(QtCore.QSize(100, 40))
        self.pushButton_cancel.setMaximumSize(QtCore.QSize(100, 40))
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(False)
        font.setWeight(50)
        self.pushButton_cancel.setFont(font)
        self.pushButton_cancel.setAutoFillBackground(False)
        self.pushButton_cancel.setStyleSheet("background: #f0f0f0")
        self.pushButton_cancel.setObjectName("pushButton_cancel")
        self.horizontalLayout_2.addWidget(self.pushButton_cancel)
        self.pushButton_apply = QtWidgets.QPushButton(self.frame_2)
        self.pushButton_apply.setMinimumSize(QtCore.QSize(100, 40))
        self.pushButton_apply.setMaximumSize(QtCore.QSize(100, 40))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.pushButton_apply.setFont(font)
        self.pushButton_apply.setAutoFillBackground(False)
        self.pushButton_apply.setStyleSheet("background: #f0f0f0")
        self.pushButton_apply.setObjectName("pushButton_apply")
        self.horizontalLayout_2.addWidget(self.pushButton_apply)
        self.verticalLayout.addWidget(self.frame_2)
        Admin_Mode_3.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(Admin_Mode_3)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 1022, 20))
        self.menubar.setObjectName("menubar")
        self.menuFile = QtWidgets.QMenu(self.menubar)
        self.menuFile.setObjectName("menuFile")
        self.menuNavigate = QtWidgets.QMenu(self.menubar)
        self.menuNavigate.setObjectName("menuNavigate")
        Admin_Mode_3.setMenuBar(self.menubar)
        self.actionExit = QtWidgets.QAction(Admin_Mode_3)
        self.actionExit.setObjectName("actionExit")
        self.actionBack = QtWidgets.QAction(Admin_Mode_3)
        self.actionBack.setObjectName("actionBack")
        self.menuFile.addAction(self.actionExit)
        self.menuNavigate.addAction(self.actionBack)
        self.menubar.addAction(self.menuFile.menuAction())
        self.menubar.addAction(self.menuNavigate.menuAction())

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

    def retranslateUi(self, Admin_Mode_3):
        _translate = QtCore.QCoreApplication.translate
        Admin_Mode_3.setWindowTitle(_translate("Admin_Mode_3", "Attendance Recorder System - Admin Mode (Edit Employee DB)"))
        self.label_title.setText(_translate("Admin_Mode_3", "Administrator Mode"))
        self.label_instruction.setText(_translate("Admin_Mode_3", "Edit Employee Database"))
        self.label.setText(_translate("Admin_Mode_3", "Search\n"
"(Employee Name/ ID/ Card ID) :"))
        self.search_bar.setPlaceholderText(_translate("Admin_Mode_3", "Search"))
        self.pushButton_search.setText(_translate("Admin_Mode_3", "Search"))
        self.pushButton_clear.setText(_translate("Admin_Mode_3", "Clear"))
        self.label_2.setText(_translate("Admin_Mode_3", "Employee Database"))
        self.EmployeeDataBase_Table.setSortingEnabled(True)
        item = self.EmployeeDataBase_Table.horizontalHeaderItem(0)
        item.setText(_translate("Admin_Mode_3", "ID"))
        item = self.EmployeeDataBase_Table.horizontalHeaderItem(1)
        item.setText(_translate("Admin_Mode_3", "Employee Name"))
        item = self.EmployeeDataBase_Table.horizontalHeaderItem(2)
        item.setText(_translate("Admin_Mode_3", "Employee ID"))
        item = self.EmployeeDataBase_Table.horizontalHeaderItem(3)
        item.setText(_translate("Admin_Mode_3", "Card ID"))
        item = self.EmployeeDataBase_Table.horizontalHeaderItem(4)
        item.setText(_translate("Admin_Mode_3", "Salary"))
        item = self.EmployeeDataBase_Table.horizontalHeaderItem(5)
        item.setText(_translate("Admin_Mode_3", "Employee Status"))
        item = self.EmployeeDataBase_Table.horizontalHeaderItem(6)
        item.setText(_translate("Admin_Mode_3", "Date Joined"))
        self.pushButton_cancel.setText(_translate("Admin_Mode_3", "Back"))
        self.pushButton_apply.setText(_translate("Admin_Mode_3", "Apply"))
        self.menuFile.setTitle(_translate("Admin_Mode_3", "File"))
        self.menuNavigate.setTitle(_translate("Admin_Mode_3", "Navigate"))
        self.actionExit.setText(_translate("Admin_Mode_3", "Exit"))
        self.actionBack.setText(_translate("Admin_Mode_3", "Back"))


if __name__ == "__main__":
    import sys
    app = QtWidgets.QApplication(sys.argv)
    Admin_Mode_3 = QtWidgets.QMainWindow()
    ui = Ui_Admin_Mode_3()
    ui.setupUi(Admin_Mode_3)
    Admin_Mode_3.show()
    sys.exit(app.exec_())
