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>
|
2018-03-31 12:01:57 +00:00
|
|
|
<property name="styleSheet">
|
|
|
|
<string notr="true">font: 25 "Noto Sans CJK KR Light";</string>
|
|
|
|
</property>
|
2018-03-11 08:33:48 +00:00
|
|
|
<property name="modal">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
2018-03-30 12:33:48 +00:00
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_6">
|
2018-03-31 12:01:57 +00:00
|
|
|
<property name="spacing">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="leftMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="topMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="rightMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="bottomMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<item alignment="Qt::AlignLeft">
|
2018-03-11 08:33:48 +00:00
|
|
|
<widget class="QWidget" name="searchPanel" native="true">
|
2018-03-31 12:01:57 +00:00
|
|
|
<property name="styleSheet">
|
|
|
|
<string notr="true">background-color: rgb(245, 245, 255);</string>
|
|
|
|
</property>
|
2018-03-30 12:33:48 +00:00
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
2018-03-31 12:01:57 +00:00
|
|
|
<property name="spacing">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
2018-03-30 12:33:48 +00:00
|
|
|
<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">
|
2018-03-31 12:01:57 +00:00
|
|
|
<number>1</number>
|
2018-03-30 20:50:02 +00:00
|
|
|
</property>
|
2018-03-31 12:01:57 +00:00
|
|
|
<widget class="QWidget" name="Tags">
|
|
|
|
<attribute name="icon">
|
|
|
|
<iconset resource="../images.qrc">
|
|
|
|
<normaloff>:/images/images/tag.png</normaloff>:/images/images/tag.png</iconset>
|
|
|
|
</attribute>
|
2018-03-30 20:50:02 +00:00
|
|
|
<attribute name="title">
|
2018-03-31 12:01:57 +00:00
|
|
|
<string/>
|
|
|
|
</attribute>
|
|
|
|
<attribute name="toolTip">
|
2018-03-30 20:50:02 +00:00
|
|
|
<string>Tags</string>
|
|
|
|
</attribute>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_5">
|
2018-03-31 12:01:57 +00:00
|
|
|
<property name="spacing">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="leftMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="topMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="rightMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="bottomMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
2018-03-30 20:50:02 +00:00
|
|
|
<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">
|
2018-03-31 12:01:57 +00:00
|
|
|
<attribute name="icon">
|
|
|
|
<iconset resource="../images.qrc">
|
|
|
|
<normaloff>:/images/images/ingredients.png</normaloff>:/images/images/ingredients.png</iconset>
|
|
|
|
</attribute>
|
2018-03-30 20:50:02 +00:00
|
|
|
<attribute name="title">
|
2018-03-31 12:01:57 +00:00
|
|
|
<string/>
|
|
|
|
</attribute>
|
|
|
|
<attribute name="toolTip">
|
2018-03-30 20:50:02 +00:00
|
|
|
<string>Ingredients</string>
|
|
|
|
</attribute>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_6">
|
2018-03-31 12:01:57 +00:00
|
|
|
<property name="spacing">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="leftMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="topMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="rightMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="bottomMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
2018-03-30 20:50:02 +00:00
|
|
|
<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>
|
2018-03-31 12:01:57 +00:00
|
|
|
<widget class="QWidget" name="foodGroups">
|
|
|
|
<attribute name="icon">
|
|
|
|
<iconset resource="../images.qrc">
|
|
|
|
<normaloff>:/images/images/foodPyramid.png</normaloff>:/images/images/foodPyramid.png</iconset>
|
|
|
|
</attribute>
|
2018-03-30 20:50:02 +00:00
|
|
|
<attribute name="title">
|
2018-03-31 12:01:57 +00:00
|
|
|
<string/>
|
|
|
|
</attribute>
|
|
|
|
<attribute name="toolTip">
|
2018-03-30 20:50:02 +00:00
|
|
|
<string>Food Groups</string>
|
|
|
|
</attribute>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
2018-03-31 12:01:57 +00:00
|
|
|
<property name="spacing">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="leftMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="topMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="rightMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="bottomMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
2018-03-30 20:50:02 +00:00
|
|
|
<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">
|
2018-03-31 12:01:57 +00:00
|
|
|
<property name="styleSheet">
|
|
|
|
<string notr="true">background-color: rgb(240, 240, 255);</string>
|
|
|
|
</property>
|
2018-03-30 12:33:48 +00:00
|
|
|
<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-31 12:01:57 +00:00
|
|
|
<widget class="QLineEdit" name="nameEdit">
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<pointsize>12</pointsize>
|
|
|
|
<weight>3</weight>
|
|
|
|
<italic>false</italic>
|
|
|
|
<bold>false</bold>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="styleSheet">
|
|
|
|
<string notr="true">background-color: rgb(255, 255, 255);</string>
|
|
|
|
</property>
|
|
|
|
<property name="frame">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="alignment">
|
|
|
|
<set>Qt::AlignCenter</set>
|
|
|
|
</property>
|
|
|
|
<property name="placeholderText">
|
|
|
|
<string>Recipe Name</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
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-31 12:01:57 +00:00
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>0</width>
|
|
|
|
<height>40</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="autoFillBackground">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="styleSheet">
|
|
|
|
<string notr="true">QPushButton#clearSearchButton {
|
|
|
|
background-color: rgb(235, 235, 255);
|
|
|
|
border: 0px;
|
|
|
|
}
|
|
|
|
QPushButton#clearSearchButton:hover{
|
|
|
|
background-color: rgb(245, 245, 255);
|
|
|
|
}
|
|
|
|
QPushButton#clearSearchButton:pressed{
|
|
|
|
background-color: rgb(255, 255, 255);
|
|
|
|
}</string>
|
|
|
|
</property>
|
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>
|
2018-03-31 12:01:57 +00:00
|
|
|
<property name="flat">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="deleteRecipeButton">
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>0</width>
|
|
|
|
<height>40</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="styleSheet">
|
|
|
|
<string notr="true">QPushButton#deleteRecipeButton {
|
|
|
|
background-color: rgb(225, 225, 255);
|
|
|
|
border: 0px;
|
|
|
|
}
|
|
|
|
QPushButton#deleteRecipeButton:hover{
|
|
|
|
background-color: rgb(235, 235, 255);
|
|
|
|
}
|
|
|
|
QPushButton#deleteRecipeButton:pressed{
|
|
|
|
background-color: rgb(245, 245, 255);
|
|
|
|
}</string>
|
|
|
|
</property>
|
|
|
|
<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>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="exitButton">
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>0</width>
|
|
|
|
<height>40</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="styleSheet">
|
|
|
|
<string notr="true">QPushButton#exitButton {
|
|
|
|
background-color: rgb(215, 215, 255);
|
|
|
|
border: 0px;
|
|
|
|
}
|
|
|
|
QPushButton#exitButton:hover{
|
|
|
|
background-color: rgb(225, 225, 255);
|
|
|
|
}
|
|
|
|
QPushButton#exitButton:pressed{
|
|
|
|
background-color: rgb(235, 235, 255);
|
|
|
|
}</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Close</string>
|
|
|
|
</property>
|
2018-03-11 08:33:48 +00:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QWidget" name="contentPanel" native="true">
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
2018-03-31 12:01:57 +00:00
|
|
|
<property name="spacing">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="leftMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="topMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="rightMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="bottomMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
2018-03-11 08:33:48 +00:00
|
|
|
<item>
|
|
|
|
<widget class="QTableView" name="recipeTableView">
|
2018-03-31 12:01:57 +00:00
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<pointsize>14</pointsize>
|
|
|
|
<weight>3</weight>
|
|
|
|
<italic>false</italic>
|
|
|
|
<bold>false</bold>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="styleSheet">
|
|
|
|
<string notr="true">background-color: rgb(250, 250, 255);</string>
|
|
|
|
</property>
|
2018-03-11 08:33:48 +00:00
|
|
|
<property name="frameShape">
|
|
|
|
<enum>QFrame::NoFrame</enum>
|
|
|
|
</property>
|
2018-03-31 12:01:57 +00:00
|
|
|
<property name="alternatingRowColors">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
2018-03-29 14:09:58 +00:00
|
|
|
<property name="selectionBehavior">
|
|
|
|
<enum>QAbstractItemView::SelectRows</enum>
|
|
|
|
</property>
|
2018-03-31 12:01:57 +00:00
|
|
|
<property name="verticalScrollMode">
|
|
|
|
<enum>QAbstractItemView::ScrollPerPixel</enum>
|
|
|
|
</property>
|
|
|
|
<property name="gridStyle">
|
|
|
|
<enum>Qt::NoPen</enum>
|
|
|
|
</property>
|
2018-03-11 08:33:48 +00:00
|
|
|
<property name="sortingEnabled">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
2018-03-31 12:01:57 +00:00
|
|
|
<attribute name="horizontalHeaderShowSortIndicator" stdset="0">
|
|
|
|
<bool>false</bool>
|
|
|
|
</attribute>
|
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>
|