Connected PC GUI to model
[family-shop-mgr] / code / family-shop-mgr / GUI / FamilyShopManagerPC.ui
index fb6b0b8..afdb000 100644 (file)
@@ -1,7 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
 <ui version="4.0">
+ <author>Unai IRIGOYEN</author>
  <class>FamilyShopManagerPC</class>
- <widget class="QMainWindow" name="FamilyShopManagerPC" >
-  <property name="geometry" >
+ <widget class="QMainWindow" name="FamilyShopManagerPC">
+  <property name="geometry">
    <rect>
     <x>0</x>
     <y>0</y>
     <height>400</height>
    </rect>
   </property>
-  <property name="windowTitle" >
-   <string>FamilyShopManagerPC</string>
+  <property name="windowTitle">
+   <string>Family shopping manager</string>
   </property>
-  <widget class="QMenuBar" name="menuBar" />
-  <widget class="QToolBar" name="mainToolBar" />
-  <widget class="QWidget" name="centralWidget" />
-  <widget class="QStatusBar" name="statusBar" />
+  <property name="locale">
+   <locale language="English" country="UnitedStates"/>
+  </property>
+  <widget class="QWidget" name="centralWidget">
+   <layout class="QVBoxLayout" name="verticalLayout">
+    <item>
+     <widget class="QScrollArea" name="scrollArea">
+      <property name="widgetResizable">
+       <bool>true</bool>
+      </property>
+      <widget class="QWidget" name="scrollAreaWidgetContents">
+       <property name="geometry">
+        <rect>
+         <x>0</x>
+         <y>0</y>
+         <width>586</width>
+         <height>327</height>
+        </rect>
+       </property>
+       <layout class="QVBoxLayout" name="verticalLayout_2">
+        <item>
+         <widget class="QTreeView" name="listTreeView"/>
+        </item>
+       </layout>
+      </widget>
+     </widget>
+    </item>
+   </layout>
+  </widget>
+  <widget class="QMenuBar" name="menuBar">
+   <property name="geometry">
+    <rect>
+     <x>0</x>
+     <y>0</y>
+     <width>600</width>
+     <height>18</height>
+    </rect>
+   </property>
+  </widget>
+  <widget class="QToolBar" name="mainToolBar">
+   <attribute name="toolBarArea">
+    <enum>TopToolBarArea</enum>
+   </attribute>
+   <attribute name="toolBarBreak">
+    <bool>false</bool>
+   </attribute>
+   <addaction name="actionEdit_shopping_list"/>
+   <addaction name="actionGo_shopping"/>
+   <addaction name="actionAdd_category"/>
+   <addaction name="actionAdd_item"/>
+   <addaction name="actionRemove"/>
+  </widget>
+  <widget class="QStatusBar" name="statusBar"/>
+  <action name="actionEdit_shopping_list">
+   <property name="text">
+    <string>Edit shopping list</string>
+   </property>
+  </action>
+  <action name="actionGo_shopping">
+   <property name="text">
+    <string>Go shopping!</string>
+   </property>
+  </action>
+  <action name="actionAdd_category">
+   <property name="text">
+    <string>Add category</string>
+   </property>
+  </action>
+  <action name="actionAdd_item">
+   <property name="text">
+    <string>Add item</string>
+   </property>
+  </action>
+  <action name="actionRemove">
+   <property name="text">
+    <string>Remove</string>
+   </property>
+  </action>
  </widget>
- <layoutDefault spacing="6" margin="11" />
- <pixmapfunction></pixmapfunction>
+ <layoutdefault spacing="6" margin="11"/>
  <resources/>
  <connections/>
 </ui>