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

# Form implementation generated from reading ui file 'GradeStudent.ui'
#
# Created by: PyQt5 UI code generator 5.13.2
#
# WARNING! All changes made in this file will be lost!


from PyQt5 import QtCore, QtGui, QtWidgets


class GradeStudent(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(800, 600)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.verticalLayout_8 = QtWidgets.QVBoxLayout(self.centralwidget)
        self.verticalLayout_8.setObjectName("verticalLayout_8")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.label = QtWidgets.QLabel(self.centralwidget)
        font = QtGui.QFont()
        font.setPointSize(20)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.verticalLayout.addWidget(self.label, 0, QtCore.Qt.AlignHCenter)
        spacerItem = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        self.verticalLayout.addItem(spacerItem)
        self.verticalLayout_8.addLayout(self.verticalLayout)
        self.formLayout_2 = QtWidgets.QFormLayout()
        self.formLayout_2.setObjectName("formLayout_2")
        self.label_5 = QtWidgets.QLabel(self.centralwidget)
        self.label_5.setObjectName("label_5")
        self.formLayout_2.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label_5)
        self.id_student = QtWidgets.QLineEdit(self.centralwidget)
        self.id_student.setObjectName("id_student")
        self.formLayout_2.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.id_student)
        self.verticalLayout_8.addLayout(self.formLayout_2)
        self.verticalLayout_7 = QtWidgets.QVBoxLayout()
        self.verticalLayout_7.setObjectName("verticalLayout_7")
        self.submit1 = QtWidgets.QPushButton(self.centralwidget)
        self.submit1.setObjectName("submit1")
        self.verticalLayout_7.addWidget(self.submit1, 0, QtCore.Qt.AlignRight)
        self.verticalLayout_8.addLayout(self.verticalLayout_7)
        spacerItem1 = QtWidgets.QSpacerItem(20, 10, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        self.verticalLayout_8.addItem(spacerItem1)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.label_2 = QtWidgets.QLabel(self.centralwidget)
        self.label_2.setObjectName("label_2")
        self.verticalLayout_2.addWidget(self.label_2)
        self.listWidget = QtWidgets.QListWidget(self.centralwidget)
        self.listWidget.setObjectName("listWidget")
        self.verticalLayout_2.addWidget(self.listWidget)
        self.verticalLayout_8.addLayout(self.verticalLayout_2)
        self.verticalLayout_3 = QtWidgets.QVBoxLayout()
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.label_3 = QtWidgets.QLabel(self.centralwidget)
        self.label_3.setObjectName("label_3")
        self.verticalLayout_3.addWidget(self.label_3)
        self.listWidget_2 = QtWidgets.QListWidget(self.centralwidget)
        self.listWidget_2.setObjectName("listWidget_2")
        self.verticalLayout_3.addWidget(self.listWidget_2)
        self.verticalLayout_8.addLayout(self.verticalLayout_3)
        spacerItem2 = QtWidgets.QSpacerItem(20, 10, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        self.verticalLayout_8.addItem(spacerItem2)
        self.formLayout = QtWidgets.QFormLayout()
        self.formLayout.setObjectName("formLayout")
        self.label_4 = QtWidgets.QLabel(self.centralwidget)
        self.label_4.setObjectName("label_4")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.label_4)
        self.id_assignment = QtWidgets.QLineEdit(self.centralwidget)
        self.id_assignment.setObjectName("id_assignment")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.id_assignment)
        self.label_6 = QtWidgets.QLabel(self.centralwidget)
        self.label_6.setObjectName("label_6")
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.label_6)
        self.grade = QtWidgets.QLineEdit(self.centralwidget)
        self.grade.setObjectName("grade")
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.grade)
        self.verticalLayout_8.addLayout(self.formLayout)
        self.verticalLayout_6 = QtWidgets.QVBoxLayout()
        self.verticalLayout_6.setObjectName("verticalLayout_6")
        self.submit2 = QtWidgets.QPushButton(self.centralwidget)
        self.submit2.setObjectName("submit2")
        self.verticalLayout_6.addWidget(self.submit2, 0, QtCore.Qt.AlignRight)
        self.verticalLayout_8.addLayout(self.verticalLayout_6)
        self.back = QtWidgets.QPushButton(self.centralwidget)
        self.back.setObjectName("back")
        self.verticalLayout_8.addWidget(self.back, 0, QtCore.Qt.AlignRight)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 800, 22))
        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.label.setText(_translate("MainWindow", "Grade a student for a given assignment"))
        self.label_5.setText(_translate("MainWindow", "Students\'s ID:"))
        self.submit1.setText(_translate("MainWindow", "Submit"))
        self.label_2.setText(_translate("MainWindow", "Graded assignments"))
        self.label_3.setText(_translate("MainWindow", "Ungraded assignments"))
        self.label_4.setText(_translate("MainWindow", "Assignment\'s ID:"))
        self.label_6.setText(_translate("MainWindow", "Grade"))
        self.submit2.setText(_translate("MainWindow", "Submit"))
        self.back.setText(_translate("MainWindow", "Back"))


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_())

eb0dd861e858124e2ce1785153753e823c388ef5
<mask token>


class GradeStudent(object):
    <mask token>

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate('MainWindow', 'MainWindow'))
        self.label.setText(_translate('MainWindow',
            'Grade a student for a given assignment'))
        self.label_5.setText(_translate('MainWindow', "Students's ID:"))
        self.submit1.setText(_translate('MainWindow', 'Submit'))
        self.label_2.setText(_translate('MainWindow', 'Graded assignments'))
        self.label_3.setText(_translate('MainWindow', 'Ungraded assignments'))
        self.label_4.setText(_translate('MainWindow', "Assignment's ID:"))
        self.label_6.setText(_translate('MainWindow', 'Grade'))
        self.submit2.setText(_translate('MainWindow', 'Submit'))
        self.back.setText(_translate('MainWindow', 'Back'))


<mask token>

<mask token>


class GradeStudent(object):

    def setupUi(self, MainWindow):
        MainWindow.setObjectName('MainWindow')
        MainWindow.resize(800, 600)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName('centralwidget')
        self.verticalLayout_8 = QtWidgets.QVBoxLayout(self.centralwidget)
        self.verticalLayout_8.setObjectName('verticalLayout_8')
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName('verticalLayout')
        self.label = QtWidgets.QLabel(self.centralwidget)
        font = QtGui.QFont()
        font.setPointSize(20)
        self.label.setFont(font)
        self.label.setObjectName('label')
        self.verticalLayout.addWidget(self.label, 0, QtCore.Qt.AlignHCenter)
        spacerItem = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.
            Minimum, QtWidgets.QSizePolicy.Fixed)
        self.verticalLayout.addItem(spacerItem)
        self.verticalLayout_8.addLayout(self.verticalLayout)
        self.formLayout_2 = QtWidgets.QFormLayout()
        self.formLayout_2.setObjectName('formLayout_2')
        self.label_5 = QtWidgets.QLabel(self.centralwidget)
        self.label_5.setObjectName('label_5')
        self.formLayout_2.setWidget(0, QtWidgets.QFormLayout.LabelRole,
            self.label_5)
        self.id_student = QtWidgets.QLineEdit(self.centralwidget)
        self.id_student.setObjectName('id_student')
        self.formLayout_2.setWidget(0, QtWidgets.QFormLayout.FieldRole,
            self.id_student)
        self.verticalLayout_8.addLayout(self.formLayout_2)
        self.verticalLayout_7 = QtWidgets.QVBoxLayout()
        self.verticalLayout_7.setObjectName('verticalLayout_7')
        self.submit1 = QtWidgets.QPushButton(self.centralwidget)
        self.submit1.setObjectName('submit1')
        self.verticalLayout_7.addWidget(self.submit1, 0, QtCore.Qt.AlignRight)
        self.verticalLayout_8.addLayout(self.verticalLayout_7)
        spacerItem1 = QtWidgets.QSpacerItem(20, 10, QtWidgets.QSizePolicy.
            Minimum, QtWidgets.QSizePolicy.Fixed)
        self.verticalLayout_8.addItem(spacerItem1)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName('verticalLayout_2')
        self.label_2 = QtWidgets.QLabel(self.centralwidget)
        self.label_2.setObjectName('label_2')
        self.verticalLayout_2.addWidget(self.label_2)
        self.listWidget = QtWidgets.QListWidget(self.centralwidget)
        self.listWidget.setObjectName('listWidget')
        self.verticalLayout_2.addWidget(self.listWidget)
        self.verticalLayout_8.addLayout(self.verticalLayout_2)
        self.verticalLayout_3 = QtWidgets.QVBoxLayout()
        self.verticalLayout_3.setObjectName('verticalLayout_3')
        self.label_3 = QtWidgets.QLabel(self.centralwidget)
        self.label_3.setObjectName('label_3')
        self.verticalLayout_3.addWidget(self.label_3)
        self.listWidget_2 = QtWidgets.QListWidget(self.centralwidget)
        self.listWidget_2.setObjectName('listWidget_2')
        self.verticalLayout_3.addWidget(self.listWidget_2)
        self.verticalLayout_8.addLayout(self.verticalLayout_3)
        spacerItem2 = QtWidgets.QSpacerItem(20, 10, QtWidgets.QSizePolicy.
            Minimum, QtWidgets.QSizePolicy.Fixed)
        self.verticalLayout_8.addItem(spacerItem2)
        self.formLayout = QtWidgets.QFormLayout()
        self.formLayout.setObjectName('formLayout')
        self.label_4 = QtWidgets.QLabel(self.centralwidget)
        self.label_4.setObjectName('label_4')
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.
            label_4)
        self.id_assignment = QtWidgets.QLineEdit(self.centralwidget)
        self.id_assignment.setObjectName('id_assignment')
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.
            id_assignment)
        self.label_6 = QtWidgets.QLabel(self.centralwidget)
        self.label_6.setObjectName('label_6')
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.
            label_6)
        self.grade = QtWidgets.QLineEdit(self.centralwidget)
        self.grade.setObjectName('grade')
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.
            grade)
        self.verticalLayout_8.addLayout(self.formLayout)
        self.verticalLayout_6 = QtWidgets.QVBoxLayout()
        self.verticalLayout_6.setObjectName('verticalLayout_6')
        self.submit2 = QtWidgets.QPushButton(self.centralwidget)
        self.submit2.setObjectName('submit2')
        self.verticalLayout_6.addWidget(self.submit2, 0, QtCore.Qt.AlignRight)
        self.verticalLayout_8.addLayout(self.verticalLayout_6)
        self.back = QtWidgets.QPushButton(self.centralwidget)
        self.back.setObjectName('back')
        self.verticalLayout_8.addWidget(self.back, 0, QtCore.Qt.AlignRight)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 800, 22))
        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.label.setText(_translate('MainWindow',
            'Grade a student for a given assignment'))
        self.label_5.setText(_translate('MainWindow', "Students's ID:"))
        self.submit1.setText(_translate('MainWindow', 'Submit'))
        self.label_2.setText(_translate('MainWindow', 'Graded assignments'))
        self.label_3.setText(_translate('MainWindow', 'Ungraded assignments'))
        self.label_4.setText(_translate('MainWindow', "Assignment's ID:"))
        self.label_6.setText(_translate('MainWindow', 'Grade'))
        self.submit2.setText(_translate('MainWindow', 'Submit'))
        self.back.setText(_translate('MainWindow', 'Back'))


<mask token>

<mask token>


class GradeStudent(object):

    def setupUi(self, MainWindow):
        MainWindow.setObjectName('MainWindow')
        MainWindow.resize(800, 600)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName('centralwidget')
        self.verticalLayout_8 = QtWidgets.QVBoxLayout(self.centralwidget)
        self.verticalLayout_8.setObjectName('verticalLayout_8')
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName('verticalLayout')
        self.label = QtWidgets.QLabel(self.centralwidget)
        font = QtGui.QFont()
        font.setPointSize(20)
        self.label.setFont(font)
        self.label.setObjectName('label')
        self.verticalLayout.addWidget(self.label, 0, QtCore.Qt.AlignHCenter)
        spacerItem = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.
            Minimum, QtWidgets.QSizePolicy.Fixed)
        self.verticalLayout.addItem(spacerItem)
        self.verticalLayout_8.addLayout(self.verticalLayout)
        self.formLayout_2 = QtWidgets.QFormLayout()
        self.formLayout_2.setObjectName('formLayout_2')
        self.label_5 = QtWidgets.QLabel(self.centralwidget)
        self.label_5.setObjectName('label_5')
        self.formLayout_2.setWidget(0, QtWidgets.QFormLayout.LabelRole,
            self.label_5)
        self.id_student = QtWidgets.QLineEdit(self.centralwidget)
        self.id_student.setObjectName('id_student')
        self.formLayout_2.setWidget(0, QtWidgets.QFormLayout.FieldRole,
            self.id_student)
        self.verticalLayout_8.addLayout(self.formLayout_2)
        self.verticalLayout_7 = QtWidgets.QVBoxLayout()
        self.verticalLayout_7.setObjectName('verticalLayout_7')
        self.submit1 = QtWidgets.QPushButton(self.centralwidget)
        self.submit1.setObjectName('submit1')
        self.verticalLayout_7.addWidget(self.submit1, 0, QtCore.Qt.AlignRight)
        self.verticalLayout_8.addLayout(self.verticalLayout_7)
        spacerItem1 = QtWidgets.QSpacerItem(20, 10, QtWidgets.QSizePolicy.
            Minimum, QtWidgets.QSizePolicy.Fixed)
        self.verticalLayout_8.addItem(spacerItem1)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName('verticalLayout_2')
        self.label_2 = QtWidgets.QLabel(self.centralwidget)
        self.label_2.setObjectName('label_2')
        self.verticalLayout_2.addWidget(self.label_2)
        self.listWidget = QtWidgets.QListWidget(self.centralwidget)
        self.listWidget.setObjectName('listWidget')
        self.verticalLayout_2.addWidget(self.listWidget)
        self.verticalLayout_8.addLayout(self.verticalLayout_2)
        self.verticalLayout_3 = QtWidgets.QVBoxLayout()
        self.verticalLayout_3.setObjectName('verticalLayout_3')
        self.label_3 = QtWidgets.QLabel(self.centralwidget)
        self.label_3.setObjectName('label_3')
        self.verticalLayout_3.addWidget(self.label_3)
        self.listWidget_2 = QtWidgets.QListWidget(self.centralwidget)
        self.listWidget_2.setObjectName('listWidget_2')
        self.verticalLayout_3.addWidget(self.listWidget_2)
        self.verticalLayout_8.addLayout(self.verticalLayout_3)
        spacerItem2 = QtWidgets.QSpacerItem(20, 10, QtWidgets.QSizePolicy.
            Minimum, QtWidgets.QSizePolicy.Fixed)
        self.verticalLayout_8.addItem(spacerItem2)
        self.formLayout = QtWidgets.QFormLayout()
        self.formLayout.setObjectName('formLayout')
        self.label_4 = QtWidgets.QLabel(self.centralwidget)
        self.label_4.setObjectName('label_4')
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.
            label_4)
        self.id_assignment = QtWidgets.QLineEdit(self.centralwidget)
        self.id_assignment.setObjectName('id_assignment')
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.
            id_assignment)
        self.label_6 = QtWidgets.QLabel(self.centralwidget)
        self.label_6.setObjectName('label_6')
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.
            label_6)
        self.grade = QtWidgets.QLineEdit(self.centralwidget)
        self.grade.setObjectName('grade')
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.
            grade)
        self.verticalLayout_8.addLayout(self.formLayout)
        self.verticalLayout_6 = QtWidgets.QVBoxLayout()
        self.verticalLayout_6.setObjectName('verticalLayout_6')
        self.submit2 = QtWidgets.QPushButton(self.centralwidget)
        self.submit2.setObjectName('submit2')
        self.verticalLayout_6.addWidget(self.submit2, 0, QtCore.Qt.AlignRight)
        self.verticalLayout_8.addLayout(self.verticalLayout_6)
        self.back = QtWidgets.QPushButton(self.centralwidget)
        self.back.setObjectName('back')
        self.verticalLayout_8.addWidget(self.back, 0, QtCore.Qt.AlignRight)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 800, 22))
        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.label.setText(_translate('MainWindow',
            'Grade a student for a given assignment'))
        self.label_5.setText(_translate('MainWindow', "Students's ID:"))
        self.submit1.setText(_translate('MainWindow', 'Submit'))
        self.label_2.setText(_translate('MainWindow', 'Graded assignments'))
        self.label_3.setText(_translate('MainWindow', 'Ungraded assignments'))
        self.label_4.setText(_translate('MainWindow', "Assignment's ID:"))
        self.label_6.setText(_translate('MainWindow', 'Grade'))
        self.submit2.setText(_translate('MainWindow', 'Submit'))
        self.back.setText(_translate('MainWindow', 'Back'))


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_())

from PyQt5 import QtCore, QtGui, QtWidgets


class GradeStudent(object):

    def setupUi(self, MainWindow):
        MainWindow.setObjectName('MainWindow')
        MainWindow.resize(800, 600)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName('centralwidget')
        self.verticalLayout_8 = QtWidgets.QVBoxLayout(self.centralwidget)
        self.verticalLayout_8.setObjectName('verticalLayout_8')
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName('verticalLayout')
        self.label = QtWidgets.QLabel(self.centralwidget)
        font = QtGui.QFont()
        font.setPointSize(20)
        self.label.setFont(font)
        self.label.setObjectName('label')
        self.verticalLayout.addWidget(self.label, 0, QtCore.Qt.AlignHCenter)
        spacerItem = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.
            Minimum, QtWidgets.QSizePolicy.Fixed)
        self.verticalLayout.addItem(spacerItem)
        self.verticalLayout_8.addLayout(self.verticalLayout)
        self.formLayout_2 = QtWidgets.QFormLayout()
        self.formLayout_2.setObjectName('formLayout_2')
        self.label_5 = QtWidgets.QLabel(self.centralwidget)
        self.label_5.setObjectName('label_5')
        self.formLayout_2.setWidget(0, QtWidgets.QFormLayout.LabelRole,
            self.label_5)
        self.id_student = QtWidgets.QLineEdit(self.centralwidget)
        self.id_student.setObjectName('id_student')
        self.formLayout_2.setWidget(0, QtWidgets.QFormLayout.FieldRole,
            self.id_student)
        self.verticalLayout_8.addLayout(self.formLayout_2)
        self.verticalLayout_7 = QtWidgets.QVBoxLayout()
        self.verticalLayout_7.setObjectName('verticalLayout_7')
        self.submit1 = QtWidgets.QPushButton(self.centralwidget)
        self.submit1.setObjectName('submit1')
        self.verticalLayout_7.addWidget(self.submit1, 0, QtCore.Qt.AlignRight)
        self.verticalLayout_8.addLayout(self.verticalLayout_7)
        spacerItem1 = QtWidgets.QSpacerItem(20, 10, QtWidgets.QSizePolicy.
            Minimum, QtWidgets.QSizePolicy.Fixed)
        self.verticalLayout_8.addItem(spacerItem1)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName('verticalLayout_2')
        self.label_2 = QtWidgets.QLabel(self.centralwidget)
        self.label_2.setObjectName('label_2')
        self.verticalLayout_2.addWidget(self.label_2)
        self.listWidget = QtWidgets.QListWidget(self.centralwidget)
        self.listWidget.setObjectName('listWidget')
        self.verticalLayout_2.addWidget(self.listWidget)
        self.verticalLayout_8.addLayout(self.verticalLayout_2)
        self.verticalLayout_3 = QtWidgets.QVBoxLayout()
        self.verticalLayout_3.setObjectName('verticalLayout_3')
        self.label_3 = QtWidgets.QLabel(self.centralwidget)
        self.label_3.setObjectName('label_3')
        self.verticalLayout_3.addWidget(self.label_3)
        self.listWidget_2 = QtWidgets.QListWidget(self.centralwidget)
        self.listWidget_2.setObjectName('listWidget_2')
        self.verticalLayout_3.addWidget(self.listWidget_2)
        self.verticalLayout_8.addLayout(self.verticalLayout_3)
        spacerItem2 = QtWidgets.QSpacerItem(20, 10, QtWidgets.QSizePolicy.
            Minimum, QtWidgets.QSizePolicy.Fixed)
        self.verticalLayout_8.addItem(spacerItem2)
        self.formLayout = QtWidgets.QFormLayout()
        self.formLayout.setObjectName('formLayout')
        self.label_4 = QtWidgets.QLabel(self.centralwidget)
        self.label_4.setObjectName('label_4')
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.
            label_4)
        self.id_assignment = QtWidgets.QLineEdit(self.centralwidget)
        self.id_assignment.setObjectName('id_assignment')
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.
            id_assignment)
        self.label_6 = QtWidgets.QLabel(self.centralwidget)
        self.label_6.setObjectName('label_6')
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.
            label_6)
        self.grade = QtWidgets.QLineEdit(self.centralwidget)
        self.grade.setObjectName('grade')
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.
            grade)
        self.verticalLayout_8.addLayout(self.formLayout)
        self.verticalLayout_6 = QtWidgets.QVBoxLayout()
        self.verticalLayout_6.setObjectName('verticalLayout_6')
        self.submit2 = QtWidgets.QPushButton(self.centralwidget)
        self.submit2.setObjectName('submit2')
        self.verticalLayout_6.addWidget(self.submit2, 0, QtCore.Qt.AlignRight)
        self.verticalLayout_8.addLayout(self.verticalLayout_6)
        self.back = QtWidgets.QPushButton(self.centralwidget)
        self.back.setObjectName('back')
        self.verticalLayout_8.addWidget(self.back, 0, QtCore.Qt.AlignRight)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 800, 22))
        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.label.setText(_translate('MainWindow',
            'Grade a student for a given assignment'))
        self.label_5.setText(_translate('MainWindow', "Students's ID:"))
        self.submit1.setText(_translate('MainWindow', 'Submit'))
        self.label_2.setText(_translate('MainWindow', 'Graded assignments'))
        self.label_3.setText(_translate('MainWindow', 'Ungraded assignments'))
        self.label_4.setText(_translate('MainWindow', "Assignment's ID:"))
        self.label_6.setText(_translate('MainWindow', 'Grade'))
        self.submit2.setText(_translate('MainWindow', 'Submit'))
        self.back.setText(_translate('MainWindow', 'Back'))


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_())

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

# Form implementation generated from reading ui file 'GradeStudent.ui'
#
# Created by: PyQt5 UI code generator 5.13.2
#
# WARNING! All changes made in this file will be lost!


from PyQt5 import QtCore, QtGui, QtWidgets


class GradeStudent(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(800, 600)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.verticalLayout_8 = QtWidgets.QVBoxLayout(self.centralwidget)
        self.verticalLayout_8.setObjectName("verticalLayout_8")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.label = QtWidgets.QLabel(self.centralwidget)
        font = QtGui.QFont()
        font.setPointSize(20)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.verticalLayout.addWidget(self.label, 0, QtCore.Qt.AlignHCenter)
        spacerItem = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        self.verticalLayout.addItem(spacerItem)
        self.verticalLayout_8.addLayout(self.verticalLayout)
        self.formLayout_2 = QtWidgets.QFormLayout()
        self.formLayout_2.setObjectName("formLayout_2")
        self.label_5 = QtWidgets.QLabel(self.centralwidget)
        self.label_5.setObjectName("label_5")
        self.formLayout_2.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label_5)
        self.id_student = QtWidgets.QLineEdit(self.centralwidget)
        self.id_student.setObjectName("id_student")
        self.formLayout_2.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.id_student)
        self.verticalLayout_8.addLayout(self.formLayout_2)
        self.verticalLayout_7 = QtWidgets.QVBoxLayout()
        self.verticalLayout_7.setObjectName("verticalLayout_7")
        self.submit1 = QtWidgets.QPushButton(self.centralwidget)
        self.submit1.setObjectName("submit1")
        self.verticalLayout_7.addWidget(self.submit1, 0, QtCore.Qt.AlignRight)
        self.verticalLayout_8.addLayout(self.verticalLayout_7)
        spacerItem1 = QtWidgets.QSpacerItem(20, 10, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        self.verticalLayout_8.addItem(spacerItem1)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.label_2 = QtWidgets.QLabel(self.centralwidget)
        self.label_2.setObjectName("label_2")
        self.verticalLayout_2.addWidget(self.label_2)
        self.listWidget = QtWidgets.QListWidget(self.centralwidget)
        self.listWidget.setObjectName("listWidget")
        self.verticalLayout_2.addWidget(self.listWidget)
        self.verticalLayout_8.addLayout(self.verticalLayout_2)
        self.verticalLayout_3 = QtWidgets.QVBoxLayout()
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.label_3 = QtWidgets.QLabel(self.centralwidget)
        self.label_3.setObjectName("label_3")
        self.verticalLayout_3.addWidget(self.label_3)
        self.listWidget_2 = QtWidgets.QListWidget(self.centralwidget)
        self.listWidget_2.setObjectName("listWidget_2")
        self.verticalLayout_3.addWidget(self.listWidget_2)
        self.verticalLayout_8.addLayout(self.verticalLayout_3)
        spacerItem2 = QtWidgets.QSpacerItem(20, 10, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        self.verticalLayout_8.addItem(spacerItem2)
        self.formLayout = QtWidgets.QFormLayout()
        self.formLayout.setObjectName("formLayout")
        self.label_4 = QtWidgets.QLabel(self.centralwidget)
        self.label_4.setObjectName("label_4")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.label_4)
        self.id_assignment = QtWidgets.QLineEdit(self.centralwidget)
        self.id_assignment.setObjectName("id_assignment")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.id_assignment)
        self.label_6 = QtWidgets.QLabel(self.centralwidget)
        self.label_6.setObjectName("label_6")
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.label_6)
        self.grade = QtWidgets.QLineEdit(self.centralwidget)
        self.grade.setObjectName("grade")
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.grade)
        self.verticalLayout_8.addLayout(self.formLayout)
        self.verticalLayout_6 = QtWidgets.QVBoxLayout()
        self.verticalLayout_6.setObjectName("verticalLayout_6")
        self.submit2 = QtWidgets.QPushButton(self.centralwidget)
        self.submit2.setObjectName("submit2")
        self.verticalLayout_6.addWidget(self.submit2, 0, QtCore.Qt.AlignRight)
        self.verticalLayout_8.addLayout(self.verticalLayout_6)
        self.back = QtWidgets.QPushButton(self.centralwidget)
        self.back.setObjectName("back")
        self.verticalLayout_8.addWidget(self.back, 0, QtCore.Qt.AlignRight)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 800, 22))
        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.label.setText(_translate("MainWindow", "Grade a student for a given assignment"))
        self.label_5.setText(_translate("MainWindow", "Students\'s ID:"))
        self.submit1.setText(_translate("MainWindow", "Submit"))
        self.label_2.setText(_translate("MainWindow", "Graded assignments"))
        self.label_3.setText(_translate("MainWindow", "Ungraded assignments"))
        self.label_4.setText(_translate("MainWindow", "Assignment\'s ID:"))
        self.label_6.setText(_translate("MainWindow", "Grade"))
        self.submit2.setText(_translate("MainWindow", "Submit"))
        self.back.setText(_translate("MainWindow", "Back"))


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_())
