Update language in list
[biacv.git] / biacv_mainwindow.ui
index fd9d129..2aa4322 100644 (file)
          </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="3" column="0" colspan="4">
-         <widget class="QColumnView" name="skillslist"/>
+         <widget class="QTreeWidget" name="skillslist">
+          <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>Skill set</string>
+           </property>
+          </column>
+          <column>
+           <property name="text">
+            <string>Description</string>
+           </property>
+          </column>
+         </widget>
         </item>
        </layout>
       </widget>
             </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>
      <string>&amp;File</string>
     </property>
     <widget class="QMenu" name="menu_Export">
+     <property name="statusTip">
+      <string>Export as HTML document</string>
+     </property>
      <property name="title">
       <string>&amp;Export</string>
      </property>
    <property name="text">
     <string>&amp;New</string>
    </property>
+   <property name="statusTip">
+    <string>Create a new file</string>
+   </property>
   </action>
   <action name="action_Save">
    <property name="text">
     <string>&amp;Open...</string>
    </property>
+   <property name="statusTip">
+    <string>Open an existing file</string>
+   </property>
   </action>
   <action name="action_Save_2">
    <property name="text">
     <string>&amp;Save</string>
    </property>
+   <property name="statusTip">
+    <string>Save current file</string>
+   </property>
+   <property name="shortcut">
+    <string>Ctrl+S</string>
+   </property>
   </action>
   <action name="actionSave_As">
    <property name="text">
     <string>Save &amp;As...</string>
    </property>
+   <property name="statusTip">
+    <string>Save as a different file</string>
+   </property>
   </action>
   <action name="action_HTML">
    <property name="text">
     <string>&amp;HTML...</string>
    </property>
+   <property name="statusTip">
+    <string>Export as HTML document</string>
+   </property>
   </action>
   <action name="actionOpenDocument_ODT">
    <property name="text">
     <string>OpenDocument ODT...</string>
    </property>
+   <property name="statusTip">
+    <string>Export as an OpenOffice document</string>
+   </property>
   </action>
   <action name="actionE_xit">
    <property name="text">
    <property name="text">
     <string>&amp;About</string>
    </property>
+   <property name="statusTip">
+    <string>Show program information</string>
+   </property>
   </action>
  </widget>
  <resources/>
     </hint>
    </hints>
   </connection>
+  <connection>
+   <sender>addskill</sender>
+   <signal>clicked()</signal>
+   <receiver>biacv_mainwindow</receiver>
+   <slot>on_add_skill()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>307</x>
+     <y>240</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>730</x>
+     <y>127</y>
+    </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_select_profession()</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>