ui/MainWindow.ui

Wed, 16 Feb 2022 11:51:53 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Wed, 16 Feb 2022 11:51:53 +0100
changeset 13
0825d161bca4
parent 11
c9cdc15d3caf
child 14
8a304c898a75
permissions
-rw-r--r--

Added settings menus. Disabled not yet used menu entries.

<?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>
  <property name="windowTitle">
   <string>Goat</string>
  </property>
  <widget class="QWidget" name="centralWidget">
   <layout class="QVBoxLayout" name="verticalLayout_2">
    <item>
     <layout class="QVBoxLayout" name="verticalLayout">
      <item>
       <widget class="QTabWidget" name="tabBarConnections">
        <property name="focusPolicy">
         <enum>Qt::NoFocus</enum>
        </property>
        <property name="tabShape">
         <enum>QTabWidget::Rounded</enum>
        </property>
        <property name="currentIndex">
         <number>-1</number>
        </property>
        <property name="elideMode">
         <enum>Qt::ElideNone</enum>
        </property>
        <property name="documentMode">
         <bool>true</bool>
        </property>
        <property name="tabsClosable">
         <bool>true</bool>
        </property>
        <property name="tabBarAutoHide">
         <bool>false</bool>
        </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_schedules"/>
    <addaction name="actionBeer_styles"/>
    <addaction name="actionFermentation_schedules"/>
    <addaction name="separator"/>
    <addaction name="actionGlobal_settings"/>
   </widget>
   <widget class="QMenu" name="menuInventory">
    <property name="title">
     <string>Inventory</string>
    </property>
    <addaction name="actionSuppliers"/>
    <addaction name="separator"/>
    <addaction name="actionFermentables"/>
    <addaction name="actionHops"/>
    <addaction name="actionYeasts"/>
    <addaction name="actionMiscs"/>
    <addaction name="actionWaters"/>
    <addaction name="separator"/>
    <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>
   <widget class="QMenu" name="menuRecipes">
    <property name="title">
     <string>Recipes</string>
    </property>
   </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"/>
  <widget class="QToolBar" name="toolBar">
   <property name="sizePolicy">
    <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
     <horstretch>0</horstretch>
     <verstretch>0</verstretch>
    </sizepolicy>
   </property>
   <property name="minimumSize">
    <size>
     <width>0</width>
     <height>0</height>
    </size>
   </property>
   <property name="windowTitle">
    <string>Main Toolbar</string>
   </property>
   <property name="iconSize">
    <size>
     <width>16</width>
     <height>16</height>
    </size>
   </property>
   <attribute name="toolBarArea">
    <enum>TopToolBarArea</enum>
   </attribute>
   <attribute name="toolBarBreak">
    <bool>false</bool>
   </attribute>
  </widget>
  <action name="actionExit">
   <property name="icon">
    <iconset resource="../resources/icons.qrc">
     <normaloff>:/icons/silk/icons/silk/cross.png</normaloff>:/icons/silk/icons/silk/cross.png</iconset>
   </property>
   <property name="text">
    <string>Exit</string>
   </property>
  </action>
  <action name="actionAbout">
   <property name="icon">
    <iconset resource="../resources/icons.qrc">
     <normaloff>:/icons/silk/icons/silk/information.png</normaloff>:/icons/silk/icons/silk/information.png</iconset>
   </property>
   <property name="text">
    <string>About</string>
   </property>
  </action>
  <action name="actionSystens">
   <property name="icon">
    <iconset resource="../resources/icons.qrc">
     <normaloff>:/icons/silk/icons/silk/server.png</normaloff>:/icons/silk/icons/silk/server.png</iconset>
   </property>
   <property name="text">
    <string>Systems</string>
   </property>
  </action>
  <action name="actionFermenters">
   <property name="icon">
    <iconset resource="../resources/icons.qrc">
     <normaloff>:/icons/bms/icons/bms/fridge.png</normaloff>:/icons/bms/icons/bms/fridge.png</iconset>
   </property>
   <property name="text">
    <string>Fermenters</string>
   </property>
  </action>
  <action name="actionCO2_Meters">
   <property name="icon">
    <iconset resource="../resources/icons.qrc">
     <normaloff>:/icons/bms/icons/bms/beerbottle.png</normaloff>:/icons/bms/icons/bms/beerbottle.png</iconset>
   </property>
   <property name="text">
    <string>CO2 Meters</string>
   </property>
  </action>
  <action name="actioniSpindels">
   <property name="icon">
    <iconset resource="../resources/icons.qrc">
     <normaloff>:/icons/bms/icons/bms/fermenter.png</normaloff>:/icons/bms/icons/bms/fermenter.png</iconset>
   </property>
   <property name="text">
    <string>iSpindels</string>
   </property>
  </action>
  <action name="actionSuppliers">
   <property name="icon">
    <iconset resource="../resources/icons.qrc">
     <normaloff>:/icons/silk/icons/silk/group.png</normaloff>:/icons/silk/icons/silk/group.png</iconset>
   </property>
   <property name="text">
    <string>Suppliers</string>
   </property>
  </action>
  <action name="actionFermentables">
   <property name="enabled">
    <bool>false</bool>
   </property>
   <property name="icon">
    <iconset resource="../resources/icons.qrc">
     <normaloff>:/icons/bms/icons/bms/graan.png</normaloff>:/icons/bms/icons/bms/graan.png</iconset>
   </property>
   <property name="text">
    <string>Fermentables</string>
   </property>
  </action>
  <action name="actionHops">
   <property name="enabled">
    <bool>false</bool>
   </property>
   <property name="icon">
    <iconset resource="../resources/icons.qrc">
     <normaloff>:/icons/bms/icons/bms/hop.png</normaloff>:/icons/bms/icons/bms/hop.png</iconset>
   </property>
   <property name="text">
    <string>Hops</string>
   </property>
  </action>
  <action name="actionYeasts">
   <property name="enabled">
    <bool>false</bool>
   </property>
   <property name="icon">
    <iconset resource="../resources/icons.qrc">
     <normaloff>:/icons/bms/icons/bms/erlenmeyer.png</normaloff>:/icons/bms/icons/bms/erlenmeyer.png</iconset>
   </property>
   <property name="text">
    <string>Yeasts</string>
   </property>
  </action>
  <action name="actionMiscs">
   <property name="enabled">
    <bool>false</bool>
   </property>
   <property name="icon">
    <iconset resource="../resources/icons.qrc">
     <normaloff>:/icons/bms/icons/bms/peper.png</normaloff>:/icons/bms/icons/bms/peper.png</iconset>
   </property>
   <property name="text">
    <string>Miscs</string>
   </property>
  </action>
  <action name="actionWaters">
   <property name="enabled">
    <bool>false</bool>
   </property>
   <property name="icon">
    <iconset resource="../resources/icons.qrc">
     <normaloff>:/icons/bms/icons/bms/water.png</normaloff>:/icons/bms/icons/bms/water.png</iconset>
   </property>
   <property name="text">
    <string>Waters</string>
   </property>
  </action>
  <action name="actionEquipments">
   <property name="enabled">
    <bool>false</bool>
   </property>
   <property name="icon">
    <iconset resource="../resources/icons.qrc">
     <normaloff>:/icons/bms/icons/bms/mash.png</normaloff>:/icons/bms/icons/bms/mash.png</iconset>
   </property>
   <property name="text">
    <string>Equipments</string>
   </property>
  </action>
  <action name="actionSupplies_list">
   <property name="enabled">
    <bool>false</bool>
   </property>
   <property name="icon">
    <iconset resource="../resources/icons.qrc">
     <normaloff>:/icons/silk/icons/silk/database.png</normaloff>:/icons/silk/icons/silk/database.png</iconset>
   </property>
   <property name="text">
    <string>Supplies list</string>
   </property>
  </action>
  <action name="actionYeast_bank">
   <property name="enabled">
    <bool>false</bool>
   </property>
   <property name="icon">
    <iconset resource="../resources/icons.qrc">
     <normaloff>:/icons/bms/icons/bms/science.png</normaloff>:/icons/bms/icons/bms/science.png</iconset>
   </property>
   <property name="text">
    <string>Yeast bank</string>
   </property>
  </action>
  <action name="actionWater_profiles">
   <property name="enabled">
    <bool>false</bool>
   </property>
   <property name="icon">
    <iconset resource="../resources/icons.qrc">
     <normaloff>:/icons/bms/icons/bms/water.png</normaloff>:/icons/bms/icons/bms/water.png</iconset>
   </property>
   <property name="text">
    <string>Water profiles</string>
   </property>
  </action>
  <action name="actionMash_schedules">
   <property name="enabled">
    <bool>false</bool>
   </property>
   <property name="icon">
    <iconset resource="../resources/icons.qrc">
     <normaloff>:/icons/bms/icons/bms/mash.png</normaloff>:/icons/bms/icons/bms/mash.png</iconset>
   </property>
   <property name="text">
    <string>Mash schedules</string>
   </property>
  </action>
  <action name="actionBeer_styles">
   <property name="enabled">
    <bool>false</bool>
   </property>
   <property name="icon">
    <iconset resource="../resources/icons.qrc">
     <normaloff>:/icons/bms/icons/bms/beerstyles.png</normaloff>:/icons/bms/icons/bms/beerstyles.png</iconset>
   </property>
   <property name="text">
    <string>Beer styles</string>
   </property>
  </action>
  <action name="actionFermentation_schedules">
   <property name="enabled">
    <bool>false</bool>
   </property>
   <property name="icon">
    <iconset resource="../resources/icons.qrc">
     <normaloff>:/icons/bms/icons/bms/fermenter.png</normaloff>:/icons/bms/icons/bms/fermenter.png</iconset>
   </property>
   <property name="text">
    <string>Fermentation schedules</string>
   </property>
  </action>
  <action name="actionGlobal_settings">
   <property name="icon">
    <iconset resource="../resources/icons.qrc">
     <normaloff>:/icons/silk/icons/silk/wrench.png</normaloff>:/icons/silk/icons/silk/wrench.png</iconset>
   </property>
   <property name="text">
    <string>Global settings</string>
   </property>
  </action>
 </widget>
 <layoutdefault spacing="6" margin="11"/>
 <resources>
  <include location="../resources/icons.qrc"/>
 </resources>
 <connections/>
</ui>

mercurial