Changes to templates to include e-mail as a link
[biacv.git] / biacv_mainwindow.ui
index 13de132..57b1074 100644 (file)
   <property name="windowTitle">
    <string>BiaCV</string>
   </property>
+  <property name="windowIcon">
+   <iconset resource="biacv_res.qrc">
+    <normaloff>:/icon/res/icon.svg</normaloff>:/icon/res/icon.svg</iconset>
+  </property>
   <widget class="QWidget" name="centralwidget">
    <layout class="QGridLayout" name="gridLayout_2">
     <item row="0" column="0">
     </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>
@@ -41,7 +51,7 @@
         <string>Personal information</string>
        </attribute>
        <layout class="QGridLayout" name="gridLayout">
-        <item row="0" column="4" colspan="3">
+        <item row="0" column="4">
          <widget class="QLabel" name="label_13">
           <property name="sizePolicy">
            <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
@@ -54,7 +64,7 @@
           </property>
          </widget>
         </item>
-        <item row="0" column="8" colspan="4">
+        <item row="0" column="8" colspan="2">
          <widget class="QLabel" name="label_14">
           <property name="sizePolicy">
            <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
@@ -67,7 +77,7 @@
           </property>
          </widget>
         </item>
-        <item row="1" column="0" colspan="2">
+        <item row="1" column="0">
          <widget class="QLabel" name="label_2">
           <property name="text">
            <string>Title</string>
           </item>
          </widget>
         </item>
-        <item row="1" column="4" colspan="3">
+        <item row="1" column="4" colspan="2">
          <widget class="QLineEdit" name="firstname">
           <property name="text">
            <string/>
           </property>
          </widget>
         </item>
-        <item row="2" column="0" colspan="3">
+        <item row="2" column="0" colspan="2">
          <widget class="QLabel" name="label_3">
           <property name="text">
            <string>Date of birth</string>
           </property>
          </widget>
         </item>
-        <item row="2" column="3" colspan="3">
+        <item row="2" column="3" colspan="2">
          <widget class="QDateEdit" name="dateofbirth">
           <property name="date">
            <date>
           </property>
          </widget>
         </item>
-        <item row="4" column="1" colspan="5">
+        <item row="4" column="1" colspan="4">
          <widget class="QLineEdit" name="street"/>
         </item>
-        <item row="4" column="6">
+        <item row="4" column="5">
          <widget class="QLabel" name="label_5">
           <property name="text">
            <string>Landline</string>
           </property>
          </widget>
         </item>
-        <item row="5" column="1" colspan="5">
+        <item row="5" column="1" colspan="4">
          <widget class="QLineEdit" name="area"/>
         </item>
-        <item row="5" column="6" colspan="2">
+        <item row="5" column="5" colspan="3">
          <widget class="QLabel" name="label_7">
           <property name="text">
            <string>Mobile number</string>
           </property>
          </widget>
         </item>
-        <item row="6" column="1" colspan="5">
+        <item row="6" column="1" colspan="4">
          <widget class="QLineEdit" name="city"/>
         </item>
-        <item row="6" column="6">
+        <item row="6" column="5">
          <widget class="QLabel" name="label_11">
           <property name="text">
            <string>E-mail ID</string>
           </property>
          </widget>
         </item>
-        <item row="6" column="7" colspan="5">
+        <item row="6" column="6" colspan="6">
          <widget class="QLineEdit" name="email"/>
         </item>
         <item row="7" column="0">
           </property>
          </widget>
         </item>
-        <item row="7" column="1" colspan="5">
+        <item row="7" column="1" colspan="4">
          <widget class="QLineEdit" name="areacode"/>
         </item>
+        <item row="7" column="5" colspan="2">
+         <widget class="QLabel" name="label_37">
+          <property name="text">
+           <string>Country</string>
+          </property>
+         </widget>
+        </item>
+        <item row="7" column="7" colspan="5">
+         <widget class="QLineEdit" name="country"/>
+        </item>
         <item row="8" column="0" colspan="3">
          <widget class="QLabel" name="label_12">
           <property name="text">
           </property>
          </widget>
         </item>
-        <item row="8" column="5" colspan="2">
+        <item row="8" column="5">
          <widget class="QRadioButton" name="unspecified">
           <property name="text">
            <string>Unspecified</string>
         </item>
        </layout>
       </widget>
+      <widget class="QWidget" name="tab_7">
+       <attribute name="title">
+        <string>Profile</string>
+       </attribute>
+       <layout class="QGridLayout" name="gridLayout_9">
+        <item row="0" column="0">
+         <widget class="QLabel" name="label_38">
+          <property name="text">
+           <string>Profile main highlights (one per line)</string>
+          </property>
+         </widget>
+        </item>
+        <item row="1" column="0">
+         <widget class="QPlainTextEdit" name="profile">
+          <property name="verticalScrollBarPolicy">
+           <enum>Qt::ScrollBarAlwaysOn</enum>
+          </property>
+         </widget>
+        </item>
+       </layout>
+      </widget>
       <widget class="QWidget" name="tab_2">
        <attribute name="title">
         <string>Educational Qualifications</string>
     <property name="title">
      <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>
-     <addaction name="action_HTML"/>
-     <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="action_Export"/>
     <addaction name="separator"/>
     <addaction name="actionE_xit"/>
    </widget>
     <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>
     <string>Show program information</string>
    </property>
   </action>
+  <action name="action_Export">
+   <property name="text">
+    <string>&amp;Export...</string>
+   </property>
+   <property name="statusTip">
+    <string>Export the current document using templates to other formats</string>
+   </property>
+  </action>
  </widget>
- <resources/>
+ <resources>
+  <include location="biacv_res.qrc"/>
+ </resources>
  <connections>
   <connection>
    <sender>addeducation</sender>
    <slot>on_add_education()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>426</x>
-     <y>189</y>
+     <x>430</x>
+     <y>212</y>
     </hint>
     <hint type="destinationlabel">
      <x>730</x>
    <slot>on_delete_education()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>658</x>
-     <y>189</y>
+     <x>662</x>
+     <y>212</y>
     </hint>
     <hint type="destinationlabel">
      <x>728</x>
    <slot>on_select_education()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>100</x>
-     <y>217</y>
+     <x>104</x>
+     <y>293</y>
     </hint>
     <hint type="destinationlabel">
      <x>726</x>
    <slot>on_update_education()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>579</x>
-     <y>189</y>
+     <x>583</x>
+     <y>212</y>
     </hint>
     <hint type="destinationlabel">
      <x>728</x>
    <slot>on_select_education()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>100</x>
-     <y>217</y>
+     <x>104</x>
+     <y>293</y>
     </hint>
     <hint type="destinationlabel">
      <x>729</x>
    <slot>on_change_currentemployment()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>328</x>
-     <y>136</y>
+     <x>332</x>
+     <y>156</y>
     </hint>
     <hint type="destinationlabel">
      <x>728</x>
    <slot>on_add_profession()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>309</x>
-     <y>216</y>
+     <x>313</x>
+     <y>239</y>
     </hint>
     <hint type="destinationlabel">
      <x>729</x>
    <slot>on_select_profession()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>99</x>
-     <y>244</y>
+     <x>103</x>
+     <y>320</y>
     </hint>
     <hint type="destinationlabel">
      <x>727</x>
    <slot>on_select_profession()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>99</x>
-     <y>244</y>
+     <x>103</x>
+     <y>320</y>
     </hint>
     <hint type="destinationlabel">
      <x>729</x>
    <slot>on_delete_profession()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>596</x>
-     <y>216</y>
+     <x>600</x>
+     <y>239</y>
     </hint>
     <hint type="destinationlabel">
      <x>729</x>
    <slot>on_update_profession()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>453</x>
-     <y>216</y>
+     <x>457</x>
+     <y>239</y>
     </hint>
     <hint type="destinationlabel">
      <x>726</x>
    <slot>on_add_skill()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>207</x>
-     <y>234</y>
+     <x>211</x>
+     <y>255</y>
     </hint>
     <hint type="destinationlabel">
      <x>730</x>
    <slot>on_delete_skill()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>566</x>
-     <y>234</y>
+     <x>570</x>
+     <y>255</y>
     </hint>
     <hint type="destinationlabel">
      <x>728</x>
    <slot>on_select_skill()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>99</x>
-     <y>261</y>
+     <x>103</x>
+     <y>338</y>
     </hint>
     <hint type="destinationlabel">
      <x>730</x>
    <slot>on_select_skill()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>99</x>
-     <y>261</y>
+     <x>103</x>
+     <y>338</y>
     </hint>
     <hint type="destinationlabel">
      <x>726</x>
    <slot>on_update_skill()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>386</x>
-     <y>234</y>
+     <x>390</x>
+     <y>255</y>
     </hint>
     <hint type="destinationlabel">
      <x>728</x>
    <slot>on_add_lang()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>547</x>
+     <x>551</x>
      <y>155</y>
     </hint>
     <hint type="destinationlabel">
    <slot>on_select_lang()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>112</x>
-     <y>189</y>
+     <x>116</x>
+     <y>266</y>
     </hint>
     <hint type="destinationlabel">
      <x>730</x>
    <slot>on_select_lang()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>112</x>
-     <y>189</y>
+     <x>116</x>
+     <y>266</y>
     </hint>
     <hint type="destinationlabel">
      <x>730</x>
    <slot>on_document_modified()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>480</x>
+     <x>182</x>
      <y>41</y>
     </hint>
     <hint type="destinationlabel">
    <slot>on_document_modified()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>223</x>
-     <y>186</y>
+     <x>243</x>
+     <y>197</y>
     </hint>
     <hint type="destinationlabel">
      <x>538</x>
    <slot>on_document_modified()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>170</x>
-     <y>265</y>
+     <x>231</x>
+     <y>275</y>
     </hint>
     <hint type="destinationlabel">
      <x>196</x>
    <slot>on_document_modified()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>437</x>
-     <y>268</y>
+     <x>433</x>
+     <y>275</y>
     </hint>
     <hint type="destinationlabel">
      <x>88</x>
    <slot>on_document_modified()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>527</x>
-     <y>264</y>
+     <x>721</x>
+     <y>275</y>
     </hint>
     <hint type="destinationlabel">
      <x>165</x>
    <slot>on_document_modified()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>204</x>
-     <y>305</y>
+     <x>243</x>
+     <y>318</y>
     </hint>
     <hint type="destinationlabel">
      <x>-1</x>
    <slot>on_document_modified()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>409</x>
-     <y>309</y>
+     <x>433</x>
+     <y>318</y>
     </hint>
     <hint type="destinationlabel">
      <x>575</x>
    <slot>on_document_modified()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>588</x>
-     <y>305</y>
+     <x>721</x>
+     <y>318</y>
     </hint>
     <hint type="destinationlabel">
      <x>0</x>
    <slot>on_document_modified()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>93</x>
-     <y>356</y>
+     <x>154</x>
+     <y>361</y>
     </hint>
     <hint type="destinationlabel">
      <x>-3</x>
    <slot>on_document_modified()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>372</x>
-     <y>351</y>
+     <x>660</x>
+     <y>361</y>
     </hint>
     <hint type="destinationlabel">
      <x>2</x>
    <slot>on_document_modified()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>118</x>
-     <y>396</y>
+     <x>179</x>
+     <y>404</y>
     </hint>
     <hint type="destinationlabel">
      <x>0</x>
    <slot>on_document_modified()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>149</x>
-     <y>436</y>
+     <x>172</x>
+     <y>445</y>
     </hint>
     <hint type="destinationlabel">
      <x>1</x>
    <slot>on_document_modified()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>212</x>
-     <y>431</y>
+     <x>240</x>
+     <y>445</y>
     </hint>
     <hint type="destinationlabel">
      <x>3</x>
    <slot>on_document_modified()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>303</x>
-     <y>436</y>
+     <x>343</x>
+     <y>445</y>
     </hint>
     <hint type="destinationlabel">
      <x>-2</x>
    <slot>on_document_modified()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>98</x>
-     <y>177</y>
+     <x>103</x>
+     <y>178</y>
     </hint>
     <hint type="destinationlabel">
      <x>0</x>
    <slot>on_document_modified()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>82</x>
-     <y>350</y>
+     <x>98</x>
+     <y>374</y>
     </hint>
     <hint type="destinationlabel">
      <x>2</x>
    <slot>on_document_modified()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>86</x>
-     <y>375</y>
+     <x>102</x>
+     <y>410</y>
     </hint>
     <hint type="destinationlabel">
      <x>1</x>
     </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>
+  <connection>
+   <sender>actionSave_As</sender>
+   <signal>triggered()</signal>
+   <receiver>biacv_mainwindow</receiver>
+   <slot>on_file_save_as()</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>actionE_xit</sender>
+   <signal>triggered()</signal>
+   <receiver>biacv_mainwindow</receiver>
+   <slot>on_exit()</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_About</sender>
+   <signal>triggered()</signal>
+   <receiver>biacv_mainwindow</receiver>
+   <slot>on_help_about()</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_Export</sender>
+   <signal>triggered()</signal>
+   <receiver>biacv_mainwindow</receiver>
+   <slot>on_file_export()</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>country</sender>
+   <signal>textChanged(QString)</signal>
+   <receiver>biacv_mainwindow</receiver>
+   <slot>on_document_modified()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>527</x>
+     <y>393</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>457</x>
+     <y>-7</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>profile</sender>
+   <signal>textChanged()</signal>
+   <receiver>biacv_mainwindow</receiver>
+   <slot>on_document_modified()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>287</x>
+     <y>242</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>461</x>
+     <y>-11</y>
+    </hint>
+   </hints>
+  </connection>
  </connections>
  <slots>
   <slot>on_add_education()</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>
+  <slot>on_file_save_as()</slot>
+  <slot>on_exit()</slot>
+  <slot>on_help_about()</slot>
+  <slot>on_file_export()</slot>
  </slots>
 </ui>