Update language in list
[biacv.git] / biacv_mainwindow.ui
index 804b43b..2aa4322 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>0</number>
       </property>
+      <property name="documentMode">
+       <bool>true</bool>
+      </property>
       <widget class="QWidget" name="tab">
        <attribute name="title">
         <string>Personal information</string>
          </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>
             <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>
          </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>
         </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>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>
+  <connection>
+   <sender>updatehistory</sender>
+   <signal>clicked()</signal>
+   <receiver>biacv_mainwindow</receiver>
+   <slot>on_update_profession()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>510</x>
+     <y>230</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>726</x>
+     <y>323</y>
+    </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_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>
+  <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>