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

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

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    def _fromUtf8(s):
        return s

try:
    _encoding = QtGui.QApplication.UnicodeUTF8
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig)

class Ui_Dialog_add_subject(object):
    def setupUi(self, Dialog_add_subject):
        Dialog_add_subject.setObjectName(_fromUtf8("Dialog_add_subject"))
        Dialog_add_subject.resize(568, 374)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Times New Roman"))
        font.setPointSize(10)
        Dialog_add_subject.setFont(font)
        Dialog_add_subject.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(_fromUtf8("Qt_interface/SE_syllabus/4zIr6y.jpg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        Dialog_add_subject.setWindowIcon(icon)
        self.lbl_subject_name = QtGui.QLabel(Dialog_add_subject)
        self.lbl_subject_name.setGeometry(QtCore.QRect(50, 235, 131, 21))
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Times New Roman"))
        font.setPointSize(12)
        self.lbl_subject_name.setFont(font)
        self.lbl_subject_name.setObjectName(_fromUtf8("lbl_subject_name"))
        self.label_add_subject = QtGui.QLabel(Dialog_add_subject)
        self.label_add_subject.setGeometry(QtCore.QRect(220, 30, 151, 31))
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Times New Roman"))
        font.setPointSize(14)
        font.setBold(True)
        font.setWeight(75)
        self.label_add_subject.setFont(font)
        self.label_add_subject.setObjectName(_fromUtf8("label_add_subject"))
        self.lineEdit_subject_name = QtGui.QLineEdit(Dialog_add_subject)
        self.lineEdit_subject_name.setGeometry(QtCore.QRect(190, 230, 321, 31))
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Times New Roman"))
        font.setPointSize(12)
        self.lineEdit_subject_name.setFont(font)
        self.lineEdit_subject_name.setObjectName(_fromUtf8("lineEdit_subject_name"))
        self.label_year = QtGui.QLabel(Dialog_add_subject)
        self.label_year.setGeometry(QtCore.QRect(50, 95, 81, 21))
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Times New Roman"))
        font.setPointSize(12)
        self.label_year.setFont(font)
        self.label_year.setObjectName(_fromUtf8("label_year"))
        self.label_semester = QtGui.QLabel(Dialog_add_subject)
        self.label_semester.setGeometry(QtCore.QRect(50, 165, 91, 21))
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Times New Roman"))
        font.setPointSize(12)
        self.label_semester.setFont(font)
        self.label_semester.setObjectName(_fromUtf8("label_semester"))
        self.pushButton_save = QtGui.QPushButton(Dialog_add_subject)
        self.pushButton_save.setGeometry(QtCore.QRect(190, 290, 111, 31))
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Times New Roman"))
        font.setPointSize(10)
        self.pushButton_save.setFont(font)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(_fromUtf8("Qt_interface/SE_syllabus/Save-as.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.pushButton_save.setIcon(icon1)
        self.pushButton_save.setIconSize(QtCore.QSize(20, 20))
        self.pushButton_save.setObjectName(_fromUtf8("pushButton_save"))
        self.pushButton_cancel = QtGui.QPushButton(Dialog_add_subject)
        self.pushButton_cancel.setGeometry(QtCore.QRect(340, 290, 111, 31))
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Times New Roman"))
        self.pushButton_cancel.setFont(font)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(_fromUtf8("Qt_interface/SE_syllabus/if_draw-08_725558.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.pushButton_cancel.setIcon(icon2)
        self.pushButton_cancel.setIconSize(QtCore.QSize(20, 20))
        self.pushButton_cancel.setObjectName(_fromUtf8("pushButton_cancel"))
        self.comboBox_year = QtGui.QComboBox(Dialog_add_subject)
        self.comboBox_year.setGeometry(QtCore.QRect(190, 91, 111, 31))
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Times New Roman"))
        font.setPointSize(12)
        self.comboBox_year.setFont(font)
        self.comboBox_year.setObjectName(_fromUtf8("comboBox_year"))
        self.comboBox_semester = QtGui.QComboBox(Dialog_add_subject)
        self.comboBox_semester.setGeometry(QtCore.QRect(190, 160, 111, 31))
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Times New Roman"))
        font.setPointSize(12)
        self.comboBox_semester.setFont(font)
        self.comboBox_semester.setObjectName(_fromUtf8("comboBox_semester"))

        self.retranslateUi(Dialog_add_subject)
        QtCore.QObject.connect(self.pushButton_cancel, QtCore.SIGNAL(_fromUtf8("clicked()")), self.lineEdit_subject_name.clear)
        QtCore.QMetaObject.connectSlotsByName(Dialog_add_subject)

    def retranslateUi(self, Dialog_add_subject):
        Dialog_add_subject.setWindowTitle(_translate("Dialog_add_subject", "Dialog", None))
        self.lbl_subject_name.setText(_translate("Dialog_add_subject", "SUBJECT NAME", None))
        self.label_add_subject.setText(_translate("Dialog_add_subject", "ADD SUBJECT", None))
        self.label_year.setText(_translate("Dialog_add_subject", "YEAR", None))
        self.label_semester.setText(_translate("Dialog_add_subject", "SEMESTER", None))
        self.pushButton_save.setText(_translate("Dialog_add_subject", "SAVE", None))
        self.pushButton_cancel.setText(_translate("Dialog_add_subject", "CANCEL", None))


if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    Dialog_add_subject = QtGui.QDialog()
    ui = Ui_Dialog_add_subject()
    ui.setupUi(Dialog_add_subject)
    Dialog_add_subject.show()
    sys.exit(app.exec_())


[((6274, 6302), 'PyQt4.QtGui.QApplication', 'QtGui.QApplication', (['sys.argv'], {}), '(sys.argv)\n', (6292, 6302), False, 'from PyQt4 import QtCore, QtGui\n'), ((6329, 6344), 'PyQt4.QtGui.QDialog', 'QtGui.QDialog', ([], {}), '()\n', (6342, 6344), False, 'from PyQt4 import QtCore, QtGui\n'), ((472, 536), 'PyQt4.QtGui.QApplication.translate', 'QtGui.QApplication.translate', (['context', 'text', 'disambig', '_encoding'], {}), '(context, text, disambig, _encoding)\n', (500, 536), False, 'from PyQt4 import QtCore, QtGui\n'), ((897, 910), 'PyQt4.QtGui.QFont', 'QtGui.QFont', ([], {}), '()\n', (908, 910), False, 'from PyQt4 import QtCore, QtGui\n'), ((1132, 1145), 'PyQt4.QtGui.QIcon', 'QtGui.QIcon', ([], {}), '()\n', (1143, 1145), False, 'from PyQt4 import QtCore, QtGui\n'), ((1353, 1385), 'PyQt4.QtGui.QLabel', 'QtGui.QLabel', (['Dialog_add_subject'], {}), '(Dialog_add_subject)\n', (1365, 1385), False, 'from PyQt4 import QtCore, QtGui\n'), ((1477, 1490), 'PyQt4.QtGui.QFont', 'QtGui.QFont', ([], {}), '()\n', (1488, 1490), False, 'from PyQt4 import QtCore, QtGui\n'), ((1731, 1763), 'PyQt4.QtGui.QLabel', 'QtGui.QLabel', (['Dialog_add_subject'], {}), '(Dialog_add_subject)\n', (1743, 1763), False, 'from PyQt4 import QtCore, QtGui\n'), ((1856, 1869), 'PyQt4.QtGui.QFont', 'QtGui.QFont', ([], {}), '()\n', (1867, 1869), False, 'from PyQt4 import QtCore, QtGui\n'), ((2173, 2208), 'PyQt4.QtGui.QLineEdit', 'QtGui.QLineEdit', (['Dialog_add_subject'], {}), '(Dialog_add_subject)\n', (2188, 2208), False, 'from PyQt4 import QtCore, QtGui\n'), ((2306, 2319), 'PyQt4.QtGui.QFont', 'QtGui.QFont', ([], {}), '()\n', (2317, 2319), False, 'from PyQt4 import QtCore, QtGui\n'), ((2568, 2600), 'PyQt4.QtGui.QLabel', 'QtGui.QLabel', (['Dialog_add_subject'], {}), '(Dialog_add_subject)\n', (2580, 2600), False, 'from PyQt4 import QtCore, QtGui\n'), ((2684, 2697), 'PyQt4.QtGui.QFont', 'QtGui.QFont', ([], {}), '()\n', (2695, 2697), False, 'from PyQt4 import QtCore, QtGui\n'), ((2917, 2949), 'PyQt4.QtGui.QLabel', 'QtGui.QLabel', (['Dialog_add_subject'], {}), '(Dialog_add_subject)\n', (2929, 2949), False, 'from PyQt4 import QtCore, QtGui\n'), ((3038, 3051), 'PyQt4.QtGui.QFont', 'QtGui.QFont', ([], {}), '()\n', (3049, 3051), False, 'from PyQt4 import QtCore, QtGui\n'), ((3284, 3321), 'PyQt4.QtGui.QPushButton', 'QtGui.QPushButton', (['Dialog_add_subject'], {}), '(Dialog_add_subject)\n', (3301, 3321), False, 'from PyQt4 import QtCore, QtGui\n'), ((3413, 3426), 'PyQt4.QtGui.QFont', 'QtGui.QFont', ([], {}), '()\n', (3424, 3426), False, 'from PyQt4 import QtCore, QtGui\n'), ((3573, 3586), 'PyQt4.QtGui.QIcon', 'QtGui.QIcon', ([], {}), '()\n', (3584, 3586), False, 'from PyQt4 import QtCore, QtGui\n'), ((3932, 3969), 'PyQt4.QtGui.QPushButton', 'QtGui.QPushButton', (['Dialog_add_subject'], {}), '(Dialog_add_subject)\n', (3949, 3969), False, 'from PyQt4 import QtCore, QtGui\n'), ((4063, 4076), 'PyQt4.QtGui.QFont', 'QtGui.QFont', ([], {}), '()\n', (4074, 4076), False, 'from PyQt4 import QtCore, QtGui\n'), ((4194, 4207), 'PyQt4.QtGui.QIcon', 'QtGui.QIcon', ([], {}), '()\n', (4205, 4207), False, 'from PyQt4 import QtCore, QtGui\n'), ((4567, 4602), 'PyQt4.QtGui.QComboBox', 'QtGui.QComboBox', (['Dialog_add_subject'], {}), '(Dialog_add_subject)\n', (4582, 4602), False, 'from PyQt4 import QtCore, QtGui\n'), ((4691, 4704), 'PyQt4.QtGui.QFont', 'QtGui.QFont', ([], {}), '()\n', (4702, 4704), False, 'from PyQt4 import QtCore, QtGui\n'), ((4936, 4971), 'PyQt4.QtGui.QComboBox', 'QtGui.QComboBox', (['Dialog_add_subject'], {}), '(Dialog_add_subject)\n', (4951, 4971), False, 'from PyQt4 import QtCore, QtGui\n'), ((5065, 5078), 'PyQt4.QtGui.QFont', 'QtGui.QFont', ([], {}), '()\n', (5076, 5078), False, 'from PyQt4 import QtCore, QtGui\n'), ((5476, 5533), 'PyQt4.QtCore.QMetaObject.connectSlotsByName', 'QtCore.QMetaObject.connectSlotsByName', (['Dialog_add_subject'], {}), '(Dialog_add_subject)\n', (5513, 5533), False, 'from PyQt4 import QtCore, QtGui\n'), ((623, 676), 'PyQt4.QtGui.QApplication.translate', 'QtGui.QApplication.translate', (['context', 'text', 'disambig'], {}), '(context, text, disambig)\n', (651, 676), False, 'from PyQt4 import QtCore, QtGui\n'), ((1429, 1459), 'PyQt4.QtCore.QRect', 'QtCore.QRect', (['(50)', '(235)', '(131)', '(21)'], {}), '(50, 235, 131, 21)\n', (1441, 1459), False, 'from PyQt4 import QtCore, QtGui\n'), ((1808, 1838), 'PyQt4.QtCore.QRect', 'QtCore.QRect', (['(220)', '(30)', '(151)', '(31)'], {}), '(220, 30, 151, 31)\n', (1820, 1838), False, 'from PyQt4 import QtCore, QtGui\n'), ((2257, 2288), 'PyQt4.QtCore.QRect', 'QtCore.QRect', (['(190)', '(230)', '(321)', '(31)'], {}), '(190, 230, 321, 31)\n', (2269, 2288), False, 'from PyQt4 import QtCore, QtGui\n'), ((2638, 2666), 'PyQt4.QtCore.QRect', 'QtCore.QRect', (['(50)', '(95)', '(81)', '(21)'], {}), '(50, 95, 81, 21)\n', (2650, 2666), False, 'from PyQt4 import QtCore, QtGui\n'), ((2991, 3020), 'PyQt4.QtCore.QRect', 'QtCore.QRect', (['(50)', '(165)', '(91)', '(21)'], {}), '(50, 165, 91, 21)\n', (3003, 3020), False, 'from PyQt4 import QtCore, QtGui\n'), ((3364, 3395), 'PyQt4.QtCore.QRect', 'QtCore.QRect', (['(190)', '(290)', '(111)', '(31)'], {}), '(190, 290, 111, 31)\n', (3376, 3395), False, 'from PyQt4 import QtCore, QtGui\n'), ((3802, 3822), 'PyQt4.QtCore.QSize', 'QtCore.QSize', (['(20)', '(20)'], {}), '(20, 20)\n', (3814, 3822), False, 'from PyQt4 import QtCore, QtGui\n'), ((4014, 4045), 'PyQt4.QtCore.QRect', 'QtCore.QRect', (['(340)', '(290)', '(111)', '(31)'], {}), '(340, 290, 111, 31)\n', (4026, 4045), False, 'from PyQt4 import QtCore, QtGui\n'), ((4437, 4457), 'PyQt4.QtCore.QSize', 'QtCore.QSize', (['(20)', '(20)'], {}), '(20, 20)\n', (4449, 4457), False, 'from PyQt4 import QtCore, QtGui\n'), ((4643, 4673), 'PyQt4.QtCore.QRect', 'QtCore.QRect', (['(190)', '(91)', '(111)', '(31)'], {}), '(190, 91, 111, 31)\n', (4655, 4673), False, 'from PyQt4 import QtCore, QtGui\n'), ((5016, 5047), 'PyQt4.QtCore.QRect', 'QtCore.QRect', (['(190)', '(160)', '(111)', '(31)'], {}), '(190, 160, 111, 31)\n', (5028, 5047), False, 'from PyQt4 import QtCore, QtGui\n')]