--- a/ui/EditFermentable.ui Wed Jun 15 14:48:10 2022 +0200 +++ b/ui/EditFermentable.ui Wed Jun 15 16:45:43 2022 +0200 @@ -387,7 +387,7 @@ <widget class="QLabel" name="prodLabel"> <property name="geometry"> <rect> - <x>660</x> + <x>590</x> <y>440</y> <width>141</width> <height>20</height> @@ -403,7 +403,7 @@ <widget class="QLabel" name="thtLabel"> <property name="geometry"> <rect> - <x>660</x> + <x>590</x> <y>470</y> <width>141</width> <height>20</height> @@ -555,6 +555,9 @@ <property name="accelerated"> <bool>true</bool> </property> + <property name="suffix"> + <string> Kg</string> + </property> <property name="decimals"> <number>3</number> </property> @@ -583,6 +586,9 @@ <property name="accelerated"> <bool>true</bool> </property> + <property name="suffix"> + <string> €</string> + </property> <property name="maximum"> <double>100000.000000000000000</double> </property> @@ -849,7 +855,7 @@ <widget class="NullDateEdit" name="prodEdit"> <property name="geometry"> <rect> - <x>810</x> + <x>740</x> <y>440</y> <width>121</width> <height>24</height> @@ -892,7 +898,7 @@ <widget class="NullDateEdit" name="thtEdit"> <property name="geometry"> <rect> - <x>810</x> + <x>740</x> <y>470</y> <width>121</width> <height>24</height> @@ -996,6 +1002,12 @@ <property name="buttonSymbols"> <enum>QAbstractSpinBox::NoButtons</enum> </property> + <property name="suffix"> + <string> €</string> + </property> + <property name="maximum"> + <double>1000000.000000000000000</double> + </property> </widget> <widget class="QLabel" name="lintnerLabel"> <property name="geometry"> @@ -1041,6 +1053,86 @@ <double>0.500000000000000</double> </property> </widget> + <widget class="QToolButton" name="thtButton1"> + <property name="geometry"> + <rect> + <x>870</x> + <y>470</y> + <width>28</width> + <height>22</height> + </rect> + </property> + <property name="toolTip"> + <string>Set the tht date to today.</string> + </property> + <property name="text"> + <string>...</string> + </property> + <property name="icon"> + <iconset resource="../../../../../../home/mbroek/MyProjects/bmsapp/resources/icons.qrc"> + <normaloff>:/icons/silk/date.png</normaloff>:/icons/silk/date.png</iconset> + </property> + </widget> + <widget class="QToolButton" name="thtButton2"> + <property name="geometry"> + <rect> + <x>902</x> + <y>470</y> + <width>28</width> + <height>22</height> + </rect> + </property> + <property name="toolTip"> + <string>Clear tht date</string> + </property> + <property name="text"> + <string>...</string> + </property> + <property name="icon"> + <iconset resource="../../../../../../home/mbroek/MyProjects/bmsapp/resources/icons.qrc"> + <normaloff>:/icons/silk/delete.png</normaloff>:/icons/silk/delete.png</iconset> + </property> + </widget> + <widget class="QToolButton" name="prodButton1"> + <property name="geometry"> + <rect> + <x>870</x> + <y>440</y> + <width>28</width> + <height>22</height> + </rect> + </property> + <property name="toolTip"> + <string>Set the production date to today.</string> + </property> + <property name="text"> + <string>...</string> + </property> + <property name="icon"> + <iconset resource="../../../../../../home/mbroek/MyProjects/bmsapp/resources/icons.qrc"> + <normaloff>:/icons/silk/date.png</normaloff>:/icons/silk/date.png</iconset> + </property> + </widget> + <widget class="QToolButton" name="prodButton2"> + <property name="geometry"> + <rect> + <x>902</x> + <y>440</y> + <width>28</width> + <height>22</height> + </rect> + </property> + <property name="toolTip"> + <string>Clear production date</string> + </property> + <property name="text"> + <string>...</string> + </property> + <property name="icon"> + <iconset resource="../../../../../../home/mbroek/MyProjects/bmsapp/resources/icons.qrc"> + <normaloff>:/icons/silk/delete.png</normaloff>:/icons/silk/delete.png</iconset> + </property> + </widget> </widget> </item> </layout>