2018-03-11 08:33:48 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>OpenRecipeDialog</class>
|
|
|
|
<widget class="QDialog" name="OpenRecipeDialog">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
2018-03-30 20:50:02 +00:00
|
|
|
<width>1064</width>
|
2018-03-11 08:33:48 +00:00
|
|
|
<height>480</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
|
|
|
<string>Open Recipe</string>
|
|
|
|
</property>
|
|
|
|
<property name="windowIcon">
|
|
|
|
<iconset resource="../images.qrc">
|
|
|
|
<normaloff>:/images/images/icon.png</normaloff>:/images/images/icon.png</iconset>
|
|
|
|
</property>
|
|
|
|
<property name="modal">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
2018-03-30 12:33:48 +00:00
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_6">
|
|
|
|
<item alignment="Qt::AlignLeft|Qt::AlignTop">
|
2018-03-11 08:33:48 +00:00
|
|
|
<widget class="QWidget" name="searchPanel" native="true">
|
2018-03-30 12:33:48 +00:00
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
|
<item alignment="Qt::AlignLeft">
|
2018-03-30 20:50:02 +00:00
|
|
|
<widget class="QTabWidget" name="tabWidget">
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>290</width>
|
|
|
|
<height>0</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="tabPosition">
|
|
|
|
<enum>QTabWidget::South</enum>
|
|
|
|
</property>
|
|
|
|
<property name="tabShape">
|
|
|
|
<enum>QTabWidget::Rounded</enum>
|
|
|
|
</property>
|
|
|
|
<property name="currentIndex">
|
|
|
|
<number>2</number>
|
|
|
|
</property>
|
|
|
|
<widget class="QWidget" name="tagsTab">
|
|
|
|
<attribute name="title">
|
|
|
|
<string>Tags</string>
|
|
|
|
</attribute>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_5">
|
|
|
|
<item>
|
|
|
|
<widget class="QListView" name="tagsListView">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Expanding">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="frameShape">
|
|
|
|
<enum>QFrame::NoFrame</enum>
|
|
|
|
</property>
|
|
|
|
<property name="selectionMode">
|
|
|
|
<enum>QAbstractItemView::ExtendedSelection</enum>
|
|
|
|
</property>
|
|
|
|
<property name="verticalScrollMode">
|
|
|
|
<enum>QAbstractItemView::ScrollPerPixel</enum>
|
|
|
|
</property>
|
|
|
|
<property name="isWrapping" stdset="0">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="wordWrap">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<widget class="QWidget" name="ingredientsTab">
|
|
|
|
<attribute name="title">
|
|
|
|
<string>Ingredients</string>
|
|
|
|
</attribute>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_6">
|
|
|
|
<item>
|
|
|
|
<widget class="QListView" name="ingredientsListView">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Expanding">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="frameShape">
|
|
|
|
<enum>QFrame::NoFrame</enum>
|
|
|
|
</property>
|
|
|
|
<property name="selectionMode">
|
|
|
|
<enum>QAbstractItemView::ExtendedSelection</enum>
|
|
|
|
</property>
|
|
|
|
<property name="verticalScrollMode">
|
|
|
|
<enum>QAbstractItemView::ScrollPerPixel</enum>
|
|
|
|
</property>
|
|
|
|
<property name="isWrapping" stdset="0">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="wordWrap">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<widget class="QWidget" name="tab">
|
|
|
|
<attribute name="title">
|
|
|
|
<string>Food Groups</string>
|
|
|
|
</attribute>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
|
|
<item>
|
|
|
|
<widget class="QListWidget" name="foodGroupsListWidget">
|
|
|
|
<property name="frameShape">
|
|
|
|
<enum>QFrame::NoFrame</enum>
|
|
|
|
</property>
|
|
|
|
<property name="selectionMode">
|
|
|
|
<enum>QAbstractItemView::ExtendedSelection</enum>
|
|
|
|
</property>
|
|
|
|
<property name="verticalScrollMode">
|
|
|
|
<enum>QAbstractItemView::ScrollPerPixel</enum>
|
|
|
|
</property>
|
|
|
|
<property name="wordWrap">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
2018-03-11 08:33:48 +00:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
2018-03-30 12:33:48 +00:00
|
|
|
<widget class="QWidget" name="nameSearchPanel" native="true">
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
2018-03-11 08:33:48 +00:00
|
|
|
<item>
|
2018-03-30 12:33:48 +00:00
|
|
|
<widget class="QLabel" name="nameLabel">
|
2018-03-11 08:33:48 +00:00
|
|
|
<property name="text">
|
2018-03-30 12:33:48 +00:00
|
|
|
<string>Name</string>
|
2018-03-11 08:33:48 +00:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
2018-03-30 12:33:48 +00:00
|
|
|
<widget class="QLineEdit" name="nameEdit"/>
|
2018-03-11 08:33:48 +00:00
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
2018-03-31 10:53:31 +00:00
|
|
|
<widget class="QPushButton" name="clearSearchButton">
|
2018-03-11 08:33:48 +00:00
|
|
|
<property name="text">
|
2018-03-31 10:53:31 +00:00
|
|
|
<string>Clear search criteria</string>
|
2018-03-11 08:33:48 +00:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QWidget" name="contentPanel" native="true">
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
2018-03-30 12:33:48 +00:00
|
|
|
<item alignment="Qt::AlignLeft">
|
|
|
|
<widget class="QWidget" name="interactionPanel" native="true">
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_5">
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="deleteRecipeButton">
|
|
|
|
<property name="text">
|
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="../images.qrc">
|
|
|
|
<normaloff>:/images/images/trash.png</normaloff>:/images/images/trash.png</iconset>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2018-03-11 08:33:48 +00:00
|
|
|
<item>
|
|
|
|
<widget class="QTableView" name="recipeTableView">
|
|
|
|
<property name="frameShape">
|
|
|
|
<enum>QFrame::NoFrame</enum>
|
|
|
|
</property>
|
2018-03-29 14:09:58 +00:00
|
|
|
<property name="selectionBehavior">
|
|
|
|
<enum>QAbstractItemView::SelectRows</enum>
|
|
|
|
</property>
|
2018-03-11 08:33:48 +00:00
|
|
|
<property name="sortingEnabled">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
2018-03-29 09:21:00 +00:00
|
|
|
<attribute name="verticalHeaderVisible">
|
|
|
|
<bool>false</bool>
|
|
|
|
</attribute>
|
2018-03-11 08:33:48 +00:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<resources>
|
|
|
|
<include location="../images.qrc"/>
|
|
|
|
</resources>
|
|
|
|
<connections/>
|
|
|
|
</ui>
|