Fri, 11 Feb 2022 16:00:06 +0100
Menus setup started.
--- a/resources/icons.qrc Fri Feb 11 14:22:26 2022 +0100 +++ b/resources/icons.qrc Fri Feb 11 16:00:06 2022 +0100 @@ -1001,4 +1001,18 @@ <file>icons/silk/zoom_out.png</file> <file>icons/silk/zoom.png</file> </qresource> + <qresource prefix="/icons/bms"> + <file>icons/bms/beer.png</file> + <file>icons/bms/beerbottle.png</file> + <file>icons/bms/beerstyles.png</file> + <file>icons/bms/erlenmeyer.png</file> + <file>icons/bms/fermenter.png</file> + <file>icons/bms/fridge.png</file> + <file>icons/bms/graan.png</file> + <file>icons/bms/hop.png</file> + <file>icons/bms/mash.png</file> + <file>icons/bms/peper.png</file> + <file>icons/bms/science.png</file> + <file>icons/bms/water.png</file> + </qresource> </RCC>
--- a/ui/MainWindow.ui Fri Feb 11 14:22:26 2022 +0100 +++ b/ui/MainWindow.ui Fri Feb 11 16:00:06 2022 +0100 @@ -57,13 +57,16 @@ <rect> <x>0</x> <y>0</y> - <width>1450</width> - <height>28</height> + <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> + <string>File</string> </property> <addaction name="actionExit"/> </widget> @@ -73,19 +76,54 @@ </property> <addaction name="actionAbout"/> </widget> - <widget class="QMenu" name="menuProfiles"> + <widget class="QMenu" name="menuSettings"> <property name="title"> - <string>&Profiles</string> + <string>&Settings</string> </property> </widget> <widget class="QMenu" name="menuInventory"> <property name="title"> - <string>&Inventory</string> + <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="menuProfiles"/> + <addaction name="menuSettings"/> <addaction name="menuHelp"/> </widget> <widget class="QStatusBar" name="statusBar"/> @@ -126,9 +164,6 @@ <property name="text"> <string>&Exit</string> </property> - <property name="shortcut"> - <string>Ctrl+Q</string> - </property> </action> <action name="actionAbout"> <property name="icon"> @@ -139,6 +174,119 @@ <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="text"> + <string>Suppliers</string> + </property> + </action> + <action name="actionFermentables"> + <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="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="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="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="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="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="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="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> </widget> <layoutdefault spacing="6" margin="11"/> <resources>