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

# Form implementation generated from reading ui file 'schedular.ui'
#
# Created by: PyQt5 UI code generator 5.15.2
#
# 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(619, 422)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.centralwidget)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.tableWidget = QtWidgets.QTabWidget(self.centralwidget)
        self.tableWidget.setObjectName("tableWidget")
        self.fcfs = QtWidgets.QWidget()
        self.fcfs.setObjectName("fcfs")
        self.gridLayout_5 = QtWidgets.QGridLayout(self.fcfs)
        self.gridLayout_5.setObjectName("gridLayout_5")
        self.lineEdit_2 = QtWidgets.QLineEdit(self.fcfs)
        self.lineEdit_2.setObjectName("lineEdit_2")
        self.gridLayout_5.addWidget(self.lineEdit_2, 5, 0, 1, 1)
        self.tableWidgetfcfs = QtWidgets.QTableWidget(self.fcfs)
        self.tableWidgetfcfs.setSizeAdjustPolicy(QtWidgets.QAbstractScrollArea.AdjustToContents)
        self.tableWidgetfcfs.setAlternatingRowColors(False)
        self.tableWidgetfcfs.setObjectName("tableWidgetfcfs")
        self.tableWidgetfcfs.setColumnCount(2)
        self.tableWidgetfcfs.setRowCount(2)
        item = QtWidgets.QTableWidgetItem()
        self.tableWidgetfcfs.setVerticalHeaderItem(0, item)
        item = QtWidgets.QTableWidgetItem()
        self.tableWidgetfcfs.setVerticalHeaderItem(1, item)
        item = QtWidgets.QTableWidgetItem()
        self.tableWidgetfcfs.setHorizontalHeaderItem(0, item)
        item = QtWidgets.QTableWidgetItem()
        self.tableWidgetfcfs.setHorizontalHeaderItem(1, item)
        self.gridLayout_5.addWidget(self.tableWidgetfcfs, 2, 0, 1, 2)
        self.label = QtWidgets.QLabel(self.fcfs)
        self.label.setObjectName("label")
        self.gridLayout_5.addWidget(self.label, 0, 0, 1, 1)
        self.label_2 = QtWidgets.QLabel(self.fcfs)
        self.label_2.setObjectName("label_2")
        self.gridLayout_5.addWidget(self.label_2, 4, 0, 1, 1)
        self.lineEditfcfs = QtWidgets.QLineEdit(self.fcfs)
        self.lineEditfcfs.setObjectName("lineEditfcfs")
        self.gridLayout_5.addWidget(self.lineEditfcfs, 1, 0, 1, 2)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.pushButton_10 = QtWidgets.QPushButton(self.fcfs)
        self.pushButton_10.setObjectName("pushButton_10")
        self.horizontalLayout.addWidget(self.pushButton_10)
        self.push_Buttonclear = QtWidgets.QPushButton(self.fcfs)
        self.push_Buttonclear.setObjectName("push_Buttonclear")
        self.horizontalLayout.addWidget(self.push_Buttonclear)
        self.gridLayout_5.addLayout(self.horizontalLayout, 5, 1, 1, 1)
        self.tableWidget.addTab(self.fcfs, "")
        self.sif = QtWidgets.QWidget()
        self.sif.setObjectName("sif")
        self.gridLayout_6 = QtWidgets.QGridLayout(self.sif)
        self.gridLayout_6.setObjectName("gridLayout_6")
        self.lineEditsjf = QtWidgets.QLineEdit(self.sif)
        self.lineEditsjf.setObjectName("lineEditsjf")
        self.gridLayout_6.addWidget(self.lineEditsjf, 1, 0, 1, 1)
        self.tableWidgetsjf = QtWidgets.QTableWidget(self.sif)
        self.tableWidgetsjf.setObjectName("tableWidgetsjf")
        self.tableWidgetsjf.setColumnCount(2)
        self.tableWidgetsjf.setRowCount(2)
        item = QtWidgets.QTableWidgetItem()
        self.tableWidgetsjf.setVerticalHeaderItem(0, item)
        item = QtWidgets.QTableWidgetItem()
        self.tableWidgetsjf.setVerticalHeaderItem(1, item)
        item = QtWidgets.QTableWidgetItem()
        self.tableWidgetsjf.setHorizontalHeaderItem(0, item)
        item = QtWidgets.QTableWidgetItem()
        self.tableWidgetsjf.setHorizontalHeaderItem(1, item)
        self.gridLayout_6.addWidget(self.tableWidgetsjf, 2, 0, 1, 2)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.pushButton_4 = QtWidgets.QPushButton(self.sif)
        self.pushButton_4.setObjectName("pushButton_4")
        self.horizontalLayout_2.addWidget(self.pushButton_4)
        self.push_Buttonclear1 = QtWidgets.QPushButton(self.sif)
        self.push_Buttonclear1.setObjectName("push_Buttonclear1")
        self.horizontalLayout_2.addWidget(self.push_Buttonclear1)
        self.gridLayout_6.addLayout(self.horizontalLayout_2, 4, 1, 1, 1)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.radioButton = QtWidgets.QRadioButton(self.sif)
        self.radioButton.setObjectName("radioButton")
        self.horizontalLayout_3.addWidget(self.radioButton)
        self.radioButton_2 = QtWidgets.QRadioButton(self.sif)
        self.radioButton_2.setObjectName("radioButton_2")
        self.horizontalLayout_3.addWidget(self.radioButton_2)
        self.gridLayout_6.addLayout(self.horizontalLayout_3, 0, 1, 2, 1)
        self.lineEdit_4 = QtWidgets.QLineEdit(self.sif)
        self.lineEdit_4.setObjectName("lineEdit_4")
        self.gridLayout_6.addWidget(self.lineEdit_4, 4, 0, 1, 1)
        self.label_3 = QtWidgets.QLabel(self.sif)
        self.label_3.setObjectName("label_3")
        self.gridLayout_6.addWidget(self.label_3, 0, 0, 1, 1)
        self.label_4 = QtWidgets.QLabel(self.sif)
        self.label_4.setObjectName("label_4")
        self.gridLayout_6.addWidget(self.label_4, 3, 0, 1, 1)
        self.tableWidget.addTab(self.sif, "")
        self.roundroubin = QtWidgets.QWidget()
        self.roundroubin.setObjectName("roundroubin")
        self.gridLayout_9 = QtWidgets.QGridLayout(self.roundroubin)
        self.gridLayout_9.setObjectName("gridLayout_9")
        self.label_6 = QtWidgets.QLabel(self.roundroubin)
        self.label_6.setObjectName("label_6")
        self.gridLayout_9.addWidget(self.label_6, 3, 0, 1, 1)
        self.lineEdit_6 = QtWidgets.QLineEdit(self.roundroubin)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(30)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineEdit_6.sizePolicy().hasHeightForWidth())
        self.lineEdit_6.setSizePolicy(sizePolicy)
        self.lineEdit_6.setMinimumSize(QtCore.QSize(30, 0))
        self.lineEdit_6.setObjectName("lineEdit_6")
        self.gridLayout_9.addWidget(self.lineEdit_6, 4, 0, 1, 1)
        self.tableWidgetrr = QtWidgets.QTableWidget(self.roundroubin)
        self.tableWidgetrr.setObjectName("tableWidgetrr")
        self.tableWidgetrr.setColumnCount(2)
        self.tableWidgetrr.setRowCount(2)
        item = QtWidgets.QTableWidgetItem()
        self.tableWidgetrr.setVerticalHeaderItem(0, item)
        item = QtWidgets.QTableWidgetItem()
        self.tableWidgetrr.setVerticalHeaderItem(1, item)
        item = QtWidgets.QTableWidgetItem()
        self.tableWidgetrr.setHorizontalHeaderItem(0, item)
        item = QtWidgets.QTableWidgetItem()
        self.tableWidgetrr.setHorizontalHeaderItem(1, item)
        self.gridLayout_9.addWidget(self.tableWidgetrr, 2, 0, 1, 3)
        self.gridLayout_3 = QtWidgets.QGridLayout()
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.pushButton_5 = QtWidgets.QPushButton(self.roundroubin)
        self.pushButton_5.setObjectName("pushButton_5")
        self.gridLayout_3.addWidget(self.pushButton_5, 0, 0, 1, 1)
        self.push_Buttonclear2 = QtWidgets.QPushButton(self.roundroubin)
        self.push_Buttonclear2.setObjectName("push_Buttonclear2")
        self.gridLayout_3.addWidget(self.push_Buttonclear2, 0, 1, 1, 1)
        self.gridLayout_9.addLayout(self.gridLayout_3, 4, 1, 1, 2)
        self.label_5 = QtWidgets.QLabel(self.roundroubin)
        self.label_5.setObjectName("label_5")
        self.gridLayout_9.addWidget(self.label_5, 0, 0, 1, 1)
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.label_7 = QtWidgets.QLabel(self.roundroubin)
        self.label_7.setObjectName("label_7")
        self.horizontalLayout_4.addWidget(self.label_7)
        self.lineEdit_7 = QtWidgets.QLineEdit(self.roundroubin)
        self.lineEdit_7.setObjectName("lineEdit_7")
        self.horizontalLayout_4.addWidget(self.lineEdit_7)
        self.gridLayout_9.addLayout(self.horizontalLayout_4, 1, 2, 1, 1)
        self.lineEditrr = QtWidgets.QLineEdit(self.roundroubin)
        self.lineEditrr.setObjectName("lineEditrr")
        self.gridLayout_9.addWidget(self.lineEditrr, 1, 0, 1, 2)
        self.tableWidget.addTab(self.roundroubin, "")
        self.priority = QtWidgets.QWidget()
        self.priority.setObjectName("priority")
        self.gridLayout_7 = QtWidgets.QGridLayout(self.priority)
        self.gridLayout_7.setObjectName("gridLayout_7")
        self.lineEditper = QtWidgets.QLineEdit(self.priority)
        self.lineEditper.setObjectName("lineEditper")
        self.gridLayout_7.addWidget(self.lineEditper, 1, 0, 1, 1)
        self.label_8 = QtWidgets.QLabel(self.priority)
        self.label_8.setObjectName("label_8")
        self.gridLayout_7.addWidget(self.label_8, 0, 0, 1, 1)
        self.horizontalLayout_7 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
        self.radioButton_3 = QtWidgets.QRadioButton(self.priority)
        self.radioButton_3.setObjectName("radioButton_3")
        self.horizontalLayout_7.addWidget(self.radioButton_3)
        self.radioButton_4 = QtWidgets.QRadioButton(self.priority)
        self.radioButton_4.setObjectName("radioButton_4")
        self.horizontalLayout_7.addWidget(self.radioButton_4)
        self.gridLayout_7.addLayout(self.horizontalLayout_7, 0, 1, 2, 1)
        self.tableWidgetper = QtWidgets.QTableWidget(self.priority)
        self.tableWidgetper.setObjectName("tableWidgetper")
        self.tableWidgetper.setColumnCount(3)
        self.tableWidgetper.setRowCount(2)
        item = QtWidgets.QTableWidgetItem()
        self.tableWidgetper.setVerticalHeaderItem(0, item)
        item = QtWidgets.QTableWidgetItem()
        self.tableWidgetper.setVerticalHeaderItem(1, item)
        item = QtWidgets.QTableWidgetItem()
        self.tableWidgetper.setHorizontalHeaderItem(0, item)
        item = QtWidgets.QTableWidgetItem()
        self.tableWidgetper.setHorizontalHeaderItem(1, item)
        item = QtWidgets.QTableWidgetItem()
        self.tableWidgetper.setHorizontalHeaderItem(2, item)
        self.gridLayout_7.addWidget(self.tableWidgetper, 2, 0, 1, 2)
        self.label_9 = QtWidgets.QLabel(self.priority)
        self.label_9.setObjectName("label_9")
        self.gridLayout_7.addWidget(self.label_9, 3, 0, 1, 1)
        self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.pushButton_7 = QtWidgets.QPushButton(self.priority)
        self.pushButton_7.setObjectName("pushButton_7")
        self.horizontalLayout_6.addWidget(self.pushButton_7)
        self.push_Buttonclear3 = QtWidgets.QPushButton(self.priority)
        self.push_Buttonclear3.setObjectName("push_Buttonclear3")
        self.horizontalLayout_6.addWidget(self.push_Buttonclear3)
        self.gridLayout_7.addLayout(self.horizontalLayout_6, 4, 1, 1, 1)
        self.lineEdit_9 = QtWidgets.QLineEdit(self.priority)
        self.lineEdit_9.setObjectName("lineEdit_9")
        self.gridLayout_7.addWidget(self.lineEdit_9, 4, 0, 1, 1)
        self.tableWidget.addTab(self.priority, "")
        self.gridLayout.addWidget(self.tableWidget, 0, 0, 1, 1)
        self.gridLayout_2.addLayout(self.gridLayout, 0, 0, 1, 1)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 619, 26))
        self.menubar.setObjectName("menubar")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)

        self.retranslateUi(MainWindow)
        self.tableWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
        self.tableWidgetfcfs.setToolTip(_translate("MainWindow", "<html><head/><body><p>table</p></body></html>"))
        item = self.tableWidgetfcfs.verticalHeaderItem(0)
        item.setText(_translate("MainWindow", "1"))
        item = self.tableWidgetfcfs.verticalHeaderItem(1)
        item.setText(_translate("MainWindow", "2"))
        item = self.tableWidgetfcfs.horizontalHeaderItem(0)
        item.setText(_translate("MainWindow", "Arrival time"))
        item = self.tableWidgetfcfs.horizontalHeaderItem(1)
        item.setText(_translate("MainWindow", "Burst time"))
        self.label.setText(_translate("MainWindow", "Enter nomber of process"))
        self.label_2.setText(_translate("MainWindow", "Average waiting time"))
        self.pushButton_10.setText(_translate("MainWindow", "submit"))
        self.push_Buttonclear.setText(_translate("MainWindow", "clear"))
        self.tableWidget.setTabText(self.tableWidget.indexOf(self.fcfs), _translate("MainWindow", "FCFS"))
        self.tableWidgetsjf.setToolTip(_translate("MainWindow", "<html><head/><body><p>table</p></body></html>"))
        item = self.tableWidgetsjf.verticalHeaderItem(0)
        item.setText(_translate("MainWindow", "1"))
        item = self.tableWidgetsjf.verticalHeaderItem(1)
        item.setText(_translate("MainWindow", "2"))
        item = self.tableWidgetsjf.horizontalHeaderItem(0)
        item.setText(_translate("MainWindow", "Arrival time"))
        item = self.tableWidgetsjf.horizontalHeaderItem(1)
        item.setText(_translate("MainWindow", "Burst time"))
        self.pushButton_4.setText(_translate("MainWindow", "submit"))
        self.push_Buttonclear1.setText(_translate("MainWindow", "clear"))
        self.radioButton.setText(_translate("MainWindow", "Premetive"))
        self.radioButton_2.setText(_translate("MainWindow", "Non-Perimitive"))
        self.label_3.setText(_translate("MainWindow", "Enter nomber of process"))
        self.label_4.setText(_translate("MainWindow", "Average waiting time"))
        self.tableWidget.setTabText(self.tableWidget.indexOf(self.sif), _translate("MainWindow", "SJF"))
        self.label_6.setText(_translate("MainWindow", "Average waiting time"))
        self.tableWidgetrr.setToolTip(_translate("MainWindow", "<html><head/><body><p>table</p></body></html>"))
        item = self.tableWidgetrr.verticalHeaderItem(0)
        item.setText(_translate("MainWindow", "1"))
        item = self.tableWidgetrr.verticalHeaderItem(1)
        item.setText(_translate("MainWindow", "2"))
        item = self.tableWidgetrr.horizontalHeaderItem(0)
        item.setText(_translate("MainWindow", "Arrival time"))
        item = self.tableWidgetrr.horizontalHeaderItem(1)
        item.setText(_translate("MainWindow", "Burst time"))
        self.pushButton_5.setText(_translate("MainWindow", "submit"))
        self.push_Buttonclear2.setText(_translate("MainWindow", "clear"))
        self.label_5.setText(_translate("MainWindow", "Enter nomber of process"))
        self.label_7.setText(_translate("MainWindow", "Quatum"))
        self.tableWidget.setTabText(self.tableWidget.indexOf(self.roundroubin), _translate("MainWindow", "Round Robin"))
        self.label_8.setText(_translate("MainWindow", "Enter nomber of process"))
        self.radioButton_3.setText(_translate("MainWindow", "Premetive"))
        self.radioButton_4.setText(_translate("MainWindow", "Non-Perimitive"))
        self.tableWidgetper.setToolTip(_translate("MainWindow", "<html><head/><body><p>table</p></body></html>"))
        item = self.tableWidgetper.verticalHeaderItem(0)
        item.setText(_translate("MainWindow", "1"))
        item = self.tableWidgetper.verticalHeaderItem(1)
        item.setText(_translate("MainWindow", "2"))
        item = self.tableWidgetper.horizontalHeaderItem(0)
        item.setText(_translate("MainWindow", "Arrival time"))
        item = self.tableWidgetper.horizontalHeaderItem(1)
        item.setText(_translate("MainWindow", "Burst time"))
        item = self.tableWidgetper.horizontalHeaderItem(2)
        item.setText(_translate("MainWindow", "Piority"))
        self.label_9.setText(_translate("MainWindow", "Average waiting time"))
        self.pushButton_7.setText(_translate("MainWindow", "submit"))
        self.push_Buttonclear3.setText(_translate("MainWindow", "clear"))
        self.tableWidget.setTabText(self.tableWidget.indexOf(self.priority), _translate("MainWindow", "Priority"))


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