Update language in list
[biacv.git] / biacv_mainwindow.ui
index f8ffb74..2aa4322 100644 (file)
@@ -31,7 +31,7 @@
        <enum>QTabWidget::Rounded</enum>
       </property>
       <property name="currentIndex">
-       <number>4</number>
+       <number>0</number>
       </property>
       <property name="documentMode">
        <bool>true</bool>
          </widget>
         </item>
         <item row="2" column="2">
-         <widget class="QPushButton" name="editskill">
+         <widget class="QPushButton" name="updateskill">
           <property name="text">
-           <string>&amp;Edit</string>
+           <string>&amp;Update</string>
           </property>
          </widget>
         </item>
             </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>deleteskill</sender>
+   <signal>clicked()</signal>
+   <receiver>biacv_mainwindow</receiver>
+   <slot>on_delete_skill()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>598</x>
+     <y>238</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>728</x>
+     <y>174</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>skillslist</sender>
+   <signal>activated(QModelIndex)</signal>
+   <receiver>biacv_mainwindow</receiver>
+   <slot>on_select_skill()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>453</x>
+     <y>359</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>730</x>
+     <y>279</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>skillslist</sender>
+   <signal>itemSelectionChanged()</signal>
+   <receiver>biacv_mainwindow</receiver>
+   <slot>on_select_skill()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>602</x>
+     <y>331</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>726</x>
+     <y>413</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>updateskill</sender>
+   <signal>clicked()</signal>
+   <receiver>biacv_mainwindow</receiver>
+   <slot>on_update_skill()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>437</x>
+     <y>243</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>728</x>
+     <y>360</y>
+    </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>
+  <connection>
+   <sender>deletelanguage</sender>
+   <signal>clicked()</signal>
+   <receiver>biacv_mainwindow</receiver>
+   <slot>on_delete_lang()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>687</x>
+     <y>142</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>733</x>
+     <y>52</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>languageslist</sender>
+   <signal>activated(QModelIndex)</signal>
+   <receiver>biacv_mainwindow</receiver>
+   <slot>on_select_lang()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>554</x>
+     <y>224</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>730</x>
+     <y>118</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>languageslist</sender>
+   <signal>itemSelectionChanged()</signal>
+   <receiver>biacv_mainwindow</receiver>
+   <slot>on_select_lang()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>617</x>
+     <y>189</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>730</x>
+     <y>314</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>updatelanguage</sender>
+   <signal>clicked()</signal>
+   <receiver>biacv_mainwindow</receiver>
+   <slot>on_update_lang()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>605</x>
+     <y>140</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>729</x>
+     <y>462</y>
+    </hint>
+   </hints>
+  </connection>
  </connections>
  <slots>
   <slot>on_add_education()</slot>
   <slot>on_delete_profession()</slot>
   <slot>on_update_profession()</slot>
   <slot>on_add_skill()</slot>
+  <slot>on_delete_skill()</slot>
+  <slot>on_select_skill()</slot>
+  <slot>on_update_skill()</slot>
+  <slot>on_add_lang()</slot>
+  <slot>on_delete_lang()</slot>
+  <slot>on_select_lang()</slot>
+  <slot>on_update_lang()</slot>
  </slots>
 </ui>