# HG changeset patch # User Teemu Piippo <teemu@hecknology.net> # Date 1647175994 -7200 # Node ID 7b9b85b459de64a7d046be4b5cb79a7da67a841c # Parent a23024fc98e0f54e1d6f4c4486dc301ffdc3307b# Parent 41628bdab71c3618fcf04ea7570731605342e458 merge diff -r a23024fc98e0 -r 7b9b85b459de src/mainwindow.ui --- 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"/>