Update language in list
[biacv.git] / biacv_mainwindow_ui.py
index a59164b..7a91297 100644 (file)
@@ -2,7 +2,7 @@
 
 # Form implementation generated from reading ui file 'biacv_mainwindow.ui'
 #
-# Created: Wed Nov 30 20:11:07 2011
+# Created: Fri Dec  2 10:52:04 2011
 #      by: PyQt4 UI code generator 4.8.6
 #
 # WARNING! All changes made in this file will be lost!
@@ -409,16 +409,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()
@@ -443,36 +448,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)
@@ -493,6 +505,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)
@@ -504,27 +517,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)
@@ -553,6 +574,16 @@ class Ui_biacv_mainwindow(object):
         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.QMetaObject.connectSlotsByName(biacv_mainwindow)
 
     def retranslateUi(self, biacv_mainwindow):