ui/EditProfileStyle.ui

Thu, 18 Aug 2022 20:34:15 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Thu, 18 Aug 2022 20:34:15 +0200
changeset 401
583148eb6e01
parent 56
eb6c564192f4
permissions
-rw-r--r--

Init est_carb field for new products.

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>EditProfileStyle</class>
 <widget class="QDialog" name="EditProfileStyle">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>1024</width>
    <height>560</height>
   </rect>
  </property>
  <property name="windowTitle">
   <string>Dialog</string>
  </property>
  <layout class="QGridLayout" name="gridLayout">
   <item row="0" column="0">
    <widget class="QWidget" name="topWidget" native="true">
     <widget class="QLabel" name="styleLabel">
      <property name="geometry">
       <rect>
        <x>20</x>
        <y>10</y>
        <width>121</width>
        <height>20</height>
       </rect>
      </property>
      <property name="text">
       <string>Beer style:</string>
      </property>
      <property name="alignment">
       <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
      </property>
     </widget>
     <widget class="QLineEdit" name="styleEdit">
      <property name="geometry">
       <rect>
        <x>150</x>
        <y>10</y>
        <width>311</width>
        <height>23</height>
       </rect>
      </property>
      <property name="maxLength">
       <number>128</number>
      </property>
      <property name="placeholderText">
       <string>Name of the beer style</string>
      </property>
     </widget>
     <widget class="QPlainTextEdit" name="notesEdit">
      <property name="geometry">
       <rect>
        <x>150</x>
        <y>130</y>
        <width>791</width>
        <height>81</height>
       </rect>
      </property>
      <property name="placeholderText">
       <string>Remarks about this style.</string>
      </property>
     </widget>
     <widget class="QPushButton" name="quitButton">
      <property name="geometry">
       <rect>
        <x>90</x>
        <y>510</y>
        <width>80</width>
        <height>23</height>
       </rect>
      </property>
      <property name="sizePolicy">
       <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
        <horstretch>0</horstretch>
        <verstretch>0</verstretch>
       </sizepolicy>
      </property>
      <property name="text">
       <string>Quit</string>
      </property>
      <property name="icon">
       <iconset>
        <normaloff>:icons/silk/door_out.png</normaloff>:icons/silk/door_out.png</iconset>
      </property>
     </widget>
     <widget class="QPushButton" name="saveButton">
      <property name="enabled">
       <bool>false</bool>
      </property>
      <property name="geometry">
       <rect>
        <x>850</x>
        <y>510</y>
        <width>80</width>
        <height>23</height>
       </rect>
      </property>
      <property name="text">
       <string>Save</string>
      </property>
      <property name="icon">
       <iconset>
        <normaloff>:icons/silk/disk.png</normaloff>:icons/silk/disk.png</iconset>
      </property>
     </widget>
     <widget class="QPushButton" name="deleteButton">
      <property name="enabled">
       <bool>false</bool>
      </property>
      <property name="geometry">
       <rect>
        <x>463</x>
        <y>510</y>
        <width>80</width>
        <height>23</height>
       </rect>
      </property>
      <property name="text">
       <string>Delete</string>
      </property>
      <property name="icon">
       <iconset>
        <normaloff>:icons/silk/delete.png</normaloff>:icons/silk/delete.png</iconset>
      </property>
     </widget>
     <widget class="QLabel" name="groupLabel">
      <property name="geometry">
       <rect>
        <x>500</x>
        <y>10</y>
        <width>121</width>
        <height>20</height>
       </rect>
      </property>
      <property name="text">
       <string>Beer group:</string>
      </property>
      <property name="alignment">
       <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
      </property>
     </widget>
     <widget class="QLineEdit" name="groupEdit">
      <property name="geometry">
       <rect>
        <x>630</x>
        <y>10</y>
        <width>311</width>
        <height>23</height>
       </rect>
      </property>
      <property name="maxLength">
       <number>128</number>
      </property>
      <property name="placeholderText">
       <string>Name of the beer group</string>
      </property>
     </widget>
     <widget class="QLabel" name="catLabel">
      <property name="geometry">
       <rect>
        <x>20</x>
        <y>40</y>
        <width>121</width>
        <height>20</height>
       </rect>
      </property>
      <property name="text">
       <string>Category:</string>
      </property>
      <property name="alignment">
       <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
      </property>
     </widget>
     <widget class="QLabel" name="catnrLabel">
      <property name="geometry">
       <rect>
        <x>500</x>
        <y>40</y>
        <width>121</width>
        <height>20</height>
       </rect>
      </property>
      <property name="text">
       <string>Category number:</string>
      </property>
      <property name="alignment">
       <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
      </property>
     </widget>
     <widget class="QLineEdit" name="catEdit">
      <property name="geometry">
       <rect>
        <x>150</x>
        <y>40</y>
        <width>311</width>
        <height>23</height>
       </rect>
      </property>
      <property name="maxLength">
       <number>128</number>
      </property>
      <property name="placeholderText">
       <string>BJCP beer category</string>
      </property>
     </widget>
     <widget class="QSpinBox" name="catnrEdit">
      <property name="geometry">
       <rect>
        <x>630</x>
        <y>40</y>
        <width>101</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>
     </widget>
     <widget class="QLabel" name="profileLabel">
      <property name="geometry">
       <rect>
        <x>20</x>
        <y>70</y>
        <width>121</width>
        <height>20</height>
       </rect>
      </property>
      <property name="text">
       <string>Profile:</string>
      </property>
      <property name="alignment">
       <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
      </property>
     </widget>
     <widget class="QPlainTextEdit" name="profileEdit">
      <property name="geometry">
       <rect>
        <x>150</x>
        <y>70</y>
        <width>791</width>
        <height>51</height>
       </rect>
      </property>
      <property name="placeholderText">
       <string>Profile description.</string>
      </property>
     </widget>
     <widget class="QLabel" name="notesLabel">
      <property name="geometry">
       <rect>
        <x>20</x>
        <y>130</y>
        <width>121</width>
        <height>20</height>
       </rect>
      </property>
      <property name="text">
       <string>Remarks:</string>
      </property>
      <property name="alignment">
       <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
      </property>
     </widget>
     <widget class="QLabel" name="typeLabel">
      <property name="geometry">
       <rect>
        <x>20</x>
        <y>220</y>
        <width>121</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="QComboBox" name="typeEdit">
      <property name="geometry">
       <rect>
        <x>150</x>
        <y>220</y>
        <width>201</width>
        <height>23</height>
       </rect>
      </property>
     </widget>
     <widget class="QLabel" name="guideLabel">
      <property name="geometry">
       <rect>
        <x>500</x>
        <y>220</y>
        <width>121</width>
        <height>20</height>
       </rect>
      </property>
      <property name="text">
       <string>Style guide:</string>
      </property>
      <property name="alignment">
       <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
      </property>
     </widget>
     <widget class="QLineEdit" name="guideEdit">
      <property name="geometry">
       <rect>
        <x>630</x>
        <y>220</y>
        <width>311</width>
        <height>23</height>
       </rect>
      </property>
      <property name="maxLength">
       <number>128</number>
      </property>
      <property name="placeholderText">
       <string>The name of the style guide</string>
      </property>
     </widget>
     <widget class="QLabel" name="ogLabel">
      <property name="geometry">
       <rect>
        <x>20</x>
        <y>250</y>
        <width>121</width>
        <height>20</height>
       </rect>
      </property>
      <property name="text">
       <string>Original Gravity:</string>
      </property>
      <property name="alignment">
       <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
      </property>
     </widget>
     <widget class="QLabel" name="fgLabel">
      <property name="geometry">
       <rect>
        <x>20</x>
        <y>280</y>
        <width>121</width>
        <height>20</height>
       </rect>
      </property>
      <property name="text">
       <string>Final Gravity:</string>
      </property>
      <property name="alignment">
       <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
      </property>
     </widget>
     <widget class="QLabel" name="ibuLabel">
      <property name="geometry">
       <rect>
        <x>20</x>
        <y>310</y>
        <width>121</width>
        <height>20</height>
       </rect>
      </property>
      <property name="text">
       <string>IBU:</string>
      </property>
      <property name="alignment">
       <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
      </property>
     </widget>
     <widget class="QDoubleSpinBox" name="ogminEdit">
      <property name="geometry">
       <rect>
        <x>150</x>
        <y>250</y>
        <width>91</width>
        <height>24</height>
       </rect>
      </property>
      <property name="accelerated">
       <bool>true</bool>
      </property>
      <property name="decimals">
       <number>3</number>
      </property>
      <property name="minimum">
       <double>1.000000000000000</double>
      </property>
      <property name="maximum">
       <double>2.000000000000000</double>
      </property>
      <property name="singleStep">
       <double>0.001000000000000</double>
      </property>
     </widget>
     <widget class="QDoubleSpinBox" name="ogmaxEdit">
      <property name="geometry">
       <rect>
        <x>260</x>
        <y>250</y>
        <width>91</width>
        <height>24</height>
       </rect>
      </property>
      <property name="accelerated">
       <bool>true</bool>
      </property>
      <property name="decimals">
       <number>3</number>
      </property>
      <property name="minimum">
       <double>1.000000000000000</double>
      </property>
      <property name="maximum">
       <double>2.000000000000000</double>
      </property>
      <property name="singleStep">
       <double>0.001000000000000</double>
      </property>
     </widget>
     <widget class="QDoubleSpinBox" name="fgminEdit">
      <property name="geometry">
       <rect>
        <x>150</x>
        <y>280</y>
        <width>91</width>
        <height>24</height>
       </rect>
      </property>
      <property name="accelerated">
       <bool>true</bool>
      </property>
      <property name="decimals">
       <number>3</number>
      </property>
      <property name="minimum">
       <double>1.000000000000000</double>
      </property>
      <property name="maximum">
       <double>2.000000000000000</double>
      </property>
      <property name="singleStep">
       <double>0.001000000000000</double>
      </property>
     </widget>
     <widget class="QDoubleSpinBox" name="fgmaxEdit">
      <property name="geometry">
       <rect>
        <x>260</x>
        <y>280</y>
        <width>91</width>
        <height>24</height>
       </rect>
      </property>
      <property name="accelerated">
       <bool>true</bool>
      </property>
      <property name="decimals">
       <number>3</number>
      </property>
      <property name="minimum">
       <double>1.000000000000000</double>
      </property>
      <property name="maximum">
       <double>2.000000000000000</double>
      </property>
      <property name="singleStep">
       <double>0.001000000000000</double>
      </property>
     </widget>
     <widget class="QSpinBox" name="ibuminEdit">
      <property name="geometry">
       <rect>
        <x>150</x>
        <y>310</y>
        <width>91</width>
        <height>24</height>
       </rect>
      </property>
      <property name="accelerated">
       <bool>true</bool>
      </property>
      <property name="maximum">
       <number>999</number>
      </property>
     </widget>
     <widget class="QSpinBox" name="ibumaxEdit">
      <property name="geometry">
       <rect>
        <x>260</x>
        <y>310</y>
        <width>91</width>
        <height>24</height>
       </rect>
      </property>
      <property name="accelerated">
       <bool>true</bool>
      </property>
      <property name="maximum">
       <number>999</number>
      </property>
     </widget>
     <widget class="QLabel" name="ebcLabel">
      <property name="geometry">
       <rect>
        <x>500</x>
        <y>250</y>
        <width>121</width>
        <height>20</height>
       </rect>
      </property>
      <property name="text">
       <string>EBC:</string>
      </property>
      <property name="alignment">
       <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
      </property>
     </widget>
     <widget class="QLabel" name="co2Label">
      <property name="geometry">
       <rect>
        <x>500</x>
        <y>280</y>
        <width>121</width>
        <height>20</height>
       </rect>
      </property>
      <property name="text">
       <string>Co2:</string>
      </property>
      <property name="alignment">
       <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
      </property>
     </widget>
     <widget class="QLabel" name="abvLabel">
      <property name="geometry">
       <rect>
        <x>500</x>
        <y>310</y>
        <width>121</width>
        <height>20</height>
       </rect>
      </property>
      <property name="text">
       <string>ABV:</string>
      </property>
      <property name="alignment">
       <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
      </property>
     </widget>
     <widget class="QSpinBox" name="ebcminEdit">
      <property name="geometry">
       <rect>
        <x>630</x>
        <y>250</y>
        <width>91</width>
        <height>24</height>
       </rect>
      </property>
      <property name="accelerated">
       <bool>true</bool>
      </property>
      <property name="maximum">
       <number>999</number>
      </property>
     </widget>
     <widget class="QSpinBox" name="ebcmaxEdit">
      <property name="geometry">
       <rect>
        <x>740</x>
        <y>250</y>
        <width>91</width>
        <height>24</height>
       </rect>
      </property>
      <property name="accelerated">
       <bool>true</bool>
      </property>
      <property name="maximum">
       <number>999</number>
      </property>
     </widget>
     <widget class="QDoubleSpinBox" name="co2minEdit">
      <property name="geometry">
       <rect>
        <x>630</x>
        <y>280</y>
        <width>91</width>
        <height>24</height>
       </rect>
      </property>
      <property name="accelerated">
       <bool>true</bool>
      </property>
      <property name="decimals">
       <number>1</number>
      </property>
      <property name="singleStep">
       <double>0.100000000000000</double>
      </property>
     </widget>
     <widget class="QDoubleSpinBox" name="co2maxEdit">
      <property name="geometry">
       <rect>
        <x>740</x>
        <y>280</y>
        <width>91</width>
        <height>24</height>
       </rect>
      </property>
      <property name="accelerated">
       <bool>true</bool>
      </property>
      <property name="decimals">
       <number>1</number>
      </property>
      <property name="singleStep">
       <double>0.100000000000000</double>
      </property>
     </widget>
     <widget class="QDoubleSpinBox" name="abvminEdit">
      <property name="geometry">
       <rect>
        <x>630</x>
        <y>310</y>
        <width>91</width>
        <height>24</height>
       </rect>
      </property>
      <property name="accelerated">
       <bool>true</bool>
      </property>
      <property name="decimals">
       <number>1</number>
      </property>
      <property name="singleStep">
       <double>0.100000000000000</double>
      </property>
     </widget>
     <widget class="QDoubleSpinBox" name="abvmaxEdit">
      <property name="geometry">
       <rect>
        <x>740</x>
        <y>310</y>
        <width>91</width>
        <height>24</height>
       </rect>
      </property>
      <property name="accelerated">
       <bool>true</bool>
      </property>
      <property name="decimals">
       <number>1</number>
      </property>
      <property name="singleStep">
       <double>0.100000000000000</double>
      </property>
     </widget>
     <widget class="QLabel" name="ingredientsLabel">
      <property name="geometry">
       <rect>
        <x>20</x>
        <y>340</y>
        <width>121</width>
        <height>20</height>
       </rect>
      </property>
      <property name="text">
       <string>Ingredients:</string>
      </property>
      <property name="alignment">
       <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
      </property>
     </widget>
     <widget class="QLabel" name="examplesLabel">
      <property name="geometry">
       <rect>
        <x>20</x>
        <y>400</y>
        <width>121</width>
        <height>20</height>
       </rect>
      </property>
      <property name="text">
       <string>Examples:</string>
      </property>
      <property name="alignment">
       <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
      </property>
     </widget>
     <widget class="QPlainTextEdit" name="ingredientsEdit">
      <property name="geometry">
       <rect>
        <x>150</x>
        <y>340</y>
        <width>791</width>
        <height>51</height>
       </rect>
      </property>
      <property name="placeholderText">
       <string>Ingredients used in this style.</string>
      </property>
     </widget>
     <widget class="QPlainTextEdit" name="examplesEdit">
      <property name="geometry">
       <rect>
        <x>150</x>
        <y>400</y>
        <width>791</width>
        <height>81</height>
       </rect>
      </property>
      <property name="placeholderText">
       <string>Examples of this style.</string>
      </property>
     </widget>
    </widget>
   </item>
  </layout>
 </widget>
 <tabstops>
  <tabstop>styleEdit</tabstop>
  <tabstop>notesEdit</tabstop>
  <tabstop>quitButton</tabstop>
  <tabstop>deleteButton</tabstop>
  <tabstop>saveButton</tabstop>
 </tabstops>
 <resources>
  <include location="../../../../../../home/mbroek/MyProjects/bmsapp/resources/icons.qrc"/>
 </resources>
 <connections/>
</ui>

mercurial