Sun, 13 Mar 2022 14:53:14 +0200
merge
--- a/src/mainwindow.ui Sun Mar 13 14:51:39 2022 +0200 +++ b/src/mainwindow.ui Sun Mar 13 14:53:14 2022 +0200 @@ -30,7 +30,7 @@ <x>0</x> <y>0</y> <width>800</width> - <height>27</height> + <height>31</height> </rect> </property> <widget class="QMenu" name="menuFile"> @@ -70,6 +70,10 @@ <string>Edit</string> </property> <addaction name="actionDelete"/> + <addaction name="separator"/> + <addaction name="actionGridFine"/> + <addaction name="actionGridMedium"/> + <addaction name="actionGridCoarse"/> </widget> <addaction name="menuFile"/> <addaction name="menuView"/> @@ -117,6 +121,9 @@ <bool>false</bool> </attribute> <addaction name="actionDelete"/> + <addaction name="actionGridFine"/> + <addaction name="actionGridMedium"/> + <addaction name="actionGridCoarse"/> </widget> <action name="actionQuit"> <property name="icon"> @@ -272,6 +279,39 @@ <string>Draw axes</string> </property> </action> + <action name="actionGridFine"> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="text"> + <string>Fine grid</string> + </property> + <property name="shortcut"> + <string>Ctrl+1</string> + </property> + </action> + <action name="actionGridMedium"> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="text"> + <string>Medium grid</string> + </property> + <property name="shortcut"> + <string>Ctrl+2</string> + </property> + </action> + <action name="actionGridCoarse"> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="text"> + <string>Coarse grid</string> + </property> + <property name="shortcut"> + <string>Ctrl+3</string> + </property> + </action> </widget> <resources> <include location="../ldforge.qrc"/>