Add skill set
[biacv.git] / biacv_mainwindow_ui.py
index 9d60bad..18d27e1 100644 (file)
@@ -2,7 +2,7 @@
 
 # Form implementation generated from reading ui file 'biacv_mainwindow.ui'
 #
-# Created: Wed Nov 30 14:34:55 2011
+# Created: Thu Dec  1 10:10:58 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"))
@@ -292,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"))
@@ -314,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"))
@@ -336,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)
@@ -386,8 +417,10 @@ class Ui_biacv_mainwindow(object):
         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.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()
@@ -462,6 +495,7 @@ class Ui_biacv_mainwindow(object):
         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.setStatusTip(QtGui.QApplication.translate("biacv_mainwindow", "Export as HTML document", None, QtGui.QApplication.UnicodeUTF8))
         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)
@@ -473,27 +507,35 @@ class Ui_biacv_mainwindow(object):
         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.setStatusTip(QtGui.QApplication.translate("biacv_mainwindow", "Create a new file", None, QtGui.QApplication.UnicodeUTF8))
         self.action_New.setObjectName(_fromUtf8("action_New"))
         self.action_Save = QtGui.QAction(biacv_mainwindow)
         self.action_Save.setText(QtGui.QApplication.translate("biacv_mainwindow", "&Open...", None, QtGui.QApplication.UnicodeUTF8))
+        self.action_Save.setStatusTip(QtGui.QApplication.translate("biacv_mainwindow", "Open an existing file", 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.setStatusTip(QtGui.QApplication.translate("biacv_mainwindow", "Save current file", None, QtGui.QApplication.UnicodeUTF8))
+        self.action_Save_2.setShortcut(QtGui.QApplication.translate("biacv_mainwindow", "Ctrl+S", 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)
@@ -510,18 +552,26 @@ 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.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))