Delete education qualification from list
[biacv.git] / biacv_mainwindow.ui
index 30f8de2..7abd581 100644 (file)
@@ -28,7 +28,7 @@
     <item row="1" column="0" colspan="2">
      <widget class="QTabWidget" name="pages">
       <property name="currentIndex">
-       <number>1</number>
+       <number>0</number>
       </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 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>
  </connections>
  <slots>
   <slot>on_add_education()</slot>
+  <slot>on_delete_education()</slot>
  </slots>
 </ui>