X-Git-Url: https://harishankar.org/repos/?p=biacv.git;a=blobdiff_plain;f=biacv_mainwindow_ui.py;h=ce4a164c80181affaba8bb42b0441cfb79224fa3;hp=5fa55f0611ddb57495c91262044b9aa82c8d55b4;hb=2329fe7718e8c0aa0d1c2cc92c56653ec7757e5c;hpb=ad773b422b8a5777bdf39df8d65d2825c89ec39e diff --git a/biacv_mainwindow_ui.py b/biacv_mainwindow_ui.py index 5fa55f0..ce4a164 100644 --- a/biacv_mainwindow_ui.py +++ b/biacv_mainwindow_ui.py @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file 'biacv_mainwindow.ui' # -# Created: Wed Nov 30 10:52:18 2011 +# Created: Wed Nov 30 18:36:56 2011 # by: PyQt4 UI code generator 4.8.6 # # WARNING! All changes made in this file will be lost! @@ -31,6 +31,8 @@ class Ui_biacv_mainwindow(object): self.title.setObjectName(_fromUtf8("title")) self.gridLayout_2.addWidget(self.title, 0, 1, 1, 1) self.pages = QtGui.QTabWidget(self.centralwidget) + self.pages.setTabShape(QtGui.QTabWidget.Rounded) + self.pages.setDocumentMode(True) self.pages.setObjectName(_fromUtf8("pages")) self.tab = QtGui.QWidget() self.tab.setObjectName(_fromUtf8("tab")) @@ -258,10 +260,10 @@ class Ui_biacv_mainwindow(object): self.addeducation.setText(QtGui.QApplication.translate("biacv_mainwindow", "&Add", None, QtGui.QApplication.UnicodeUTF8)) self.addeducation.setObjectName(_fromUtf8("addeducation")) self.gridLayout_3.addWidget(self.addeducation, 4, 4, 1, 2) - self.editeducation = QtGui.QPushButton(self.tab_2) - self.editeducation.setText(QtGui.QApplication.translate("biacv_mainwindow", "&Edit", None, QtGui.QApplication.UnicodeUTF8)) - self.editeducation.setObjectName(_fromUtf8("editeducation")) - self.gridLayout_3.addWidget(self.editeducation, 4, 6, 1, 1) + self.updateeducation = QtGui.QPushButton(self.tab_2) + self.updateeducation.setText(QtGui.QApplication.translate("biacv_mainwindow", "&Update", None, QtGui.QApplication.UnicodeUTF8)) + self.updateeducation.setObjectName(_fromUtf8("updateeducation")) + self.gridLayout_3.addWidget(self.updateeducation, 4, 6, 1, 1) self.deleteeducation = QtGui.QPushButton(self.tab_2) self.deleteeducation.setText(QtGui.QApplication.translate("biacv_mainwindow", "&Delete", None, QtGui.QApplication.UnicodeUTF8)) self.deleteeducation.setObjectName(_fromUtf8("deleteeducation")) @@ -272,6 +274,9 @@ class Ui_biacv_mainwindow(object): sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.educationlist.sizePolicy().hasHeightForWidth()) self.educationlist.setSizePolicy(sizePolicy) + self.educationlist.setAlternatingRowColors(True) + self.educationlist.setRootIsDecorated(False) + self.educationlist.setUniformRowHeights(True) self.educationlist.setObjectName(_fromUtf8("educationlist")) self.educationlist.headerItem().setText(0, QtGui.QApplication.translate("biacv_mainwindow", "Degree", None, QtGui.QApplication.UnicodeUTF8)) self.educationlist.headerItem().setText(1, QtGui.QApplication.translate("biacv_mainwindow", "Graduation date", None, QtGui.QApplication.UnicodeUTF8)) @@ -289,9 +294,9 @@ class Ui_biacv_mainwindow(object): self.label_28.setText(QtGui.QApplication.translate("biacv_mainwindow", "Designation/title", None, QtGui.QApplication.UnicodeUTF8)) self.label_28.setObjectName(_fromUtf8("label_28")) self.gridLayout_4.addWidget(self.label_28, 0, 0, 1, 1) - self.positions = QtGui.QLineEdit(self.tab_3) - self.positions.setObjectName(_fromUtf8("positions")) - self.gridLayout_4.addWidget(self.positions, 0, 1, 1, 4) + self.designation = QtGui.QLineEdit(self.tab_3) + self.designation.setObjectName(_fromUtf8("designation")) + self.gridLayout_4.addWidget(self.designation, 0, 1, 1, 4) self.label_26 = QtGui.QLabel(self.tab_3) self.label_26.setText(QtGui.QApplication.translate("biacv_mainwindow", "Date of joining post", None, QtGui.QApplication.UnicodeUTF8)) self.label_26.setObjectName(_fromUtf8("label_26")) @@ -311,10 +316,10 @@ class Ui_biacv_mainwindow(object): self.leavedate.setCalendarPopup(True) self.leavedate.setObjectName(_fromUtf8("leavedate")) self.gridLayout_4.addWidget(self.leavedate, 2, 1, 1, 1) - self.checkBox = QtGui.QCheckBox(self.tab_3) - self.checkBox.setText(QtGui.QApplication.translate("biacv_mainwindow", "Current employment", None, QtGui.QApplication.UnicodeUTF8)) - self.checkBox.setObjectName(_fromUtf8("checkBox")) - self.gridLayout_4.addWidget(self.checkBox, 2, 2, 1, 2) + self.currentemployment = QtGui.QCheckBox(self.tab_3) + self.currentemployment.setText(QtGui.QApplication.translate("biacv_mainwindow", "Current employment", None, QtGui.QApplication.UnicodeUTF8)) + self.currentemployment.setObjectName(_fromUtf8("currentemployment")) + self.gridLayout_4.addWidget(self.currentemployment, 2, 2, 1, 2) self.label_25 = QtGui.QLabel(self.tab_3) self.label_25.setText(QtGui.QApplication.translate("biacv_mainwindow", "Organization name", None, QtGui.QApplication.UnicodeUTF8)) self.label_25.setObjectName(_fromUtf8("label_25")) @@ -333,18 +338,47 @@ class Ui_biacv_mainwindow(object): self.addhistory.setText(QtGui.QApplication.translate("biacv_mainwindow", "&Add", None, QtGui.QApplication.UnicodeUTF8)) self.addhistory.setObjectName(_fromUtf8("addhistory")) self.gridLayout_4.addWidget(self.addhistory, 5, 2, 1, 1) - self.edithistory = QtGui.QPushButton(self.tab_3) - self.edithistory.setText(QtGui.QApplication.translate("biacv_mainwindow", "&Edit", None, QtGui.QApplication.UnicodeUTF8)) - self.edithistory.setObjectName(_fromUtf8("edithistory")) - self.gridLayout_4.addWidget(self.edithistory, 5, 3, 1, 1) + self.updatehistory = QtGui.QPushButton(self.tab_3) + self.updatehistory.setText(QtGui.QApplication.translate("biacv_mainwindow", "&Update", None, QtGui.QApplication.UnicodeUTF8)) + self.updatehistory.setObjectName(_fromUtf8("updatehistory")) + self.gridLayout_4.addWidget(self.updatehistory, 5, 3, 1, 1) self.deletehistory = QtGui.QPushButton(self.tab_3) self.deletehistory.setText(QtGui.QApplication.translate("biacv_mainwindow", "&Delete", None, QtGui.QApplication.UnicodeUTF8)) self.deletehistory.setObjectName(_fromUtf8("deletehistory")) self.gridLayout_4.addWidget(self.deletehistory, 5, 4, 1, 1) - self.historylist = QtGui.QColumnView(self.tab_3) - self.historylist.setObjectName(_fromUtf8("historylist")) - self.gridLayout_4.addWidget(self.historylist, 6, 0, 1, 5) + self.professionlist = QtGui.QTreeWidget(self.tab_3) + self.professionlist.setAlternatingRowColors(True) + self.professionlist.setRootIsDecorated(False) + self.professionlist.setUniformRowHeights(True) + self.professionlist.setObjectName(_fromUtf8("professionlist")) + self.professionlist.headerItem().setText(0, QtGui.QApplication.translate("biacv_mainwindow", "Job title", None, QtGui.QApplication.UnicodeUTF8)) + self.professionlist.headerItem().setText(1, QtGui.QApplication.translate("biacv_mainwindow", "Date of joining", None, QtGui.QApplication.UnicodeUTF8)) + self.professionlist.headerItem().setText(2, QtGui.QApplication.translate("biacv_mainwindow", "Date of leaving", None, QtGui.QApplication.UnicodeUTF8)) + self.professionlist.headerItem().setText(3, QtGui.QApplication.translate("biacv_mainwindow", "Organization", None, QtGui.QApplication.UnicodeUTF8)) + self.professionlist.headerItem().setText(4, QtGui.QApplication.translate("biacv_mainwindow", "Additional info", None, QtGui.QApplication.UnicodeUTF8)) + self.gridLayout_4.addWidget(self.professionlist, 6, 0, 1, 5) self.pages.addTab(self.tab_3, _fromUtf8("")) + self.tab_6 = QtGui.QWidget() + self.tab_6.setObjectName(_fromUtf8("tab_6")) + self.gridLayout_8 = QtGui.QGridLayout(self.tab_6) + self.gridLayout_8.setObjectName(_fromUtf8("gridLayout_8")) + self.label_35 = QtGui.QLabel(self.tab_6) + self.label_35.setText(QtGui.QApplication.translate("biacv_mainwindow", "Short term career objectives (one per line)", None, QtGui.QApplication.UnicodeUTF8)) + self.label_35.setObjectName(_fromUtf8("label_35")) + self.gridLayout_8.addWidget(self.label_35, 0, 0, 1, 1) + self.shorttermcareer = QtGui.QPlainTextEdit(self.tab_6) + self.shorttermcareer.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOn) + self.shorttermcareer.setObjectName(_fromUtf8("shorttermcareer")) + self.gridLayout_8.addWidget(self.shorttermcareer, 1, 0, 1, 1) + self.label_36 = QtGui.QLabel(self.tab_6) + self.label_36.setText(QtGui.QApplication.translate("biacv_mainwindow", "Long term career goals (one per line)", None, QtGui.QApplication.UnicodeUTF8)) + self.label_36.setObjectName(_fromUtf8("label_36")) + self.gridLayout_8.addWidget(self.label_36, 2, 0, 1, 1) + self.longtermgoals = QtGui.QPlainTextEdit(self.tab_6) + self.longtermgoals.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOn) + self.longtermgoals.setObjectName(_fromUtf8("longtermgoals")) + self.gridLayout_8.addWidget(self.longtermgoals, 3, 0, 1, 1) + self.pages.addTab(self.tab_6, _fromUtf8("")) self.tab_4 = QtGui.QWidget() self.tab_4.setObjectName(_fromUtf8("tab_4")) self.gridLayout_5 = QtGui.QGridLayout(self.tab_4) @@ -509,12 +543,22 @@ class Ui_biacv_mainwindow(object): self.retranslateUi(biacv_mainwindow) self.pages.setCurrentIndex(0) QtCore.QObject.connect(self.addeducation, QtCore.SIGNAL(_fromUtf8("clicked()")), biacv_mainwindow.on_add_education) + QtCore.QObject.connect(self.deleteeducation, QtCore.SIGNAL(_fromUtf8("clicked()")), biacv_mainwindow.on_delete_education) + QtCore.QObject.connect(self.educationlist, QtCore.SIGNAL(_fromUtf8("itemSelectionChanged()")), biacv_mainwindow.on_select_education) + QtCore.QObject.connect(self.updateeducation, QtCore.SIGNAL(_fromUtf8("clicked()")), biacv_mainwindow.on_update_education) + QtCore.QObject.connect(self.educationlist, QtCore.SIGNAL(_fromUtf8("activated(QModelIndex)")), biacv_mainwindow.on_select_education) + QtCore.QObject.connect(self.currentemployment, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), biacv_mainwindow.on_change_currentemployment) + QtCore.QObject.connect(self.addhistory, QtCore.SIGNAL(_fromUtf8("clicked()")), biacv_mainwindow.on_add_profession) + QtCore.QObject.connect(self.professionlist, QtCore.SIGNAL(_fromUtf8("itemSelectionChanged()")), biacv_mainwindow.on_select_profession) + QtCore.QObject.connect(self.professionlist, QtCore.SIGNAL(_fromUtf8("activated(QModelIndex)")), biacv_mainwindow.on_select_profession) + QtCore.QObject.connect(self.deletehistory, QtCore.SIGNAL(_fromUtf8("clicked()")), biacv_mainwindow.on_delete_profession) QtCore.QMetaObject.connectSlotsByName(biacv_mainwindow) def retranslateUi(self, biacv_mainwindow): self.pages.setTabText(self.pages.indexOf(self.tab), QtGui.QApplication.translate("biacv_mainwindow", "Personal information", None, QtGui.QApplication.UnicodeUTF8)) self.pages.setTabText(self.pages.indexOf(self.tab_2), QtGui.QApplication.translate("biacv_mainwindow", "Educational Qualifications", None, QtGui.QApplication.UnicodeUTF8)) self.pages.setTabText(self.pages.indexOf(self.tab_3), QtGui.QApplication.translate("biacv_mainwindow", "Professional History", None, QtGui.QApplication.UnicodeUTF8)) + self.pages.setTabText(self.pages.indexOf(self.tab_6), QtGui.QApplication.translate("biacv_mainwindow", "Career objectives", None, QtGui.QApplication.UnicodeUTF8)) self.pages.setTabText(self.pages.indexOf(self.tab_4), QtGui.QApplication.translate("biacv_mainwindow", "Skill sets", None, QtGui.QApplication.UnicodeUTF8)) self.pages.setTabText(self.pages.indexOf(self.tab_5), QtGui.QApplication.translate("biacv_mainwindow", "Additional information", None, QtGui.QApplication.UnicodeUTF8))