209 lines
6.7 KiB
XML
209 lines
6.7 KiB
XML
<?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>
|
|
<width>1064</width>
|
|
<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>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_6">
|
|
<item alignment="Qt::AlignLeft|Qt::AlignTop">
|
|
<widget class="QWidget" name="searchPanel" native="true">
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item alignment="Qt::AlignLeft">
|
|
<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>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QWidget" name="nameSearchPanel" native="true">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<item>
|
|
<widget class="QLabel" name="nameLabel">
|
|
<property name="text">
|
|
<string>Name</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="nameEdit"/>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="searchButton">
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../images.qrc">
|
|
<normaloff>:/images/images/search_icon.png</normaloff>:/images/images/search_icon.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QWidget" name="contentPanel" native="true">
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<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>
|
|
<item>
|
|
<widget class="QTableView" name="recipeTableView">
|
|
<property name="frameShape">
|
|
<enum>QFrame::NoFrame</enum>
|
|
</property>
|
|
<property name="selectionBehavior">
|
|
<enum>QAbstractItemView::SelectRows</enum>
|
|
</property>
|
|
<property name="sortingEnabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<attribute name="verticalHeaderVisible">
|
|
<bool>false</bool>
|
|
</attribute>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<resources>
|
|
<include location="../images.qrc"/>
|
|
</resources>
|
|
<connections/>
|
|
</ui>
|