ui/MainWindow.ui

Mon, 06 Jun 2022 17:15:27 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Mon, 06 Jun 2022 17:15:27 +0200
changeset 260
42b88d85fefc
parent 232
6d3ba9c44f95
child 275
f472f9773782
permissions
-rw-r--r--

Fix default divide_size field in products. Update miscs table column 6 and 7 tooltips and display of the buttons after sort. After a new misc product is selected, update the current row index because the row may be moved. Fix some display misc values in the checklist, they were not multiplied by 1000. Fix display of some bars if the value was 24.

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>MainWindow</class>
 <widget class="QMainWindow" name="MainWindow">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>1280</width>
    <height>640</height>
   </rect>
  </property>
  <property name="sizePolicy">
   <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
    <horstretch>0</horstretch>
    <verstretch>0</verstretch>
   </sizepolicy>
  </property>
  <widget class="QWidget" name="centralWidget">
   <layout class="QVBoxLayout" name="verticalLayout_2">
    <item>
     <layout class="QVBoxLayout" name="verticalLayout">
      <item>
       <widget class="QStackedWidget" name="mainStack">
        <property name="focusPolicy">
         <enum>Qt::NoFocus</enum>
        </property>
       </widget>
      </item>
     </layout>
    </item>
   </layout>
  </widget>
  <widget class="QMenuBar" name="menuBar">
   <property name="geometry">
    <rect>
     <x>0</x>
     <y>0</y>
     <width>1280</width>
     <height>20</height>
    </rect>
   </property>
   <property name="autoFillBackground">
    <bool>false</bool>
   </property>
   <widget class="QMenu" name="menuFile">
    <property name="title">
     <string>File</string>
    </property>
    <addaction name="actionExit"/>
   </widget>
   <widget class="QMenu" name="menuHelp">
    <property name="title">
     <string>Help</string>
    </property>
    <addaction name="actionAbout"/>
   </widget>
   <widget class="QMenu" name="menuSettings">
    <property name="title">
     <string>Settings</string>
    </property>
    <addaction name="actionWater_profiles"/>
    <addaction name="actionMash_profiles"/>
    <addaction name="actionStyles_profiles"/>
    <addaction name="actionFerments_profiles"/>
    <addaction name="separator"/>
    <addaction name="actionSetup"/>
   </widget>
   <widget class="QMenu" name="menuInventory">
    <property name="title">
     <string>Inventory</string>
    </property>
    <addaction name="actionFermentables"/>
    <addaction name="actionHops"/>
    <addaction name="actionYeasts"/>
    <addaction name="actionMiscs"/>
    <addaction name="actionWaters"/>
    <addaction name="separator"/>
    <addaction name="actionSuppliers"/>
    <addaction name="actionEquipments"/>
    <addaction name="separator"/>
    <addaction name="actionSupplies_list"/>
    <addaction name="actionYeast_bank"/>
   </widget>
   <widget class="QMenu" name="menuMonitor">
    <property name="title">
     <string>Monitor</string>
    </property>
    <addaction name="actionSystens"/>
    <addaction name="separator"/>
    <addaction name="actionFermenters"/>
    <addaction name="actionCO2_Meters"/>
    <addaction name="actioniSpindels"/>
   </widget>
   <widget class="QMenu" name="menuProducts">
    <property name="title">
     <string>Products</string>
    </property>
    <widget class="QMenu" name="menuArchive">
     <property name="title">
      <string>Archive</string>
     </property>
     <property name="icon">
      <iconset resource="../resources/icons.qrc">
       <normaloff>:/icons/silk/folder_database.png</normaloff>:/icons/silk/folder_database.png</iconset>
     </property>
     <addaction name="actionOn_Name"/>
     <addaction name="actionOn_Code"/>
     <addaction name="actionOn_Date"/>
     <addaction name="actionOn_Tree"/>
    </widget>
    <addaction name="actionProd_inprod"/>
    <addaction name="menuArchive"/>
   </widget>
   <widget class="QMenu" name="menuRecipes">
    <property name="title">
     <string>Recipes</string>
    </property>
    <addaction name="actionRecipes"/>
    <addaction name="actionImport_beerxml"/>
   </widget>
   <addaction name="menuFile"/>
   <addaction name="menuMonitor"/>
   <addaction name="menuProducts"/>
   <addaction name="menuRecipes"/>
   <addaction name="menuInventory"/>
   <addaction name="menuSettings"/>
   <addaction name="menuHelp"/>
  </widget>
  <widget class="QStatusBar" name="statusBar">
   <property name="sizeGripEnabled">
    <bool>false</bool>
   </property>
  </widget>
  <action name="actionExit">
   <property name="icon">
    <iconset>
     <normaloff>:icons/silk/cross.png</normaloff>:icons/silk/cross.png</iconset>
   </property>
   <property name="text">
    <string>Exit</string>
   </property>
  </action>
  <action name="actionAbout">
   <property name="icon">
    <iconset>
     <normaloff>:icons/silk/information.png</normaloff>:icons/silk/information.png</iconset>
   </property>
   <property name="text">
    <string>About</string>
   </property>
  </action>
  <action name="actionSystens">
   <property name="icon">
    <iconset>
     <normaloff>:icons/silk/server.png</normaloff>:icons/silk/server.png</iconset>
   </property>
   <property name="text">
    <string>Systems</string>
   </property>
  </action>
  <action name="actionFermenters">
   <property name="icon">
    <iconset>
     <normaloff>:icons/bms/fridge.png</normaloff>:icons/bms/fridge.png</iconset>
   </property>
   <property name="text">
    <string>Fermenters</string>
   </property>
  </action>
  <action name="actionCO2_Meters">
   <property name="icon">
    <iconset>
     <normaloff>:icons/bms/beerbottle.png</normaloff>:icons/bms/beerbottle.png</iconset>
   </property>
   <property name="text">
    <string>CO2 Meters</string>
   </property>
  </action>
  <action name="actioniSpindels">
   <property name="icon">
    <iconset>
     <normaloff>:icons/bms/fermenter.png</normaloff>:icons/bms/fermenter.png</iconset>
   </property>
   <property name="text">
    <string>iSpindels</string>
   </property>
  </action>
  <action name="actionSuppliers">
   <property name="icon">
    <iconset>
     <normaloff>:icons/silk/user.png</normaloff>:icons/silk/user.png</iconset>
   </property>
   <property name="text">
    <string>Suppliers</string>
   </property>
  </action>
  <action name="actionFermentables">
   <property name="enabled">
    <bool>true</bool>
   </property>
   <property name="icon">
    <iconset>
     <normaloff>:icons/bms/graan.png</normaloff>:icons/bms/graan.png</iconset>
   </property>
   <property name="text">
    <string>Fermentables</string>
   </property>
  </action>
  <action name="actionHops">
   <property name="enabled">
    <bool>true</bool>
   </property>
   <property name="icon">
    <iconset>
     <normaloff>:icons/bms/hop.png</normaloff>:icons/bms/hop.png</iconset>
   </property>
   <property name="text">
    <string>Hops</string>
   </property>
  </action>
  <action name="actionYeasts">
   <property name="enabled">
    <bool>true</bool>
   </property>
   <property name="icon">
    <iconset>
     <normaloff>:icons/bms/erlenmeyer.png</normaloff>:icons/bms/erlenmeyer.png</iconset>
   </property>
   <property name="text">
    <string>Yeasts</string>
   </property>
  </action>
  <action name="actionMiscs">
   <property name="enabled">
    <bool>true</bool>
   </property>
   <property name="icon">
    <iconset>
     <normaloff>:icons/bms/peper.png</normaloff>:icons/bms/peper.png</iconset>
   </property>
   <property name="text">
    <string>Miscs</string>
   </property>
  </action>
  <action name="actionWaters">
   <property name="enabled">
    <bool>true</bool>
   </property>
   <property name="icon">
    <iconset>
     <normaloff>:icons/bms/water.png</normaloff>:icons/bms/water.png</iconset>
   </property>
   <property name="text">
    <string>Waters</string>
   </property>
  </action>
  <action name="actionEquipments">
   <property name="enabled">
    <bool>true</bool>
   </property>
   <property name="icon">
    <iconset>
     <normaloff>:icons/bms/mash.png</normaloff>:icons/bms/mash.png</iconset>
   </property>
   <property name="text">
    <string>Equipments</string>
   </property>
  </action>
  <action name="actionSupplies_list">
   <property name="enabled">
    <bool>true</bool>
   </property>
   <property name="icon">
    <iconset>
     <normaloff>:icons/silk/database.png</normaloff>:icons/silk/database.png</iconset>
   </property>
   <property name="text">
    <string>Supplies list</string>
   </property>
  </action>
  <action name="actionYeast_bank">
   <property name="enabled">
    <bool>true</bool>
   </property>
   <property name="icon">
    <iconset>
     <normaloff>:icons/bms/science.png</normaloff>:icons/bms/science.png</iconset>
   </property>
   <property name="text">
    <string>Yeast bank</string>
   </property>
  </action>
  <action name="actionWater_profiles">
   <property name="enabled">
    <bool>true</bool>
   </property>
   <property name="icon">
    <iconset>
     <normaloff>:icons/bms/water.png</normaloff>:icons/bms/water.png</iconset>
   </property>
   <property name="text">
    <string>Water profiles</string>
   </property>
  </action>
  <action name="actionMash_profiles">
   <property name="enabled">
    <bool>true</bool>
   </property>
   <property name="icon">
    <iconset>
     <normaloff>:icons/bms/mash.png</normaloff>:icons/bms/mash.png</iconset>
   </property>
   <property name="text">
    <string>Mash schedules</string>
   </property>
  </action>
  <action name="actionStyles_profiles">
   <property name="enabled">
    <bool>true</bool>
   </property>
   <property name="icon">
    <iconset>
     <normaloff>:icons/bms/beerstyles.png</normaloff>:icons/bms/beerstyles.png</iconset>
   </property>
   <property name="text">
    <string>Beer styles</string>
   </property>
  </action>
  <action name="actionFerments_profiles">
   <property name="enabled">
    <bool>true</bool>
   </property>
   <property name="icon">
    <iconset>
     <normaloff>:icons/bms/fermenter.png</normaloff>:icons/bms/fermenter.png</iconset>
   </property>
   <property name="text">
    <string>Fermentation schedules</string>
   </property>
  </action>
  <action name="actionSetup">
   <property name="icon">
    <iconset>
     <normaloff>:icons/silk/wrench.png</normaloff>:icons/silk/wrench.png</iconset>
   </property>
   <property name="text">
    <string>Global settings</string>
   </property>
  </action>
  <action name="actionRecipes">
   <property name="icon">
    <iconset resource="../resources/icons.qrc">
     <normaloff>:/icons/bms/beerstyles.png</normaloff>:/icons/bms/beerstyles.png</iconset>
   </property>
   <property name="text">
    <string>Recipes</string>
   </property>
  </action>
  <action name="actionImport_beerxml">
   <property name="icon">
    <iconset resource="../resources/icons.qrc">
     <normaloff>:/icons/silk/application_get.png</normaloff>:/icons/silk/application_get.png</iconset>
   </property>
   <property name="text">
    <string>Import beerxml</string>
   </property>
  </action>
  <action name="actionProd_inprod">
   <property name="icon">
    <iconset resource="../resources/icons.qrc">
     <normaloff>:/icons/bms/beerstyles.png</normaloff>:/icons/bms/beerstyles.png</iconset>
   </property>
   <property name="text">
    <string>In Production</string>
   </property>
  </action>
  <action name="actionArchive">
   <property name="icon">
    <iconset resource="../resources/icons.qrc">
     <normaloff>:/icons/silk/folder_database.png</normaloff>:/icons/silk/folder_database.png</iconset>
   </property>
   <property name="text">
    <string>Archive</string>
   </property>
  </action>
  <action name="actionOn_Name">
   <property name="icon">
    <iconset resource="../resources/icons.qrc">
     <normaloff>:/icons/bms/beerstyles.png</normaloff>:/icons/bms/beerstyles.png</iconset>
   </property>
   <property name="text">
    <string>On Name</string>
   </property>
  </action>
  <action name="actionOn_Code">
   <property name="icon">
    <iconset resource="../resources/icons.qrc">
     <normaloff>:/icons/bms/beerstyles.png</normaloff>:/icons/bms/beerstyles.png</iconset>
   </property>
   <property name="text">
    <string>On Code</string>
   </property>
  </action>
  <action name="actionOn_Date">
   <property name="icon">
    <iconset resource="../resources/icons.qrc">
     <normaloff>:/icons/bms/beerstyles.png</normaloff>:/icons/bms/beerstyles.png</iconset>
   </property>
   <property name="text">
    <string>On Date</string>
   </property>
  </action>
  <action name="actionOn_Tree">
   <property name="icon">
    <iconset resource="../resources/icons.qrc">
     <normaloff>:/icons/bms/beerstyles.png</normaloff>:/icons/bms/beerstyles.png</iconset>
   </property>
   <property name="text">
    <string>On Beerstyle</string>
   </property>
  </action>
 </widget>
 <layoutdefault spacing="6" margin="11"/>
 <resources>
  <include location="../resources/icons.qrc"/>
 </resources>
 <connections/>
</ui>

mercurial