X-Git-Url: https://harishankar.org/repos/?p=biacv.git;a=blobdiff_plain;f=biacv_mainwindow_ui.py;h=deaba45e54ffc05b25e1673e9abbfbb2fac71ffc;hp=65fbd07bd9ea211206d793394445ba9732607f5c;hb=HEAD;hpb=55e67ef107163647d9e97ea060221ac8f70fb85e diff --git a/biacv_mainwindow_ui.py b/biacv_mainwindow_ui.py index 65fbd07..deaba45 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:05:57 2011 +# Created: Thu Dec 8 12:53:37 2011 # by: PyQt4 UI code generator 4.8.6 # # WARNING! All changes made in this file will be lost! @@ -19,6 +19,9 @@ class Ui_biacv_mainwindow(object): biacv_mainwindow.setObjectName(_fromUtf8("biacv_mainwindow")) biacv_mainwindow.resize(730, 498) biacv_mainwindow.setWindowTitle(QtGui.QApplication.translate("biacv_mainwindow", "BiaCV", None, QtGui.QApplication.UnicodeUTF8)) + icon = QtGui.QIcon() + icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/icon/res/icon.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) + biacv_mainwindow.setWindowIcon(icon) self.centralwidget = QtGui.QWidget(biacv_mainwindow) self.centralwidget.setObjectName(_fromUtf8("centralwidget")) self.gridLayout_2 = QtGui.QGridLayout(self.centralwidget) @@ -31,6 +34,10 @@ 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.setAutoFillBackground(False) + self.pages.setTabShape(QtGui.QTabWidget.Rounded) + self.pages.setUsesScrollButtons(True) + self.pages.setDocumentMode(True) self.pages.setObjectName(_fromUtf8("pages")) self.tab = QtGui.QWidget() self.tab.setObjectName(_fromUtf8("tab")) @@ -44,7 +51,7 @@ class Ui_biacv_mainwindow(object): self.label_13.setSizePolicy(sizePolicy) self.label_13.setText(QtGui.QApplication.translate("biacv_mainwindow", "First name", None, QtGui.QApplication.UnicodeUTF8)) self.label_13.setObjectName(_fromUtf8("label_13")) - self.gridLayout.addWidget(self.label_13, 0, 4, 1, 3) + self.gridLayout.addWidget(self.label_13, 0, 4, 1, 1) self.label_14 = QtGui.QLabel(self.tab) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) @@ -53,11 +60,11 @@ class Ui_biacv_mainwindow(object): self.label_14.setSizePolicy(sizePolicy) self.label_14.setText(QtGui.QApplication.translate("biacv_mainwindow", "Last name", None, QtGui.QApplication.UnicodeUTF8)) self.label_14.setObjectName(_fromUtf8("label_14")) - self.gridLayout.addWidget(self.label_14, 0, 8, 1, 4) + self.gridLayout.addWidget(self.label_14, 0, 8, 1, 2) self.label_2 = QtGui.QLabel(self.tab) self.label_2.setText(QtGui.QApplication.translate("biacv_mainwindow", "Title", None, QtGui.QApplication.UnicodeUTF8)) self.label_2.setObjectName(_fromUtf8("label_2")) - self.gridLayout.addWidget(self.label_2, 1, 0, 1, 2) + self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1) self.nametitle = QtGui.QComboBox(self.tab) self.nametitle.setEditable(True) self.nametitle.setObjectName(_fromUtf8("nametitle")) @@ -75,7 +82,7 @@ class Ui_biacv_mainwindow(object): self.firstname = QtGui.QLineEdit(self.tab) self.firstname.setText(_fromUtf8("")) self.firstname.setObjectName(_fromUtf8("firstname")) - self.gridLayout.addWidget(self.firstname, 1, 4, 1, 3) + self.gridLayout.addWidget(self.firstname, 1, 4, 1, 2) self.lastname = QtGui.QLineEdit(self.tab) self.lastname.setText(_fromUtf8("")) self.lastname.setObjectName(_fromUtf8("lastname")) @@ -83,13 +90,13 @@ class Ui_biacv_mainwindow(object): self.label_3 = QtGui.QLabel(self.tab) self.label_3.setText(QtGui.QApplication.translate("biacv_mainwindow", "Date of birth", None, QtGui.QApplication.UnicodeUTF8)) self.label_3.setObjectName(_fromUtf8("label_3")) - self.gridLayout.addWidget(self.label_3, 2, 0, 1, 3) + self.gridLayout.addWidget(self.label_3, 2, 0, 1, 2) self.dateofbirth = QtGui.QDateEdit(self.tab) self.dateofbirth.setDate(QtCore.QDate(1970, 1, 1)) self.dateofbirth.setDisplayFormat(QtGui.QApplication.translate("biacv_mainwindow", "dd MMM, yyyy", None, QtGui.QApplication.UnicodeUTF8)) self.dateofbirth.setCalendarPopup(True) self.dateofbirth.setObjectName(_fromUtf8("dateofbirth")) - self.gridLayout.addWidget(self.dateofbirth, 2, 3, 1, 3) + self.gridLayout.addWidget(self.dateofbirth, 2, 3, 1, 2) self.label_4 = QtGui.QLabel(self.tab) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) @@ -105,11 +112,11 @@ class Ui_biacv_mainwindow(object): self.gridLayout.addWidget(self.label_15, 4, 0, 1, 1) self.street = QtGui.QLineEdit(self.tab) self.street.setObjectName(_fromUtf8("street")) - self.gridLayout.addWidget(self.street, 4, 1, 1, 5) + self.gridLayout.addWidget(self.street, 4, 1, 1, 4) self.label_5 = QtGui.QLabel(self.tab) self.label_5.setText(QtGui.QApplication.translate("biacv_mainwindow", "Landline", None, QtGui.QApplication.UnicodeUTF8)) self.label_5.setObjectName(_fromUtf8("label_5")) - self.gridLayout.addWidget(self.label_5, 4, 6, 1, 1) + self.gridLayout.addWidget(self.label_5, 4, 5, 1, 1) self.label_10 = QtGui.QLabel(self.tab) self.label_10.setText(QtGui.QApplication.translate("biacv_mainwindow", "+", None, QtGui.QApplication.UnicodeUTF8)) self.label_10.setObjectName(_fromUtf8("label_10")) @@ -137,11 +144,11 @@ class Ui_biacv_mainwindow(object): self.gridLayout.addWidget(self.label_16, 5, 0, 1, 1) self.area = QtGui.QLineEdit(self.tab) self.area.setObjectName(_fromUtf8("area")) - self.gridLayout.addWidget(self.area, 5, 1, 1, 5) + self.gridLayout.addWidget(self.area, 5, 1, 1, 4) self.label_7 = QtGui.QLabel(self.tab) self.label_7.setText(QtGui.QApplication.translate("biacv_mainwindow", "Mobile number", None, QtGui.QApplication.UnicodeUTF8)) self.label_7.setObjectName(_fromUtf8("label_7")) - self.gridLayout.addWidget(self.label_7, 5, 6, 1, 2) + self.gridLayout.addWidget(self.label_7, 5, 5, 1, 3) self.label_8 = QtGui.QLabel(self.tab) self.label_8.setText(QtGui.QApplication.translate("biacv_mainwindow", "+", None, QtGui.QApplication.UnicodeUTF8)) self.label_8.setObjectName(_fromUtf8("label_8")) @@ -169,21 +176,28 @@ class Ui_biacv_mainwindow(object): self.gridLayout.addWidget(self.label_17, 6, 0, 1, 1) self.city = QtGui.QLineEdit(self.tab) self.city.setObjectName(_fromUtf8("city")) - self.gridLayout.addWidget(self.city, 6, 1, 1, 5) + self.gridLayout.addWidget(self.city, 6, 1, 1, 4) self.label_11 = QtGui.QLabel(self.tab) self.label_11.setText(QtGui.QApplication.translate("biacv_mainwindow", "E-mail ID", None, QtGui.QApplication.UnicodeUTF8)) self.label_11.setObjectName(_fromUtf8("label_11")) - self.gridLayout.addWidget(self.label_11, 6, 6, 1, 1) + self.gridLayout.addWidget(self.label_11, 6, 5, 1, 1) self.email = QtGui.QLineEdit(self.tab) self.email.setObjectName(_fromUtf8("email")) - self.gridLayout.addWidget(self.email, 6, 7, 1, 5) + self.gridLayout.addWidget(self.email, 6, 6, 1, 6) self.label_18 = QtGui.QLabel(self.tab) self.label_18.setText(QtGui.QApplication.translate("biacv_mainwindow", "Areacode", None, QtGui.QApplication.UnicodeUTF8)) self.label_18.setObjectName(_fromUtf8("label_18")) self.gridLayout.addWidget(self.label_18, 7, 0, 1, 1) self.areacode = QtGui.QLineEdit(self.tab) self.areacode.setObjectName(_fromUtf8("areacode")) - self.gridLayout.addWidget(self.areacode, 7, 1, 1, 5) + self.gridLayout.addWidget(self.areacode, 7, 1, 1, 4) + self.label_37 = QtGui.QLabel(self.tab) + self.label_37.setText(QtGui.QApplication.translate("biacv_mainwindow", "Country", None, QtGui.QApplication.UnicodeUTF8)) + self.label_37.setObjectName(_fromUtf8("label_37")) + self.gridLayout.addWidget(self.label_37, 7, 5, 1, 2) + self.country = QtGui.QLineEdit(self.tab) + self.country.setObjectName(_fromUtf8("country")) + self.gridLayout.addWidget(self.country, 7, 7, 1, 5) self.label_12 = QtGui.QLabel(self.tab) self.label_12.setText(QtGui.QApplication.translate("biacv_mainwindow", "Marital status", None, QtGui.QApplication.UnicodeUTF8)) self.label_12.setObjectName(_fromUtf8("label_12")) @@ -200,8 +214,21 @@ class Ui_biacv_mainwindow(object): self.unspecified.setText(QtGui.QApplication.translate("biacv_mainwindow", "Unspecified", None, QtGui.QApplication.UnicodeUTF8)) self.unspecified.setChecked(True) self.unspecified.setObjectName(_fromUtf8("unspecified")) - self.gridLayout.addWidget(self.unspecified, 8, 5, 1, 2) + self.gridLayout.addWidget(self.unspecified, 8, 5, 1, 1) self.pages.addTab(self.tab, _fromUtf8("")) + self.tab_7 = QtGui.QWidget() + self.tab_7.setObjectName(_fromUtf8("tab_7")) + self.gridLayout_9 = QtGui.QGridLayout(self.tab_7) + self.gridLayout_9.setObjectName(_fromUtf8("gridLayout_9")) + self.label_38 = QtGui.QLabel(self.tab_7) + self.label_38.setText(QtGui.QApplication.translate("biacv_mainwindow", "Profile main highlights (one per line)", None, QtGui.QApplication.UnicodeUTF8)) + self.label_38.setObjectName(_fromUtf8("label_38")) + self.gridLayout_9.addWidget(self.label_38, 0, 0, 1, 1) + self.profile = QtGui.QPlainTextEdit(self.tab_7) + self.profile.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOn) + self.profile.setObjectName(_fromUtf8("profile")) + self.gridLayout_9.addWidget(self.profile, 1, 0, 1, 1) + self.pages.addTab(self.tab_7, _fromUtf8("")) self.tab_2 = QtGui.QWidget() self.tab_2.setObjectName(_fromUtf8("tab_2")) self.gridLayout_3 = QtGui.QGridLayout(self.tab_2) @@ -258,21 +285,30 @@ 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")) self.gridLayout_3.addWidget(self.deleteeducation, 4, 7, 1, 1) - self.educationlist = QtGui.QColumnView(self.tab_2) + self.educationlist = QtGui.QTreeWidget(self.tab_2) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) sizePolicy.setHorizontalStretch(0) 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)) + self.educationlist.headerItem().setText(2, QtGui.QApplication.translate("biacv_mainwindow", "Institution", None, QtGui.QApplication.UnicodeUTF8)) + self.educationlist.headerItem().setText(3, QtGui.QApplication.translate("biacv_mainwindow", "University", None, QtGui.QApplication.UnicodeUTF8)) + self.educationlist.headerItem().setText(4, QtGui.QApplication.translate("biacv_mainwindow", "Grade", None, QtGui.QApplication.UnicodeUTF8)) + self.educationlist.headerItem().setText(5, QtGui.QApplication.translate("biacv_mainwindow", "Percentage", None, QtGui.QApplication.UnicodeUTF8)) self.gridLayout_3.addWidget(self.educationlist, 5, 0, 1, 8) self.pages.addTab(self.tab_2, _fromUtf8("")) self.tab_3 = QtGui.QWidget() @@ -283,9 +319,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")) @@ -305,10 +341,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")) @@ -327,18 +363,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) @@ -369,16 +434,21 @@ class Ui_biacv_mainwindow(object): self.addskill.setText(QtGui.QApplication.translate("biacv_mainwindow", "&Add", None, QtGui.QApplication.UnicodeUTF8)) self.addskill.setObjectName(_fromUtf8("addskill")) self.gridLayout_5.addWidget(self.addskill, 2, 1, 1, 1) - self.editskill = QtGui.QPushButton(self.tab_4) - self.editskill.setText(QtGui.QApplication.translate("biacv_mainwindow", "&Edit", None, QtGui.QApplication.UnicodeUTF8)) - self.editskill.setObjectName(_fromUtf8("editskill")) - self.gridLayout_5.addWidget(self.editskill, 2, 2, 1, 1) + self.updateskill = QtGui.QPushButton(self.tab_4) + self.updateskill.setText(QtGui.QApplication.translate("biacv_mainwindow", "&Update", None, QtGui.QApplication.UnicodeUTF8)) + self.updateskill.setObjectName(_fromUtf8("updateskill")) + self.gridLayout_5.addWidget(self.updateskill, 2, 2, 1, 1) self.deleteskill = QtGui.QPushButton(self.tab_4) self.deleteskill.setText(QtGui.QApplication.translate("biacv_mainwindow", "&Delete", None, QtGui.QApplication.UnicodeUTF8)) self.deleteskill.setObjectName(_fromUtf8("deleteskill")) self.gridLayout_5.addWidget(self.deleteskill, 2, 3, 1, 1) - self.skillslist = QtGui.QColumnView(self.tab_4) + self.skillslist = QtGui.QTreeWidget(self.tab_4) + self.skillslist.setAlternatingRowColors(True) + self.skillslist.setRootIsDecorated(False) + self.skillslist.setUniformRowHeights(True) self.skillslist.setObjectName(_fromUtf8("skillslist")) + self.skillslist.headerItem().setText(0, QtGui.QApplication.translate("biacv_mainwindow", "Skill set", None, QtGui.QApplication.UnicodeUTF8)) + self.skillslist.headerItem().setText(1, QtGui.QApplication.translate("biacv_mainwindow", "Description", None, QtGui.QApplication.UnicodeUTF8)) self.gridLayout_5.addWidget(self.skillslist, 3, 0, 1, 4) self.pages.addTab(self.tab_4, _fromUtf8("")) self.tab_5 = QtGui.QWidget() @@ -403,36 +473,43 @@ class Ui_biacv_mainwindow(object): self.label_33.setText(QtGui.QApplication.translate("biacv_mainwindow", "Language", None, QtGui.QApplication.UnicodeUTF8)) self.label_33.setObjectName(_fromUtf8("label_33")) self.gridLayout_6.addWidget(self.label_33, 1, 0, 1, 1) - self.lineEdit = QtGui.QLineEdit(self.frame) - self.lineEdit.setObjectName(_fromUtf8("lineEdit")) - self.gridLayout_6.addWidget(self.lineEdit, 1, 1, 1, 1) - self.checkBox_2 = QtGui.QCheckBox(self.frame) - self.checkBox_2.setText(QtGui.QApplication.translate("biacv_mainwindow", "Spoken", None, QtGui.QApplication.UnicodeUTF8)) - self.checkBox_2.setChecked(True) - self.checkBox_2.setObjectName(_fromUtf8("checkBox_2")) - self.gridLayout_6.addWidget(self.checkBox_2, 1, 2, 1, 1) - self.checkBox_3 = QtGui.QCheckBox(self.frame) - self.checkBox_3.setText(QtGui.QApplication.translate("biacv_mainwindow", "Written", None, QtGui.QApplication.UnicodeUTF8)) - self.checkBox_3.setObjectName(_fromUtf8("checkBox_3")) - self.gridLayout_6.addWidget(self.checkBox_3, 1, 3, 1, 2) - self.checkBox_4 = QtGui.QCheckBox(self.frame) - self.checkBox_4.setText(QtGui.QApplication.translate("biacv_mainwindow", "Proficient", None, QtGui.QApplication.UnicodeUTF8)) - self.checkBox_4.setObjectName(_fromUtf8("checkBox_4")) - self.gridLayout_6.addWidget(self.checkBox_4, 1, 5, 1, 2) + self.language = QtGui.QLineEdit(self.frame) + self.language.setObjectName(_fromUtf8("language")) + self.gridLayout_6.addWidget(self.language, 1, 1, 1, 1) + self.canspeak = QtGui.QCheckBox(self.frame) + self.canspeak.setText(QtGui.QApplication.translate("biacv_mainwindow", "Spoken", None, QtGui.QApplication.UnicodeUTF8)) + self.canspeak.setChecked(True) + self.canspeak.setObjectName(_fromUtf8("canspeak")) + self.gridLayout_6.addWidget(self.canspeak, 1, 2, 1, 1) + self.canreadwrite = QtGui.QCheckBox(self.frame) + self.canreadwrite.setText(QtGui.QApplication.translate("biacv_mainwindow", "Read/write", None, QtGui.QApplication.UnicodeUTF8)) + self.canreadwrite.setObjectName(_fromUtf8("canreadwrite")) + self.gridLayout_6.addWidget(self.canreadwrite, 1, 3, 1, 2) + self.isproficient = QtGui.QCheckBox(self.frame) + self.isproficient.setText(QtGui.QApplication.translate("biacv_mainwindow", "Proficient", None, QtGui.QApplication.UnicodeUTF8)) + self.isproficient.setObjectName(_fromUtf8("isproficient")) + self.gridLayout_6.addWidget(self.isproficient, 1, 5, 1, 2) self.addlanguage = QtGui.QPushButton(self.frame) self.addlanguage.setText(QtGui.QApplication.translate("biacv_mainwindow", "&Add", None, QtGui.QApplication.UnicodeUTF8)) self.addlanguage.setObjectName(_fromUtf8("addlanguage")) self.gridLayout_6.addWidget(self.addlanguage, 2, 2, 1, 2) - self.editlanguage = QtGui.QPushButton(self.frame) - self.editlanguage.setText(QtGui.QApplication.translate("biacv_mainwindow", "&Edit", None, QtGui.QApplication.UnicodeUTF8)) - self.editlanguage.setObjectName(_fromUtf8("editlanguage")) - self.gridLayout_6.addWidget(self.editlanguage, 2, 4, 1, 2) + self.updatelanguage = QtGui.QPushButton(self.frame) + self.updatelanguage.setText(QtGui.QApplication.translate("biacv_mainwindow", "&Update", None, QtGui.QApplication.UnicodeUTF8)) + self.updatelanguage.setObjectName(_fromUtf8("updatelanguage")) + self.gridLayout_6.addWidget(self.updatelanguage, 2, 4, 1, 2) self.deletelanguage = QtGui.QPushButton(self.frame) self.deletelanguage.setText(QtGui.QApplication.translate("biacv_mainwindow", "&Delete", None, QtGui.QApplication.UnicodeUTF8)) self.deletelanguage.setObjectName(_fromUtf8("deletelanguage")) self.gridLayout_6.addWidget(self.deletelanguage, 2, 6, 1, 1) - self.languageslist = QtGui.QColumnView(self.frame) + self.languageslist = QtGui.QTreeWidget(self.frame) + self.languageslist.setAlternatingRowColors(True) + self.languageslist.setRootIsDecorated(False) + self.languageslist.setUniformRowHeights(True) self.languageslist.setObjectName(_fromUtf8("languageslist")) + self.languageslist.headerItem().setText(0, QtGui.QApplication.translate("biacv_mainwindow", "Language", None, QtGui.QApplication.UnicodeUTF8)) + self.languageslist.headerItem().setText(1, QtGui.QApplication.translate("biacv_mainwindow", "Can speak", None, QtGui.QApplication.UnicodeUTF8)) + self.languageslist.headerItem().setText(2, QtGui.QApplication.translate("biacv_mainwindow", "Can read/write", None, QtGui.QApplication.UnicodeUTF8)) + self.languageslist.headerItem().setText(3, QtGui.QApplication.translate("biacv_mainwindow", "Proficient", None, QtGui.QApplication.UnicodeUTF8)) self.gridLayout_6.addWidget(self.languageslist, 3, 0, 1, 7) self.gridLayout_7.addWidget(self.frame, 0, 0, 1, 1) self.label_34 = QtGui.QLabel(self.tab_5) @@ -452,9 +529,6 @@ class Ui_biacv_mainwindow(object): self.menu_File = QtGui.QMenu(self.menubar) self.menu_File.setTitle(QtGui.QApplication.translate("biacv_mainwindow", "&File", None, QtGui.QApplication.UnicodeUTF8)) self.menu_File.setObjectName(_fromUtf8("menu_File")) - self.menu_Export = QtGui.QMenu(self.menu_File) - self.menu_Export.setTitle(QtGui.QApplication.translate("biacv_mainwindow", "&Export", None, QtGui.QApplication.UnicodeUTF8)) - self.menu_Export.setObjectName(_fromUtf8("menu_Export")) self.menu_Help = QtGui.QMenu(self.menubar) self.menu_Help.setTitle(QtGui.QApplication.translate("biacv_mainwindow", "&Help", None, QtGui.QApplication.UnicodeUTF8)) self.menu_Help.setObjectName(_fromUtf8("menu_Help")) @@ -463,37 +537,47 @@ class Ui_biacv_mainwindow(object): self.statusbar.setObjectName(_fromUtf8("statusbar")) biacv_mainwindow.setStatusBar(self.statusbar) self.action_New = QtGui.QAction(biacv_mainwindow) - self.action_New.setText(QtGui.QApplication.translate("biacv_mainwindow", "&New...", None, QtGui.QApplication.UnicodeUTF8)) + self.action_New.setText(QtGui.QApplication.translate("biacv_mainwindow", "&New", None, QtGui.QApplication.UnicodeUTF8)) + self.action_New.setStatusTip(QtGui.QApplication.translate("biacv_mainwindow", "Create a new file", None, QtGui.QApplication.UnicodeUTF8)) self.action_New.setObjectName(_fromUtf8("action_New")) + self.action_Open = QtGui.QAction(biacv_mainwindow) + self.action_Open.setText(QtGui.QApplication.translate("biacv_mainwindow", "&Open...", None, QtGui.QApplication.UnicodeUTF8)) + self.action_Open.setStatusTip(QtGui.QApplication.translate("biacv_mainwindow", "Open an existing file", None, QtGui.QApplication.UnicodeUTF8)) + self.action_Open.setObjectName(_fromUtf8("action_Open")) self.action_Save = QtGui.QAction(biacv_mainwindow) - self.action_Save.setText(QtGui.QApplication.translate("biacv_mainwindow", "&Open", None, QtGui.QApplication.UnicodeUTF8)) + self.action_Save.setText(QtGui.QApplication.translate("biacv_mainwindow", "&Save", None, QtGui.QApplication.UnicodeUTF8)) + self.action_Save.setStatusTip(QtGui.QApplication.translate("biacv_mainwindow", "Save current file", None, QtGui.QApplication.UnicodeUTF8)) + self.action_Save.setShortcut(QtGui.QApplication.translate("biacv_mainwindow", "Ctrl+S", None, QtGui.QApplication.UnicodeUTF8)) self.action_Save.setObjectName(_fromUtf8("action_Save")) - self.action_Save_2 = QtGui.QAction(biacv_mainwindow) - self.action_Save_2.setText(QtGui.QApplication.translate("biacv_mainwindow", "&Save", None, QtGui.QApplication.UnicodeUTF8)) - self.action_Save_2.setObjectName(_fromUtf8("action_Save_2")) self.actionSave_As = QtGui.QAction(biacv_mainwindow) self.actionSave_As.setText(QtGui.QApplication.translate("biacv_mainwindow", "Save &As...", None, QtGui.QApplication.UnicodeUTF8)) + self.actionSave_As.setStatusTip(QtGui.QApplication.translate("biacv_mainwindow", "Save as a different file", None, QtGui.QApplication.UnicodeUTF8)) self.actionSave_As.setObjectName(_fromUtf8("actionSave_As")) self.action_HTML = QtGui.QAction(biacv_mainwindow) self.action_HTML.setText(QtGui.QApplication.translate("biacv_mainwindow", "&HTML...", None, QtGui.QApplication.UnicodeUTF8)) + self.action_HTML.setStatusTip(QtGui.QApplication.translate("biacv_mainwindow", "Export as HTML document", None, QtGui.QApplication.UnicodeUTF8)) self.action_HTML.setObjectName(_fromUtf8("action_HTML")) self.actionOpenDocument_ODT = QtGui.QAction(biacv_mainwindow) self.actionOpenDocument_ODT.setText(QtGui.QApplication.translate("biacv_mainwindow", "OpenDocument ODT...", None, QtGui.QApplication.UnicodeUTF8)) + self.actionOpenDocument_ODT.setStatusTip(QtGui.QApplication.translate("biacv_mainwindow", "Export as an OpenOffice document", None, QtGui.QApplication.UnicodeUTF8)) self.actionOpenDocument_ODT.setObjectName(_fromUtf8("actionOpenDocument_ODT")) self.actionE_xit = QtGui.QAction(biacv_mainwindow) self.actionE_xit.setText(QtGui.QApplication.translate("biacv_mainwindow", "E&xit", None, QtGui.QApplication.UnicodeUTF8)) self.actionE_xit.setObjectName(_fromUtf8("actionE_xit")) self.action_About = QtGui.QAction(biacv_mainwindow) self.action_About.setText(QtGui.QApplication.translate("biacv_mainwindow", "&About", None, QtGui.QApplication.UnicodeUTF8)) + self.action_About.setStatusTip(QtGui.QApplication.translate("biacv_mainwindow", "Show program information", None, QtGui.QApplication.UnicodeUTF8)) self.action_About.setObjectName(_fromUtf8("action_About")) - self.menu_Export.addAction(self.action_HTML) - self.menu_Export.addAction(self.actionOpenDocument_ODT) + self.action_Export = QtGui.QAction(biacv_mainwindow) + self.action_Export.setText(QtGui.QApplication.translate("biacv_mainwindow", "&Export...", None, QtGui.QApplication.UnicodeUTF8)) + self.action_Export.setStatusTip(QtGui.QApplication.translate("biacv_mainwindow", "Export the current document using templates to other formats", None, QtGui.QApplication.UnicodeUTF8)) + self.action_Export.setObjectName(_fromUtf8("action_Export")) self.menu_File.addAction(self.action_New) - self.menu_File.addAction(self.action_Save) + self.menu_File.addAction(self.action_Open) self.menu_File.addSeparator() - self.menu_File.addAction(self.action_Save_2) + self.menu_File.addAction(self.action_Save) self.menu_File.addAction(self.actionSave_As) - self.menu_File.addAction(self.menu_Export.menuAction()) + self.menu_File.addAction(self.action_Export) self.menu_File.addSeparator() self.menu_File.addAction(self.actionE_xit) self.menu_Help.addAction(self.action_About) @@ -501,14 +585,66 @@ class Ui_biacv_mainwindow(object): self.menubar.addAction(self.menu_Help.menuAction()) self.retranslateUi(biacv_mainwindow) - self.pages.setCurrentIndex(1) + 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.QObject.connect(self.updatehistory, QtCore.SIGNAL(_fromUtf8("clicked()")), biacv_mainwindow.on_update_profession) + QtCore.QObject.connect(self.addskill, QtCore.SIGNAL(_fromUtf8("clicked()")), biacv_mainwindow.on_add_skill) + QtCore.QObject.connect(self.deleteskill, QtCore.SIGNAL(_fromUtf8("clicked()")), biacv_mainwindow.on_delete_skill) + QtCore.QObject.connect(self.skillslist, QtCore.SIGNAL(_fromUtf8("activated(QModelIndex)")), biacv_mainwindow.on_select_skill) + QtCore.QObject.connect(self.skillslist, QtCore.SIGNAL(_fromUtf8("itemSelectionChanged()")), biacv_mainwindow.on_select_skill) + QtCore.QObject.connect(self.updateskill, QtCore.SIGNAL(_fromUtf8("clicked()")), biacv_mainwindow.on_update_skill) + QtCore.QObject.connect(self.addlanguage, QtCore.SIGNAL(_fromUtf8("clicked()")), biacv_mainwindow.on_add_lang) + QtCore.QObject.connect(self.deletelanguage, QtCore.SIGNAL(_fromUtf8("clicked()")), biacv_mainwindow.on_delete_lang) + QtCore.QObject.connect(self.languageslist, QtCore.SIGNAL(_fromUtf8("activated(QModelIndex)")), biacv_mainwindow.on_select_lang) + QtCore.QObject.connect(self.languageslist, QtCore.SIGNAL(_fromUtf8("itemSelectionChanged()")), biacv_mainwindow.on_select_lang) + QtCore.QObject.connect(self.updatelanguage, QtCore.SIGNAL(_fromUtf8("clicked()")), biacv_mainwindow.on_update_lang) + QtCore.QObject.connect(self.title, QtCore.SIGNAL(_fromUtf8("textChanged(QString)")), biacv_mainwindow.on_document_modified) + QtCore.QObject.connect(self.nametitle, QtCore.SIGNAL(_fromUtf8("textChanged(QString)")), biacv_mainwindow.on_document_modified) + QtCore.QObject.connect(self.firstname, QtCore.SIGNAL(_fromUtf8("textChanged(QString)")), biacv_mainwindow.on_document_modified) + QtCore.QObject.connect(self.lastname, QtCore.SIGNAL(_fromUtf8("textChanged(QString)")), biacv_mainwindow.on_document_modified) + QtCore.QObject.connect(self.dateofbirth, QtCore.SIGNAL(_fromUtf8("dateChanged(QDate)")), biacv_mainwindow.on_document_modified) + QtCore.QObject.connect(self.street, QtCore.SIGNAL(_fromUtf8("textChanged(QString)")), biacv_mainwindow.on_document_modified) + QtCore.QObject.connect(self.countrycode_landline, QtCore.SIGNAL(_fromUtf8("textChanged(QString)")), biacv_mainwindow.on_document_modified) + QtCore.QObject.connect(self.telephone, QtCore.SIGNAL(_fromUtf8("textChanged(QString)")), biacv_mainwindow.on_document_modified) + QtCore.QObject.connect(self.area, QtCore.SIGNAL(_fromUtf8("textChanged(QString)")), biacv_mainwindow.on_document_modified) + QtCore.QObject.connect(self.countrycode_mobile, QtCore.SIGNAL(_fromUtf8("textChanged(QString)")), biacv_mainwindow.on_document_modified) + QtCore.QObject.connect(self.mobilenumber, QtCore.SIGNAL(_fromUtf8("textChanged(QString)")), biacv_mainwindow.on_document_modified) + QtCore.QObject.connect(self.city, QtCore.SIGNAL(_fromUtf8("textChanged(QString)")), biacv_mainwindow.on_document_modified) + QtCore.QObject.connect(self.email, QtCore.SIGNAL(_fromUtf8("textChanged(QString)")), biacv_mainwindow.on_document_modified) + QtCore.QObject.connect(self.areacode, QtCore.SIGNAL(_fromUtf8("textChanged(QString)")), biacv_mainwindow.on_document_modified) + QtCore.QObject.connect(self.married, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), biacv_mainwindow.on_document_modified) + QtCore.QObject.connect(self.single, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), biacv_mainwindow.on_document_modified) + QtCore.QObject.connect(self.unspecified, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), biacv_mainwindow.on_document_modified) + QtCore.QObject.connect(self.shorttermcareer, QtCore.SIGNAL(_fromUtf8("textChanged()")), biacv_mainwindow.on_document_modified) + QtCore.QObject.connect(self.longtermgoals, QtCore.SIGNAL(_fromUtf8("textChanged()")), biacv_mainwindow.on_document_modified) + QtCore.QObject.connect(self.additionalinformation, QtCore.SIGNAL(_fromUtf8("textChanged()")), biacv_mainwindow.on_document_modified) + QtCore.QObject.connect(self.action_New, QtCore.SIGNAL(_fromUtf8("triggered()")), biacv_mainwindow.on_file_new) + QtCore.QObject.connect(self.action_Save, QtCore.SIGNAL(_fromUtf8("triggered()")), biacv_mainwindow.on_file_save) + QtCore.QObject.connect(self.action_Open, QtCore.SIGNAL(_fromUtf8("triggered()")), biacv_mainwindow.on_file_open) + QtCore.QObject.connect(self.actionSave_As, QtCore.SIGNAL(_fromUtf8("triggered()")), biacv_mainwindow.on_file_save_as) + QtCore.QObject.connect(self.actionE_xit, QtCore.SIGNAL(_fromUtf8("triggered()")), biacv_mainwindow.on_exit) + QtCore.QObject.connect(self.action_About, QtCore.SIGNAL(_fromUtf8("triggered()")), biacv_mainwindow.on_help_about) + QtCore.QObject.connect(self.action_Export, QtCore.SIGNAL(_fromUtf8("triggered()")), biacv_mainwindow.on_file_export) + QtCore.QObject.connect(self.country, QtCore.SIGNAL(_fromUtf8("textChanged(QString)")), biacv_mainwindow.on_document_modified) + QtCore.QObject.connect(self.profile, QtCore.SIGNAL(_fromUtf8("textChanged()")), biacv_mainwindow.on_document_modified) 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_7), QtGui.QApplication.translate("biacv_mainwindow", "Profile", 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)) +import biacv_res_rc