--- a/ui/EditMisc.ui Thu Feb 24 14:36:56 2022 +0100 +++ b/ui/EditMisc.ui Fri Feb 25 10:51:36 2022 +0100 @@ -51,8 +51,8 @@ <widget class="QLabel" name="inventoryLabel"> <property name="geometry"> <rect> - <x>5</x> - <y>410</y> + <x>680</x> + <y>130</y> <width>121</width> <height>20</height> </rect> @@ -67,8 +67,8 @@ <widget class="QLabel" name="costLabel"> <property name="geometry"> <rect> - <x>5</x> - <y>440</y> + <x>680</x> + <y>160</y> <width>121</width> <height>20</height> </rect> @@ -83,8 +83,8 @@ <widget class="QLabel" name="valueLabel"> <property name="geometry"> <rect> - <x>5</x> - <y>470</y> + <x>680</x> + <y>190</y> <width>121</width> <height>20</height> </rect> @@ -99,9 +99,9 @@ <widget class="QLabel" name="prodLabel"> <property name="geometry"> <rect> - <x>660</x> - <y>410</y> - <width>141</width> + <x>20</x> + <y>340</y> + <width>101</width> <height>20</height> </rect> </property> @@ -116,7 +116,7 @@ <property name="geometry"> <rect> <x>660</x> - <y>440</y> + <y>340</y> <width>141</width> <height>20</height> </rect> @@ -141,7 +141,7 @@ <number>128</number> </property> <property name="placeholderText"> - <string>Name of the fermentable</string> + <string>Name of the misc ingredient</string> </property> </widget> <widget class="QPlainTextEdit" name="notesEdit"> @@ -160,8 +160,8 @@ <widget class="QDoubleSpinBox" name="inventoryEdit"> <property name="geometry"> <rect> - <x>140</x> - <y>410</y> + <x>810</x> + <y>130</y> <width>121</width> <height>24</height> </rect> @@ -194,8 +194,8 @@ <widget class="QDoubleSpinBox" name="costEdit"> <property name="geometry"> <rect> - <x>140</x> - <y>440</y> + <x>810</x> + <y>160</y> <width>121</width> <height>24</height> </rect> @@ -219,8 +219,8 @@ <widget class="NullDateEdit" name="prodEdit" native="true"> <property name="geometry"> <rect> - <x>810</x> - <y>410</y> + <x>140</x> + <y>340</y> <width>121</width> <height>24</height> </rect> @@ -246,7 +246,7 @@ <property name="geometry"> <rect> <x>810</x> - <y>440</y> + <y>340</y> <width>121</width> <height>24</height> </rect> @@ -277,7 +277,7 @@ <string>Quit</string> </property> <property name="icon"> - <iconset resource="../../../../../../home/mbroek/MyProjects/bmsapp/resources/icons.qrc"> + <iconset> <normaloff>:icons/silk/door_out.png</normaloff>:icons/silk/door_out.png</iconset> </property> </widget> @@ -297,7 +297,7 @@ <string>Save</string> </property> <property name="icon"> - <iconset resource="../../../../../../home/mbroek/MyProjects/bmsapp/resources/icons.qrc"> + <iconset> <normaloff>:icons/silk/disk.png</normaloff>:icons/silk/disk.png</iconset> </property> </widget> @@ -317,15 +317,15 @@ <string>Delete</string> </property> <property name="icon"> - <iconset resource="../../../../../../home/mbroek/MyProjects/bmsapp/resources/icons.qrc"> + <iconset> <normaloff>:icons/silk/delete.png</normaloff>:icons/silk/delete.png</iconset> </property> </widget> <widget class="QDoubleSpinBox" name="valueEdit"> <property name="geometry"> <rect> - <x>140</x> - <y>470</y> + <x>810</x> + <y>190</y> <width>107</width> <height>24</height> </rect> @@ -340,6 +340,193 @@ <enum>QAbstractSpinBox::NoButtons</enum> </property> </widget> + <widget class="QLabel" name="typeLabel"> + <property name="geometry"> + <rect> + <x>30</x> + <y>130</y> + <width>91</width> + <height>20</height> + </rect> + </property> + <property name="text"> + <string>Type:</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + <widget class="QLabel" name="isweightLabel"> + <property name="geometry"> + <rect> + <x>10</x> + <y>160</y> + <width>111</width> + <height>20</height> + </rect> + </property> + <property name="text"> + <string>Amount is weight:</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + <widget class="QLabel" name="useLabel"> + <property name="geometry"> + <rect> + <x>30</x> + <y>190</y> + <width>91</width> + <height>20</height> + </rect> + </property> + <property name="text"> + <string>Use at:</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + <widget class="QLabel" name="timeLabel"> + <property name="geometry"> + <rect> + <x>30</x> + <y>220</y> + <width>91</width> + <height>20</height> + </rect> + </property> + <property name="text"> + <string>Time:</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + <widget class="QLabel" name="useforLabel"> + <property name="geometry"> + <rect> + <x>30</x> + <y>250</y> + <width>91</width> + <height>20</height> + </rect> + </property> + <property name="text"> + <string>Use for:</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + <widget class="QLabel" name="alwaysLabel"> + <property name="geometry"> + <rect> + <x>690</x> + <y>220</y> + <width>111</width> + <height>20</height> + </rect> + </property> + <property name="text"> + <string>Always on stock:</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + <widget class="QComboBox" name="typeEdit"> + <property name="geometry"> + <rect> + <x>140</x> + <y>130</y> + <width>131</width> + <height>23</height> + </rect> + </property> + </widget> + <widget class="QComboBox" name="useEdit"> + <property name="geometry"> + <rect> + <x>140</x> + <y>190</y> + <width>131</width> + <height>23</height> + </rect> + </property> + </widget> + <widget class="QCheckBox" name="isweightEdit"> + <property name="geometry"> + <rect> + <x>140</x> + <y>160</y> + <width>85</width> + <height>21</height> + </rect> + </property> + <property name="text"> + <string>Yes</string> + </property> + </widget> + <widget class="QSpinBox" name="timeEdit"> + <property name="geometry"> + <rect> + <x>140</x> + <y>220</y> + <width>71</width> + <height>24</height> + </rect> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + <property name="accelerated"> + <bool>true</bool> + </property> + <property name="maximum"> + <number>99360</number> + </property> + </widget> + <widget class="QCheckBox" name="alwaysEdit"> + <property name="geometry"> + <rect> + <x>810</x> + <y>220</y> + <width>85</width> + <height>21</height> + </rect> + </property> + <property name="text"> + <string>Yes</string> + </property> + </widget> + <widget class="QPlainTextEdit" name="useforEdit"> + <property name="geometry"> + <rect> + <x>140</x> + <y>250</y> + <width>791</width> + <height>61</height> + </rect> + </property> + </widget> + <widget class="QLineEdit" name="timeShow"> + <property name="geometry"> + <rect> + <x>220</x> + <y>220</y> + <width>113</width> + <height>23</height> + </rect> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + <property name="readOnly"> + <bool>true</bool> + </property> + </widget> </widget> </item> </layout>