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


[((126, 10, 126, 38), 'PyQt4.QtGui.QApplication', 'QtGui.QApplication', ({(126, 29, 126, 37): 'sys.argv'}, {}), '(sys.argv)', False, 'from PyQt4 import QtCore, QtGui\n'), ((127, 25, 127, 40), 'PyQt4.QtGui.QDialog', 'QtGui.QDialog', ({}, {}), '()', False, 'from PyQt4 import QtCore, QtGui\n'), ((20, 15, 20, 79), 'PyQt4.QtGui.QApplication.translate', 'QtGui.QApplication.translate', ({(20, 44, 20, 51): 'context', (20, 53, 20, 57): 'text', (20, 59, 20, 67): 'disambig', (20, 69, 20, 78): '_encoding'}, {}), '(context, text, disambig, _encoding)', False, 'from PyQt4 import QtCore, QtGui\n'), ((29, 15, 29, 28), 'PyQt4.QtGui.QFont', 'QtGui.QFont', ({}, {}), '()', False, 'from PyQt4 import QtCore, QtGui\n'), ((34, 15, 34, 28), 'PyQt4.QtGui.QIcon', 'QtGui.QIcon', ({}, {}), '()', False, 'from PyQt4 import QtCore, QtGui\n'), ((37, 32, 37, 64), 'PyQt4.QtGui.QLabel', 'QtGui.QLabel', ({(37, 45, 37, 63): 'Dialog_add_subject'}, {}), '(Dialog_add_subject)', False, 'from PyQt4 import QtCore, QtGui\n'), ((39, 15, 39, 28), 'PyQt4.QtGui.QFont', 'QtGui.QFont', ({}, {}), '()', False, 'from PyQt4 import QtCore, QtGui\n'), ((44, 33, 44, 65), 'PyQt4.QtGui.QLabel', 'QtGui.QLabel', ({(44, 46, 44, 64): 'Dialog_add_subject'}, {}), '(Dialog_add_subject)', False, 'from PyQt4 import QtCore, QtGui\n'), ((46, 15, 46, 28), 'PyQt4.QtGui.QFont', 'QtGui.QFont', ({}, {}), '()', False, 'from PyQt4 import QtCore, QtGui\n'), ((53, 37, 53, 72), 'PyQt4.QtGui.QLineEdit', 'QtGui.QLineEdit', ({(53, 53, 53, 71): 'Dialog_add_subject'}, {}), '(Dialog_add_subject)', False, 'from PyQt4 import QtCore, QtGui\n'), ((55, 15, 55, 28), 'PyQt4.QtGui.QFont', 'QtGui.QFont', ({}, {}), '()', False, 'from PyQt4 import QtCore, QtGui\n'), ((60, 26, 60, 58), 'PyQt4.QtGui.QLabel', 'QtGui.QLabel', ({(60, 39, 60, 57): 'Dialog_add_subject'}, {}), '(Dialog_add_subject)', False, 'from PyQt4 import QtCore, QtGui\n'), ((62, 15, 62, 28), 'PyQt4.QtGui.QFont', 'QtGui.QFont', ({}, {}), '()', False, 'from PyQt4 import QtCore, QtGui\n'), ((67, 30, 67, 62), 'PyQt4.QtGui.QLabel', 'QtGui.QLabel', ({(67, 43, 67, 61): 'Dialog_add_subject'}, {}), '(Dialog_add_subject)', False, 'from PyQt4 import QtCore, QtGui\n'), ((69, 15, 69, 28), 'PyQt4.QtGui.QFont', 'QtGui.QFont', ({}, {}), '()', False, 'from PyQt4 import QtCore, QtGui\n'), ((74, 31, 74, 68), 'PyQt4.QtGui.QPushButton', 'QtGui.QPushButton', ({(74, 49, 74, 67): 'Dialog_add_subject'}, {}), '(Dialog_add_subject)', False, 'from PyQt4 import QtCore, QtGui\n'), ((76, 15, 76, 28), 'PyQt4.QtGui.QFont', 'QtGui.QFont', ({}, {}), '()', False, 'from PyQt4 import QtCore, QtGui\n'), ((80, 16, 80, 29), 'PyQt4.QtGui.QIcon', 'QtGui.QIcon', ({}, {}), '()', False, 'from PyQt4 import QtCore, QtGui\n'), ((85, 33, 85, 70), 'PyQt4.QtGui.QPushButton', 'QtGui.QPushButton', ({(85, 51, 85, 69): 'Dialog_add_subject'}, {}), '(Dialog_add_subject)', False, 'from PyQt4 import QtCore, QtGui\n'), ((87, 15, 87, 28), 'PyQt4.QtGui.QFont', 'QtGui.QFont', ({}, {}), '()', False, 'from PyQt4 import QtCore, QtGui\n'), ((90, 16, 90, 29), 'PyQt4.QtGui.QIcon', 'QtGui.QIcon', ({}, {}), '()', False, 'from PyQt4 import QtCore, QtGui\n'), ((95, 29, 95, 64), 'PyQt4.QtGui.QComboBox', 'QtGui.QComboBox', ({(95, 45, 95, 63): 'Dialog_add_subject'}, {}), '(Dialog_add_subject)', False, 'from PyQt4 import QtCore, QtGui\n'), ((97, 15, 97, 28), 'PyQt4.QtGui.QFont', 'QtGui.QFont', ({}, {}), '()', False, 'from PyQt4 import QtCore, QtGui\n'), ((102, 33, 102, 68), 'PyQt4.QtGui.QComboBox', 'QtGui.QComboBox', ({(102, 49, 102, 67): 'Dialog_add_subject'}, {}), '(Dialog_add_subject)', False, 'from PyQt4 import QtCore, QtGui\n'), ((104, 15, 104, 28), 'PyQt4.QtGui.QFont', 'QtGui.QFont', ({}, {}), '()', False, 'from PyQt4 import QtCore, QtGui\n'), ((112, 8, 112, 65), 'PyQt4.QtCore.QMetaObject.connectSlotsByName', 'QtCore.QMetaObject.connectSlotsByName', ({(112, 46, 112, 64): 'Dialog_add_subject'}, {}), '(Dialog_add_subject)', False, 'from PyQt4 import QtCore, QtGui\n'), ((23, 15, 23, 68), 'PyQt4.QtGui.QApplication.translate', 'QtGui.QApplication.translate', ({(23, 44, 23, 51): 'context', (23, 53, 23, 57): 'text', (23, 59, 23, 67): 'disambig'}, {}), '(context, text, disambig)', False, 'from PyQt4 import QtCore, QtGui\n'), ((38, 42, 38, 72), 'PyQt4.QtCore.QRect', 'QtCore.QRect', ({(38, 55, 38, 57): '(50)', (38, 59, 38, 62): '(235)', (38, 64, 38, 67): '(131)', (38, 69, 38, 71): '(21)'}, {}), '(50, 235, 131, 21)', False, 'from PyQt4 import QtCore, QtGui\n'), ((45, 43, 45, 73), 'PyQt4.QtCore.QRect', 'QtCore.QRect', ({(45, 56, 45, 59): '(220)', (45, 61, 45, 63): '(30)', (45, 65, 45, 68): '(151)', (45, 70, 45, 72): '(31)'}, {}), '(220, 30, 151, 31)', False, 'from PyQt4 import QtCore, QtGui\n'), ((54, 47, 54, 78), 'PyQt4.QtCore.QRect', 'QtCore.QRect', ({(54, 60, 54, 63): '(190)', (54, 65, 54, 68): '(230)', (54, 70, 54, 73): '(321)', (54, 75, 54, 77): '(31)'}, {}), '(190, 230, 321, 31)', False, 'from PyQt4 import QtCore, QtGui\n'), ((61, 36, 61, 64), 'PyQt4.QtCore.QRect', 'QtCore.QRect', ({(61, 49, 61, 51): '(50)', (61, 53, 61, 55): '(95)', (61, 57, 61, 59): '(81)', (61, 61, 61, 63): '(21)'}, {}), '(50, 95, 81, 21)', False, 'from PyQt4 import QtCore, QtGui\n'), ((68, 40, 68, 69), 'PyQt4.QtCore.QRect', 'QtCore.QRect', ({(68, 53, 68, 55): '(50)', (68, 57, 68, 60): '(165)', (68, 62, 68, 64): '(91)', (68, 66, 68, 68): '(21)'}, {}), '(50, 165, 91, 21)', False, 'from PyQt4 import QtCore, QtGui\n'), ((75, 41, 75, 72), 'PyQt4.QtCore.QRect', 'QtCore.QRect', ({(75, 54, 75, 57): '(190)', (75, 59, 75, 62): '(290)', (75, 64, 75, 67): '(111)', (75, 69, 75, 71): '(31)'}, {}), '(190, 290, 111, 31)', False, 'from PyQt4 import QtCore, QtGui\n'), ((83, 41, 83, 61), 'PyQt4.QtCore.QSize', 'QtCore.QSize', ({(83, 54, 83, 56): '(20)', (83, 58, 83, 60): '(20)'}, {}), '(20, 20)', False, 'from PyQt4 import QtCore, QtGui\n'), ((86, 43, 86, 74), 'PyQt4.QtCore.QRect', 'QtCore.QRect', ({(86, 56, 86, 59): '(340)', (86, 61, 86, 64): '(290)', (86, 66, 86, 69): '(111)', (86, 71, 86, 73): '(31)'}, {}), '(340, 290, 111, 31)', False, 'from PyQt4 import QtCore, QtGui\n'), ((93, 43, 93, 63), 'PyQt4.QtCore.QSize', 'QtCore.QSize', ({(93, 56, 93, 58): '(20)', (93, 60, 93, 62): '(20)'}, {}), '(20, 20)', False, 'from PyQt4 import QtCore, QtGui\n'), ((96, 39, 96, 69), 'PyQt4.QtCore.QRect', 'QtCore.QRect', ({(96, 52, 96, 55): '(190)', (96, 57, 96, 59): '(91)', (96, 61, 96, 64): '(111)', (96, 66, 96, 68): '(31)'}, {}), '(190, 91, 111, 31)', False, 'from PyQt4 import QtCore, QtGui\n'), ((103, 43, 103, 74), 'PyQt4.QtCore.QRect', 'QtCore.QRect', ({(103, 56, 103, 59): '(190)', (103, 61, 103, 64): '(160)', (103, 66, 103, 69): '(111)', (103, 71, 103, 73): '(31)'}, {}), '(190, 160, 111, 31)', False, 'from PyQt4 import QtCore, QtGui\n')]