Minor: Fixed return value
[biaweb_qt.git] / main_window.ui
index 3808477..2c64fee 100644 (file)
@@ -6,13 +6,17 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>633</width>
-    <height>458</height>
+    <width>798</width>
+    <height>517</height>
    </rect>
   </property>
   <property name="windowTitle">
    <string>BiaWeb - Static Website Content Manager</string>
   </property>
+  <property name="windowIcon">
+   <iconset resource="../../projects/BiaWeb_Qt/biaweb_rc.qrc">
+    <normaloff>:/bia/resources/icon.png</normaloff>:/bia/resources/icon.png</iconset>
+  </property>
   <widget class="QWidget" name="centralwidget">
    <layout class="QGridLayout" name="gridLayout">
     <item row="0" column="0">
@@ -88,7 +92,7 @@
     <rect>
      <x>0</x>
      <y>0</y>
-     <width>633</width>
+     <width>798</width>
      <height>25</height>
     </rect>
    </property>
       <string>&amp;Export web</string>
      </property>
      <addaction name="action_Generate_Site"/>
-     <addaction name="actionGenerate_Search_Index"/>
     </widget>
     <addaction name="actionNew_site"/>
     <addaction name="action_Open_site"/>
    </property>
   </action>
  </widget>
- <resources/>
+ <tabstops>
+  <tabstop>categories</tabstop>
+  <tabstop>articles</tabstop>
+ </tabstops>
+ <resources>
+  <include location="../../projects/BiaWeb_Qt/biaweb_rc.qrc"/>
+ </resources>
  <connections>
   <connection>
    <sender>actionNew_site</sender>
     </hint>
    </hints>
   </connection>
+  <connection>
+   <sender>categories</sender>
+   <signal>itemActivated(QTreeWidgetItem*,int)</signal>
+   <receiver>MainWindow</receiver>
+   <slot>onCategoryItemActivated()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>212</x>
+     <y>156</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>276</x>
+     <y>272</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>articles</sender>
+   <signal>itemActivated(QTreeWidgetItem*,int)</signal>
+   <receiver>MainWindow</receiver>
+   <slot>onArticleItemActivated()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>338</x>
+     <y>342</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>280</x>
+     <y>347</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>actionTemplates</sender>
+   <signal>triggered()</signal>
+   <receiver>MainWindow</receiver>
+   <slot>onTemplates()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>-1</x>
+     <y>-1</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>398</x>
+     <y>258</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>action_Generate_Site</sender>
+   <signal>triggered()</signal>
+   <receiver>MainWindow</receiver>
+   <slot>onGenerateSite()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>-1</x>
+     <y>-1</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>398</x>
+     <y>258</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>action_About</sender>
+   <signal>triggered()</signal>
+   <receiver>MainWindow</receiver>
+   <slot>onAbout()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>-1</x>
+     <y>-1</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>398</x>
+     <y>258</y>
+    </hint>
+   </hints>
+  </connection>
  </connections>
  <slots>
   <slot>onFileNew()</slot>
   <slot>onArticleAdd()</slot>
   <slot>onArticleEdit()</slot>
   <slot>onArticleDelete()</slot>
+  <slot>onCategoryItemActivated()</slot>
+  <slot>onArticleItemActivated()</slot>
+  <slot>onTemplates()</slot>
+  <slot>onGenerateSite()</slot>
+  <slot>onAbout()</slot>
  </slots>
 </ui>