4
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
|
2 |
<ui version="4.0">
|
|
3 |
<class>MainWindow</class>
|
|
4 |
<widget class="QMainWindow" name="MainWindow">
|
|
5 |
<property name="geometry">
|
|
6 |
<rect>
|
|
7 |
<x>0</x>
|
|
8 |
<y>0</y>
|
|
9 |
<width>361</width>
|
|
10 |
<height>640</height>
|
|
11 |
</rect>
|
|
12 |
</property>
|
|
13 |
<property name="windowTitle">
|
|
14 |
<string>MainWindow</string>
|
|
15 |
</property>
|
7
|
16 |
<widget class="QWidget" name="centralWidget">
|
12
|
17 |
<widget class="QWidget" name="layoutWidget">
|
7
|
18 |
<property name="geometry">
|
|
19 |
<rect>
|
12
|
20 |
<x>0</x>
|
15
|
21 |
<y>10</y>
|
|
22 |
<width>221</width>
|
|
23 |
<height>351</height>
|
7
|
24 |
</rect>
|
|
25 |
</property>
|
|
26 |
<layout class="QVBoxLayout" name="verticalLayout">
|
|
27 |
<item>
|
12
|
28 |
<widget class="QLabel" name="header">
|
7
|
29 |
<property name="font">
|
|
30 |
<font>
|
|
31 |
<pointsize>14</pointsize>
|
|
32 |
</font>
|
|
33 |
</property>
|
|
34 |
<property name="text">
|
|
35 |
<string>Nutrition information</string>
|
|
36 |
</property>
|
|
37 |
</widget>
|
|
38 |
</item>
|
|
39 |
<item>
|
12
|
40 |
<widget class="Line" name="line">
|
|
41 |
<property name="orientation">
|
|
42 |
<enum>Qt::Horizontal</enum>
|
|
43 |
</property>
|
|
44 |
</widget>
|
|
45 |
</item>
|
|
46 |
<item>
|
|
47 |
<widget class="QLabel" name="amountServing">
|
|
48 |
<property name="text">
|
|
49 |
<string> Amount per serving</string>
|
|
50 |
</property>
|
|
51 |
<property name="alignment">
|
|
52 |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
53 |
</property>
|
|
54 |
</widget>
|
|
55 |
</item>
|
|
56 |
<item>
|
15
|
57 |
<widget class="QTableWidget" name="tableWidget">
|
|
58 |
<property name="autoScroll">
|
|
59 |
<bool>false</bool>
|
|
60 |
</property>
|
|
61 |
<property name="editTriggers">
|
|
62 |
<set>QAbstractItemView::NoEditTriggers</set>
|
|
63 |
</property>
|
|
64 |
<property name="rowCount">
|
|
65 |
<number>6</number>
|
|
66 |
</property>
|
|
67 |
<property name="columnCount">
|
|
68 |
<number>2</number>
|
|
69 |
</property>
|
|
70 |
<attribute name="horizontalHeaderVisible">
|
|
71 |
<bool>false</bool>
|
|
72 |
</attribute>
|
|
73 |
<attribute name="verticalHeaderVisible">
|
|
74 |
<bool>false</bool>
|
|
75 |
</attribute>
|
|
76 |
<attribute name="verticalHeaderVisible">
|
|
77 |
<bool>false</bool>
|
|
78 |
</attribute>
|
|
79 |
<attribute name="horizontalHeaderVisible">
|
|
80 |
<bool>false</bool>
|
|
81 |
</attribute>
|
|
82 |
<row/>
|
|
83 |
<row/>
|
|
84 |
<row/>
|
|
85 |
<row/>
|
|
86 |
<row/>
|
|
87 |
<row/>
|
|
88 |
<column/>
|
|
89 |
<column/>
|
|
90 |
<item row="0" column="0">
|
|
91 |
<property name="text">
|
|
92 |
<string>Calories</string>
|
|
93 |
</property>
|
|
94 |
</item>
|
|
95 |
<item row="1" column="0">
|
|
96 |
<property name="text">
|
|
97 |
<string>Total Fat</string>
|
|
98 |
</property>
|
|
99 |
</item>
|
|
100 |
<item row="2" column="0">
|
|
101 |
<property name="text">
|
|
102 |
<string>Total Protein</string>
|
|
103 |
</property>
|
|
104 |
</item>
|
|
105 |
<item row="3" column="0">
|
|
106 |
<property name="text">
|
|
107 |
<string>Omega-3</string>
|
|
108 |
</property>
|
|
109 |
</item>
|
|
110 |
<item row="4" column="0">
|
|
111 |
<property name="text">
|
|
112 |
<string>Cholesterol</string>
|
|
113 |
</property>
|
|
114 |
</item>
|
|
115 |
<item row="5" column="0">
|
|
116 |
<property name="text">
|
|
117 |
<string>Sodium</string>
|
|
118 |
</property>
|
|
119 |
</item>
|
|
120 |
</widget>
|
7
|
121 |
</item>
|
|
122 |
<item>
|
12
|
123 |
<widget class="QLabel" name="usda">
|
7
|
124 |
<property name="text">
|
|
125 |
<string>Source: USDA</string>
|
|
126 |
</property>
|
|
127 |
</widget>
|
|
128 |
</item>
|
|
129 |
</layout>
|
|
130 |
</widget>
|
|
131 |
</widget>
|
4
|
132 |
<widget class="QMenuBar" name="menuBar">
|
|
133 |
<property name="geometry">
|
|
134 |
<rect>
|
|
135 |
<x>0</x>
|
|
136 |
<y>0</y>
|
|
137 |
<width>361</width>
|
15
|
138 |
<height>21</height>
|
4
|
139 |
</rect>
|
|
140 |
</property>
|
|
141 |
</widget>
|
|
142 |
<widget class="QToolBar" name="mainToolBar">
|
|
143 |
<attribute name="toolBarArea">
|
|
144 |
<enum>TopToolBarArea</enum>
|
|
145 |
</attribute>
|
|
146 |
<attribute name="toolBarBreak">
|
|
147 |
<bool>false</bool>
|
|
148 |
</attribute>
|
|
149 |
</widget>
|
|
150 |
<widget class="QStatusBar" name="statusBar"/>
|
|
151 |
</widget>
|
|
152 |
<layoutdefault spacing="6" margin="11"/>
|
|
153 |
<resources/>
|
|
154 |
<connections/>
|
|
155 |
</ui>
|