Delete professional history item done
[biacv.git] / biacv_mainwindow_ui.py
index 5760b36..ce4a164 100644 (file)
@@ -2,7 +2,7 @@
 
 # Form implementation generated from reading ui file 'biacv_mainwindow.ui'
 #
-# Created: Wed Nov 30 15:47:09 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!
@@ -338,10 +338,10 @@ 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"))
@@ -549,6 +549,9 @@ class Ui_biacv_mainwindow(object):
         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):