Add language implemented
[biacv.git] / biacv_mainwindow.ui
index 2132054..9f6c3ad 100644 (file)
             </widget>
            </item>
            <item row="1" column="1">
-            <widget class="QLineEdit" name="lineEdit"/>
+            <widget class="QLineEdit" name="language"/>
            </item>
            <item row="1" column="2">
-            <widget class="QCheckBox" name="checkBox_2">
+            <widget class="QCheckBox" name="canspeak">
              <property name="text">
               <string>Spoken</string>
              </property>
             </widget>
            </item>
            <item row="1" column="3" colspan="2">
-            <widget class="QCheckBox" name="checkBox_3">
+            <widget class="QCheckBox" name="canreadwrite">
              <property name="text">
-              <string>Written</string>
+              <string>Read/write</string>
              </property>
             </widget>
            </item>
            <item row="1" column="5" colspan="2">
-            <widget class="QCheckBox" name="checkBox_4">
+            <widget class="QCheckBox" name="isproficient">
              <property name="text">
               <string>Proficient</string>
              </property>
             </widget>
            </item>
            <item row="2" column="4" colspan="2">
-            <widget class="QPushButton" name="editlanguage">
+            <widget class="QPushButton" name="updatelanguage">
              <property name="text">
-              <string>&amp;Edit</string>
+              <string>&amp;Update</string>
              </property>
             </widget>
            </item>
             </widget>
            </item>
            <item row="3" column="0" colspan="7">
-            <widget class="QColumnView" name="languageslist"/>
+            <widget class="QTreeWidget" name="languageslist">
+             <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>Language</string>
+              </property>
+             </column>
+             <column>
+              <property name="text">
+               <string>Can speak</string>
+              </property>
+             </column>
+             <column>
+              <property name="text">
+               <string>Can read/write</string>
+              </property>
+             </column>
+             <column>
+              <property name="text">
+               <string>Proficient</string>
+              </property>
+             </column>
+            </widget>
            </item>
           </layout>
          </widget>
     </hint>
    </hints>
   </connection>
+  <connection>
+   <sender>addlanguage</sender>
+   <signal>clicked()</signal>
+   <receiver>biacv_mainwindow</receiver>
+   <slot>on_add_lang()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>545</x>
+     <y>138</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>729</x>
+     <y>88</y>
+    </hint>
+   </hints>
+  </connection>
  </connections>
  <slots>
   <slot>on_add_education()</slot>
   <slot>on_delete_skill()</slot>
   <slot>on_select_skill()</slot>
   <slot>on_update_skill()</slot>
+  <slot>on_add_lang()</slot>
  </slots>
 </ui>