File save function implemented
[biacv.git] / biacv_mainwindow.ui
index 844088e..bb93608 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>
     </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>
  </connections>
  <slots>
   <slot>on_add_education()</slot>
   <slot>on_update_lang()</slot>
   <slot>on_document_modified()</slot>
   <slot>on_file_new()</slot>
+  <slot>on_file_save()</slot>
  </slots>
 </ui>