Delete professional history item done
[biacv.git] / biacv_mainwindow.ui
index 30f8de2..720aed2 100644 (file)
     </item>
     <item row="1" column="0" colspan="2">
      <widget class="QTabWidget" name="pages">
+      <property name="tabShape">
+       <enum>QTabWidget::Rounded</enum>
+      </property>
       <property name="currentIndex">
-       <number>1</number>
+       <number>0</number>
+      </property>
+      <property name="documentMode">
+       <bool>true</bool>
       </property>
       <widget class="QWidget" name="tab">
        <attribute name="title">
          </widget>
         </item>
         <item row="4" column="6">
-         <widget class="QPushButton" name="editeducation">
+         <widget class="QPushButton" name="updateeducation">
           <property name="text">
-           <string>&amp;Edit</string>
+           <string>&amp;Update</string>
           </property>
          </widget>
         </item>
          </widget>
         </item>
         <item row="5" column="0" colspan="8">
-         <widget class="QColumnView" name="educationlist">
+         <widget class="QTreeWidget" name="educationlist">
           <property name="sizePolicy">
            <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
             <horstretch>0</horstretch>
             <verstretch>0</verstretch>
            </sizepolicy>
           </property>
+          <property name="alternatingRowColors">
+           <bool>true</bool>
+          </property>
+          <property name="rootIsDecorated">
+           <bool>false</bool>
+          </property>
+          <property name="uniformRowHeights">
+           <bool>true</bool>
+          </property>
+          <column>
+           <property name="text">
+            <string>Degree</string>
+           </property>
+          </column>
+          <column>
+           <property name="text">
+            <string>Graduation date</string>
+           </property>
+          </column>
+          <column>
+           <property name="text">
+            <string>Institution</string>
+           </property>
+          </column>
+          <column>
+           <property name="text">
+            <string>University</string>
+           </property>
+          </column>
+          <column>
+           <property name="text">
+            <string>Grade</string>
+           </property>
+          </column>
+          <column>
+           <property name="text">
+            <string>Percentage</string>
+           </property>
+          </column>
          </widget>
         </item>
        </layout>
          </widget>
         </item>
         <item row="0" column="1" colspan="4">
-         <widget class="QLineEdit" name="positions"/>
+         <widget class="QLineEdit" name="designation"/>
         </item>
         <item row="1" column="0">
          <widget class="QLabel" name="label_26">
          </widget>
         </item>
         <item row="2" column="2" colspan="2">
-         <widget class="QCheckBox" name="checkBox">
+         <widget class="QCheckBox" name="currentemployment">
           <property name="text">
            <string>Current employment</string>
           </property>
          </widget>
         </item>
         <item row="5" column="3">
-         <widget class="QPushButton" name="edithistory">
+         <widget class="QPushButton" name="updatehistory">
           <property name="text">
-           <string>&amp;Edit</string>
+           <string>&amp;Update</string>
           </property>
          </widget>
         </item>
          </widget>
         </item>
         <item row="6" column="0" colspan="5">
-         <widget class="QColumnView" name="historylist"/>
+         <widget class="QTreeWidget" name="professionlist">
+          <property name="alternatingRowColors">
+           <bool>true</bool>
+          </property>
+          <property name="rootIsDecorated">
+           <bool>false</bool>
+          </property>
+          <property name="uniformRowHeights">
+           <bool>true</bool>
+          </property>
+          <column>
+           <property name="text">
+            <string>Job title</string>
+           </property>
+          </column>
+          <column>
+           <property name="text">
+            <string>Date of joining</string>
+           </property>
+          </column>
+          <column>
+           <property name="text">
+            <string>Date of leaving</string>
+           </property>
+          </column>
+          <column>
+           <property name="text">
+            <string>Organization</string>
+           </property>
+          </column>
+          <column>
+           <property name="text">
+            <string>Additional info</string>
+           </property>
+          </column>
+         </widget>
+        </item>
+       </layout>
+      </widget>
+      <widget class="QWidget" name="tab_6">
+       <attribute name="title">
+        <string>Career objectives</string>
+       </attribute>
+       <layout class="QGridLayout" name="gridLayout_8">
+        <item row="0" column="0">
+         <widget class="QLabel" name="label_35">
+          <property name="text">
+           <string>Short term career objectives (one per line)</string>
+          </property>
+         </widget>
+        </item>
+        <item row="1" column="0">
+         <widget class="QPlainTextEdit" name="shorttermcareer">
+          <property name="verticalScrollBarPolicy">
+           <enum>Qt::ScrollBarAlwaysOn</enum>
+          </property>
+         </widget>
+        </item>
+        <item row="2" column="0">
+         <widget class="QLabel" name="label_36">
+          <property name="text">
+           <string>Long term career goals (one per line)</string>
+          </property>
+         </widget>
+        </item>
+        <item row="3" column="0">
+         <widget class="QPlainTextEdit" name="longtermgoals">
+          <property name="verticalScrollBarPolicy">
+           <enum>Qt::ScrollBarAlwaysOn</enum>
+          </property>
+         </widget>
         </item>
        </layout>
       </widget>
   <widget class="QStatusBar" name="statusbar"/>
   <action name="action_New">
    <property name="text">
-    <string>&amp;New...</string>
+    <string>&amp;New</string>
    </property>
   </action>
   <action name="action_Save">
    <property name="text">
-    <string>&amp;Open</string>
+    <string>&amp;Open...</string>
    </property>
   </action>
   <action name="action_Save_2">
     </hint>
    </hints>
   </connection>
+  <connection>
+   <sender>deleteeducation</sender>
+   <signal>clicked()</signal>
+   <receiver>biacv_mainwindow</receiver>
+   <slot>on_delete_education()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>677</x>
+     <y>198</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>728</x>
+     <y>437</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>educationlist</sender>
+   <signal>itemSelectionChanged()</signal>
+   <receiver>biacv_mainwindow</receiver>
+   <slot>on_select_education()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>281</x>
+     <y>290</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>726</x>
+     <y>472</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>updateeducation</sender>
+   <signal>clicked()</signal>
+   <receiver>biacv_mainwindow</receiver>
+   <slot>on_update_education()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>608</x>
+     <y>202</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>728</x>
+     <y>218</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>educationlist</sender>
+   <signal>activated(QModelIndex)</signal>
+   <receiver>biacv_mainwindow</receiver>
+   <slot>on_select_education()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>648</x>
+     <y>303</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>729</x>
+     <y>329</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>currentemployment</sender>
+   <signal>toggled(bool)</signal>
+   <receiver>biacv_mainwindow</receiver>
+   <slot>on_change_currentemployment()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>368</x>
+     <y>140</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>728</x>
+     <y>246</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>addhistory</sender>
+   <signal>clicked()</signal>
+   <receiver>biacv_mainwindow</receiver>
+   <slot>on_add_profession()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>391</x>
+     <y>222</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>729</x>
+     <y>289</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>professionlist</sender>
+   <signal>itemSelectionChanged()</signal>
+   <receiver>biacv_mainwindow</receiver>
+   <slot>on_select_profession()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>553</x>
+     <y>351</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>727</x>
+     <y>379</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>professionlist</sender>
+   <signal>activated(QModelIndex)</signal>
+   <receiver>biacv_mainwindow</receiver>
+   <slot>on_select_profession()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>420</x>
+     <y>323</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>729</x>
+     <y>422</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>deletehistory</sender>
+   <signal>clicked()</signal>
+   <receiver>biacv_mainwindow</receiver>
+   <slot>on_delete_profession()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>621</x>
+     <y>223</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>729</x>
+     <y>187</y>
+    </hint>
+   </hints>
+  </connection>
  </connections>
  <slots>
   <slot>on_add_education()</slot>
+  <slot>on_delete_education()</slot>
+  <slot>on_select_education()</slot>
+  <slot>on_update_education()</slot>
+  <slot>on_change_currentemployment()</slot>
+  <slot>on_add_profession()</slot>
+  <slot>on_select_profession()</slot>
+  <slot>on_delete_profession()</slot>
  </slots>
 </ui>