File open functionality implemented
[biacv.git] / biacv_mainwindow.ui
index dac093c..9670324 100644 (file)
     </item>
     <item row="1" column="0" colspan="2">
      <widget class="QTabWidget" name="pages">
+      <property name="autoFillBackground">
+       <bool>false</bool>
+      </property>
       <property name="tabShape">
        <enum>QTabWidget::Rounded</enum>
       </property>
       <property name="currentIndex">
        <number>0</number>
       </property>
+      <property name="usesScrollButtons">
+       <bool>true</bool>
+      </property>
       <property name="documentMode">
        <bool>true</bool>
       </property>
      <addaction name="actionOpenDocument_ODT"/>
     </widget>
     <addaction name="action_New"/>
-    <addaction name="action_Save"/>
+    <addaction name="action_Open"/>
     <addaction name="separator"/>
-    <addaction name="action_Save_2"/>
+    <addaction name="action_Save"/>
     <addaction name="actionSave_As"/>
     <addaction name="menu_Export"/>
     <addaction name="separator"/>
     <string>Create a new file</string>
    </property>
   </action>
-  <action name="action_Save">
+  <action name="action_Open">
    <property name="text">
     <string>&amp;Open...</string>
    </property>
     <string>Open an existing file</string>
    </property>
   </action>
-  <action name="action_Save_2">
+  <action name="action_Save">
    <property name="text">
     <string>&amp;Save</string>
    </property>
    <slot>on_add_education()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>534</x>
-     <y>198</y>
+     <x>426</x>
+     <y>189</y>
     </hint>
     <hint type="destinationlabel">
      <x>730</x>
    <slot>on_delete_education()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>677</x>
-     <y>198</y>
+     <x>658</x>
+     <y>189</y>
     </hint>
     <hint type="destinationlabel">
      <x>728</x>
    <slot>on_select_education()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>281</x>
-     <y>290</y>
+     <x>100</x>
+     <y>217</y>
     </hint>
     <hint type="destinationlabel">
      <x>726</x>
    <slot>on_update_education()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>608</x>
-     <y>202</y>
+     <x>579</x>
+     <y>189</y>
     </hint>
     <hint type="destinationlabel">
      <x>728</x>
    <slot>on_select_education()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>648</x>
-     <y>303</y>
+     <x>100</x>
+     <y>217</y>
     </hint>
     <hint type="destinationlabel">
      <x>729</x>
    <slot>on_change_currentemployment()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>368</x>
-     <y>140</y>
+     <x>328</x>
+     <y>136</y>
     </hint>
     <hint type="destinationlabel">
      <x>728</x>
    <slot>on_add_profession()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>391</x>
-     <y>222</y>
+     <x>309</x>
+     <y>216</y>
     </hint>
     <hint type="destinationlabel">
      <x>729</x>
    <slot>on_select_profession()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>553</x>
-     <y>351</y>
+     <x>99</x>
+     <y>244</y>
     </hint>
     <hint type="destinationlabel">
      <x>727</x>
    <slot>on_select_profession()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>420</x>
-     <y>323</y>
+     <x>99</x>
+     <y>244</y>
     </hint>
     <hint type="destinationlabel">
      <x>729</x>
    <slot>on_delete_profession()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>621</x>
-     <y>223</y>
+     <x>596</x>
+     <y>216</y>
     </hint>
     <hint type="destinationlabel">
      <x>729</x>
    <slot>on_update_profession()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>510</x>
-     <y>230</y>
+     <x>453</x>
+     <y>216</y>
     </hint>
     <hint type="destinationlabel">
      <x>726</x>
    <slot>on_add_skill()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>307</x>
-     <y>240</y>
+     <x>207</x>
+     <y>234</y>
     </hint>
     <hint type="destinationlabel">
      <x>730</x>
    <slot>on_delete_skill()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>598</x>
-     <y>238</y>
+     <x>566</x>
+     <y>234</y>
     </hint>
     <hint type="destinationlabel">
      <x>728</x>
    <slot>on_select_skill()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>453</x>
-     <y>359</y>
+     <x>99</x>
+     <y>261</y>
     </hint>
     <hint type="destinationlabel">
      <x>730</x>
    <slot>on_select_skill()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>602</x>
-     <y>331</y>
+     <x>99</x>
+     <y>261</y>
     </hint>
     <hint type="destinationlabel">
      <x>726</x>
    <slot>on_update_skill()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>437</x>
-     <y>243</y>
+     <x>386</x>
+     <y>234</y>
     </hint>
     <hint type="destinationlabel">
      <x>728</x>
    <slot>on_add_lang()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>545</x>
-     <y>138</y>
+     <x>468</x>
+     <y>132</y>
     </hint>
     <hint type="destinationlabel">
      <x>729</x>
    <slot>on_delete_lang()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>687</x>
-     <y>142</y>
+     <x>656</x>
+     <y>132</y>
     </hint>
     <hint type="destinationlabel">
      <x>733</x>
     </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>94</x>
+     <y>160</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>94</x>
+     <y>160</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>591</x>
+     <y>132</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>729</x>
+     <y>462</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>title</sender>
+   <signal>textChanged(QString)</signal>
+   <receiver>biacv_mainwindow</receiver>
+   <slot>on_document_modified()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>480</x>
+     <y>41</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>728</x>
+     <y>28</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>nametitle</sender>
+   <signal>textChanged(QString)</signal>
+   <receiver>biacv_mainwindow</receiver>
+   <slot>on_document_modified()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>132</x>
+     <y>144</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>3</x>
+     <y>470</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>firstname</sender>
+   <signal>textChanged(QString)</signal>
+   <receiver>biacv_mainwindow</receiver>
+   <slot>on_document_modified()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>267</x>
+     <y>145</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>29</x>
+     <y>475</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>lastname</sender>
+   <signal>textChanged(QString)</signal>
+   <receiver>biacv_mainwindow</receiver>
+   <slot>on_document_modified()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>479</x>
+     <y>142</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>1</x>
+     <y>452</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>dateofbirth</sender>
+   <signal>dateChanged(QDate)</signal>
+   <receiver>biacv_mainwindow</receiver>
+   <slot>on_document_modified()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>223</x>
+     <y>186</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>538</x>
+     <y>23</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>street</sender>
+   <signal>textChanged(QString)</signal>
+   <receiver>biacv_mainwindow</receiver>
+   <slot>on_document_modified()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>170</x>
+     <y>265</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>196</x>
+     <y>23</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>countrycode_landline</sender>
+   <signal>textChanged(QString)</signal>
+   <receiver>biacv_mainwindow</receiver>
+   <slot>on_document_modified()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>437</x>
+     <y>268</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>88</x>
+     <y>24</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>telephone</sender>
+   <signal>textChanged(QString)</signal>
+   <receiver>biacv_mainwindow</receiver>
+   <slot>on_document_modified()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>527</x>
+     <y>264</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>165</x>
+     <y>-2</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>area</sender>
+   <signal>textChanged(QString)</signal>
+   <receiver>biacv_mainwindow</receiver>
+   <slot>on_document_modified()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>204</x>
+     <y>305</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>-1</x>
+     <y>50</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>countrycode_mobile</sender>
+   <signal>textChanged(QString)</signal>
+   <receiver>biacv_mainwindow</receiver>
+   <slot>on_document_modified()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>409</x>
+     <y>309</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>575</x>
+     <y>51</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>mobilenumber</sender>
+   <signal>textChanged(QString)</signal>
+   <receiver>biacv_mainwindow</receiver>
+   <slot>on_document_modified()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>588</x>
+     <y>305</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>0</x>
+     <y>89</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>city</sender>
+   <signal>textChanged(QString)</signal>
+   <receiver>biacv_mainwindow</receiver>
+   <slot>on_document_modified()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>93</x>
+     <y>356</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>-3</x>
+     <y>171</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>email</sender>
+   <signal>textChanged(QString)</signal>
+   <receiver>biacv_mainwindow</receiver>
+   <slot>on_document_modified()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>372</x>
+     <y>351</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>2</x>
+     <y>203</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>areacode</sender>
+   <signal>textChanged(QString)</signal>
+   <receiver>biacv_mainwindow</receiver>
+   <slot>on_document_modified()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>118</x>
+     <y>396</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>0</x>
+     <y>273</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>married</sender>
+   <signal>toggled(bool)</signal>
+   <receiver>biacv_mainwindow</receiver>
+   <slot>on_document_modified()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>149</x>
+     <y>436</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>1</x>
+     <y>327</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>single</sender>
+   <signal>toggled(bool)</signal>
+   <receiver>biacv_mainwindow</receiver>
+   <slot>on_document_modified()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>212</x>
+     <y>431</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>3</x>
+     <y>237</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>unspecified</sender>
+   <signal>toggled(bool)</signal>
+   <receiver>biacv_mainwindow</receiver>
+   <slot>on_document_modified()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>303</x>
+     <y>436</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>-2</x>
+     <y>137</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>shorttermcareer</sender>
+   <signal>textChanged()</signal>
+   <receiver>biacv_mainwindow</receiver>
+   <slot>on_document_modified()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>99</x>
+     <y>101</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>0</x>
+     <y>120</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>longtermgoals</sender>
+   <signal>textChanged()</signal>
+   <receiver>biacv_mainwindow</receiver>
+   <slot>on_document_modified()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>86</x>
+     <y>297</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>2</x>
+     <y>443</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>additionalinformation</sender>
+   <signal>textChanged()</signal>
+   <receiver>biacv_mainwindow</receiver>
+   <slot>on_document_modified()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>90</x>
+     <y>333</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>1</x>
+     <y>377</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>action_New</sender>
+   <signal>triggered()</signal>
+   <receiver>biacv_mainwindow</receiver>
+   <slot>on_file_new()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>-1</x>
+     <y>-1</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>364</x>
+     <y>248</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>action_Save</sender>
+   <signal>triggered()</signal>
+   <receiver>biacv_mainwindow</receiver>
+   <slot>on_file_save()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>-1</x>
+     <y>-1</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>364</x>
+     <y>248</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>action_Open</sender>
+   <signal>triggered()</signal>
+   <receiver>biacv_mainwindow</receiver>
+   <slot>on_file_open()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>-1</x>
+     <y>-1</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>364</x>
+     <y>248</y>
+    </hint>
+   </hints>
+  </connection>
  </connections>
  <slots>
   <slot>on_add_education()</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>
+  <slot>on_document_modified()</slot>
+  <slot>on_file_new()</slot>
+  <slot>on_file_save()</slot>
+  <slot>on_file_open()</slot>
  </slots>
 </ui>