ui/EditYeast.ui

changeset 293
6df94ca2bfde
parent 94
380b1331ad2e
child 385
09af9f46518f
--- a/ui/EditYeast.ui	Wed Jun 15 14:48:10 2022 +0200
+++ b/ui/EditYeast.ui	Wed Jun 15 16:45:43 2022 +0200
@@ -99,7 +99,7 @@
      <widget class="QLabel" name="prodLabel">
       <property name="geometry">
        <rect>
-        <x>660</x>
+        <x>590</x>
         <y>430</y>
         <width>141</width>
         <height>20</height>
@@ -115,7 +115,7 @@
      <widget class="QLabel" name="thtLabel">
       <property name="geometry">
        <rect>
-        <x>660</x>
+        <x>590</x>
         <y>460</y>
         <width>141</width>
         <height>20</height>
@@ -206,6 +206,9 @@
       <property name="accelerated">
        <bool>true</bool>
       </property>
+      <property name="suffix">
+       <string> €</string>
+      </property>
       <property name="maximum">
        <double>1000.000000000000000</double>
       </property>
@@ -216,16 +219,26 @@
        <enum>QAbstractSpinBox::DefaultStepType</enum>
       </property>
      </widget>
-     <widget class="NullDateEdit" name="prodEdit" native="true">
+     <widget class="NullDateEdit" name="prodEdit">
       <property name="geometry">
        <rect>
-        <x>810</x>
+        <x>740</x>
         <y>430</y>
         <width>121</width>
         <height>24</height>
        </rect>
       </property>
-      <property name="dateTime" stdset="0">
+      <property name="dateTime">
+       <datetime>
+        <hour>0</hour>
+        <minute>0</minute>
+        <second>0</second>
+        <year>2000</year>
+        <month>1</month>
+        <day>1</day>
+       </datetime>
+      </property>
+      <property name="minimumDateTime">
        <datetime>
         <hour>0</hour>
         <minute>0</minute>
@@ -235,26 +248,46 @@
         <day>1</day>
        </datetime>
       </property>
-      <property name="displayFormat" stdset="0">
+      <property name="displayFormat">
        <string>yyyy-MM-dd</string>
       </property>
-      <property name="calendarPopup" stdset="0">
+      <property name="calendarPopup">
        <bool>true</bool>
       </property>
      </widget>
-     <widget class="NullDateEdit" name="thtEdit" native="true">
+     <widget class="NullDateEdit" name="thtEdit">
       <property name="geometry">
        <rect>
-        <x>810</x>
+        <x>740</x>
         <y>460</y>
         <width>121</width>
         <height>24</height>
        </rect>
       </property>
-      <property name="displayFormat" stdset="0">
+      <property name="dateTime">
+       <datetime>
+        <hour>0</hour>
+        <minute>0</minute>
+        <second>0</second>
+        <year>2000</year>
+        <month>1</month>
+        <day>1</day>
+       </datetime>
+      </property>
+      <property name="minimumDateTime">
+       <datetime>
+        <hour>0</hour>
+        <minute>0</minute>
+        <second>0</second>
+        <year>2000</year>
+        <month>1</month>
+        <day>1</day>
+       </datetime>
+      </property>
+      <property name="displayFormat">
        <string>yyyy-MM-dd</string>
       </property>
-      <property name="calendarPopup" stdset="0">
+      <property name="calendarPopup">
        <bool>true</bool>
       </property>
      </widget>
@@ -339,6 +372,9 @@
       <property name="buttonSymbols">
        <enum>QAbstractSpinBox::NoButtons</enum>
       </property>
+      <property name="suffix">
+       <string> €</string>
+      </property>
      </widget>
      <widget class="QLabel" name="productidLabel">
       <property name="geometry">
@@ -1103,6 +1139,86 @@
        <string>@</string>
       </property>
      </widget>
+     <widget class="QToolButton" name="thtButton2">
+      <property name="geometry">
+       <rect>
+        <x>902</x>
+        <y>460</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="prodButton2">
+      <property name="geometry">
+       <rect>
+        <x>902</x>
+        <y>430</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 class="QToolButton" name="prodButton1">
+      <property name="geometry">
+       <rect>
+        <x>870</x>
+        <y>430</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="thtButton1">
+      <property name="geometry">
+       <rect>
+        <x>870</x>
+        <y>460</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>
    </item>
   </layout>
@@ -1110,7 +1226,7 @@
  <customwidgets>
   <customwidget>
    <class>NullDateEdit</class>
-   <extends>QWidget</extends>
+   <extends>QDateEdit</extends>
    <header>NullDateEdit.h</header>
   </customwidget>
  </customwidgets>

mercurial