--- a/src/mainwindow.ui Sat Mar 05 00:51:23 2022 +0200 +++ b/src/mainwindow.ui Sat Mar 05 12:42:14 2022 +0200 @@ -26,7 +26,7 @@ <x>0</x> <y>0</y> <width>800</width> - <height>32</height> + <height>35</height> </rect> </property> <widget class="QMenu" name="menuFile"> @@ -63,12 +63,49 @@ <addaction name="menuView"/> </widget> <widget class="QStatusBar" name="statusbar"/> + <widget class="QToolBar" name="fileToolBar"> + <property name="windowTitle"> + <string>toolBar</string> + </property> + <attribute name="toolBarArea"> + <enum>TopToolBarArea</enum> + </attribute> + <attribute name="toolBarBreak"> + <bool>false</bool> + </attribute> + <addaction name="actionNew"/> + <addaction name="actionOpen"/> + <addaction name="actionSave"/> + <addaction name="actionSaveAs"/> + </widget> + <widget class="QToolBar" name="toolBar"> + <property name="windowTitle"> + <string>toolBar</string> + </property> + <attribute name="toolBarArea"> + <enum>TopToolBarArea</enum> + </attribute> + <attribute name="toolBarBreak"> + <bool>false</bool> + </attribute> + <addaction name="actionRenderStyleNormal"/> + <addaction name="actionRenderStyleBfc"/> + <addaction name="actionRenderStyleRandom"/> + </widget> <action name="actionQuit"> + <property name="icon"> + <iconset resource="../ldforge.qrc"> + <normaloff>:/icons/close.png</normaloff>:/icons/close.png</iconset> + </property> <property name="text"> <string>Quit</string> </property> </action> <action name="actionOpen"> + <property name="icon"> + <iconset resource="../ldforge.qrc"> + <normaloff>:/icons/folder-open-outline.png</normaloff>:/icons/folder-open-outline.png</iconset> + </property> <property name="text"> <string>Open…</string> </property> @@ -77,6 +114,10 @@ </property> </action> <action name="actionNew"> + <property name="icon"> + <iconset resource="../ldforge.qrc"> + <normaloff>:/icons/document-outline.png</normaloff>:/icons/document-outline.png</iconset> + </property> <property name="text"> <string>New</string> </property> @@ -85,6 +126,10 @@ </property> </action> <action name="actionSettingsEditor"> + <property name="icon"> + <iconset resource="../ldforge.qrc"> + <normaloff>:/icons/settings-outline.png</normaloff>:/icons/settings-outline.png</iconset> + </property> <property name="text"> <string>Preferences…</string> </property> @@ -93,6 +138,10 @@ <property name="checkable"> <bool>true</bool> </property> + <property name="icon"> + <iconset resource="../ldforge.qrc"> + <normaloff>:/icons/renderstyle-normal.png</normaloff>:/icons/renderstyle-normal.png</iconset> + </property> <property name="text"> <string>Normal colours</string> </property> @@ -101,6 +150,10 @@ <property name="checkable"> <bool>true</bool> </property> + <property name="icon"> + <iconset resource="../ldforge.qrc"> + <normaloff>:/icons/renderstyle-bfc.png</normaloff>:/icons/renderstyle-bfc.png</iconset> + </property> <property name="text"> <string>BFC color coding</string> </property> @@ -109,6 +162,10 @@ <property name="checkable"> <bool>true</bool> </property> + <property name="icon"> + <iconset resource="../ldforge.qrc"> + <normaloff>:/icons/renderstyle-randomcolors.png</normaloff>:/icons/renderstyle-randomcolors.png</iconset> + </property> <property name="text"> <string>Random colours</string> </property> @@ -130,6 +187,10 @@ </property> </action> <action name="actionSave"> + <property name="icon"> + <iconset resource="../ldforge.qrc"> + <normaloff>:/icons/save-outline.png</normaloff>:/icons/save-outline.png</iconset> + </property> <property name="text"> <string>Save</string> </property> @@ -138,6 +199,10 @@ </property> </action> <action name="actionSaveAs"> + <property name="icon"> + <iconset resource="../ldforge.qrc"> + <normaloff>:/icons/save-as-outline.png</normaloff>:/icons/save-as-outline.png</iconset> + </property> <property name="text"> <string>Save as…</string> </property> @@ -146,6 +211,8 @@ </property> </action> </widget> - <resources/> + <resources> + <include location="../ldforge.qrc"/> + </resources> <connections/> </ui>