Added about box and application icon
[biaweb_qt.git] / main_window.ui
index 36b25cd..2c64fee 100644 (file)
   <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">
   <tabstop>categories</tabstop>
   <tabstop>articles</tabstop>
  </tabstops>
- <resources/>
+ <resources>
+  <include location="../../projects/BiaWeb_Qt/biaweb_rc.qrc"/>
+ </resources>
  <connections>
   <connection>
    <sender>actionNew_site</sender>
     </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>onArticleItemActivated()</slot>
   <slot>onTemplates()</slot>
   <slot>onGenerateSite()</slot>
+  <slot>onAbout()</slot>
  </slots>
 </ui>