| 1 |
<ui version="4.0" > |
| 2 |
<class>IngredientPage</class> |
| 3 |
<widget class="QWidget" name="IngredientPage" > |
| 4 |
<property name="geometry" > |
| 5 |
<rect> |
| 6 |
<x>0</x> |
| 7 |
<y>0</y> |
| 8 |
<width>530</width> |
| 9 |
<height>300</height> |
| 10 |
</rect> |
| 11 |
</property> |
| 12 |
<property name="windowTitle" > |
| 13 |
<string>Form</string> |
| 14 |
</property> |
| 15 |
<layout class="QVBoxLayout" > |
| 16 |
<property name="spacing" > |
| 17 |
<number>6</number> |
| 18 |
</property> |
| 19 |
<property name="margin" > |
| 20 |
<number>6</number> |
| 21 |
</property> |
| 22 |
<item> |
| 23 |
<widget class="IngredientView" name="view" > |
| 24 |
<property name="selectionMode" > |
| 25 |
<enum>QAbstractItemView::SingleSelection</enum> |
| 26 |
</property> |
| 27 |
<property name="selectionBehavior" > |
| 28 |
<enum>QAbstractItemView::SelectRows</enum> |
| 29 |
</property> |
| 30 |
</widget> |
| 31 |
</item> |
| 32 |
<item> |
| 33 |
<layout class="QHBoxLayout" > |
| 34 |
<property name="spacing" > |
| 35 |
<number>6</number> |
| 36 |
</property> |
| 37 |
<property name="margin" > |
| 38 |
<number>0</number> |
| 39 |
</property> |
| 40 |
<item> |
| 41 |
<spacer> |
| 42 |
<property name="orientation" > |
| 43 |
<enum>Qt::Horizontal</enum> |
| 44 |
</property> |
| 45 |
<property name="sizeHint" > |
| 46 |
<size> |
| 47 |
<width>40</width> |
| 48 |
<height>20</height> |
| 49 |
</size> |
| 50 |
</property> |
| 51 |
</spacer> |
| 52 |
</item> |
| 53 |
<item> |
| 54 |
<widget class="QToolButton" name="addbutton" > |
| 55 |
<property name="toolTip" > |
| 56 |
<string>Add ingredient</string> |
| 57 |
</property> |
| 58 |
<property name="whatsThis" > |
| 59 |
<string>Use this button to add a new ingredient to the recipe</string> |
| 60 |
</property> |
| 61 |
<property name="text" > |
| 62 |
<string>...</string> |
| 63 |
</property> |
| 64 |
<property name="icon" > |
| 65 |
<iconset resource="../qbrew.qrc" >:/pics/icons/plus.png</iconset> |
| 66 |
</property> |
| 67 |
</widget> |
| 68 |
</item> |
| 69 |
<item> |
| 70 |
<widget class="QToolButton" name="removebutton" > |
| 71 |
<property name="toolTip" > |
| 72 |
<string>Remove ingredient</string> |
| 73 |
</property> |
| 74 |
<property name="whatsThis" > |
| 75 |
<string>Use this button to remove the currently selected ingredient</string> |
| 76 |
</property> |
| 77 |
<property name="text" > |
| 78 |
<string>...</string> |
| 79 |
</property> |
| 80 |
<property name="icon" > |
| 81 |
<iconset resource="../qbrew.qrc" >:/pics/icons/minus.png</iconset> |
| 82 |
</property> |
| 83 |
</widget> |
| 84 |
</item> |
| 85 |
</layout> |
| 86 |
</item> |
| 87 |
</layout> |
| 88 |
</widget> |
| 89 |
<customwidgets> |
| 90 |
<customwidget> |
| 91 |
<class>IngredientView</class> |
| 92 |
<extends>QTableView</extends> |
| 93 |
<header>ingredientview.h</header> |
| 94 |
</customwidget> |
| 95 |
</customwidgets> |
| 96 |
<tabstops> |
| 97 |
<tabstop>view</tabstop> |
| 98 |
</tabstops> |
| 99 |
<resources> |
| 100 |
<include location="../qbrew.qrc" /> |
| 101 |
</resources> |
| 102 |
<connections/> |
| 103 |
</ui> |