Change tool hotkeys from <number> to to <Ctrl>+<number>

This allows better combined playing+editing experience [Maikel]
directional-lights
Sven Eberhardt 2016-10-08 19:14:43 -04:00
parent 685513816f
commit 45718ee44d
1 changed files with 308 additions and 333 deletions

View File

@ -18,15 +18,9 @@
<normaloff>:/editor/res/oc64.png</normaloff>:/editor/res/oc64.png</iconset>
</property>
<widget class="QWidget" name="centralwidget">
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QComboBox" name="foregroundMatTexComboBox">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>74</width>
<height>20</height>
</rect>
</property>
<property name="editable">
<bool>false</bool>
</property>
@ -34,28 +28,16 @@
<enum>QComboBox::AdjustToContents</enum>
</property>
</widget>
<widget class="QComboBox" name="backgroundMatTexComboBox">
<property name="geometry">
<rect>
<x>10</x>
<y>30</y>
<width>74</width>
<height>20</height>
</rect>
</property>
<property name="sizeAdjustPolicy">
<enum>QComboBox::AdjustToContents</enum>
</item>
<item row="0" column="1">
<widget class="QLabel" name="drawSizeLabel">
<property name="text">
<string comment="res">IDS_CTL_SIZE</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QSlider" name="drawSizeSlider">
<property name="geometry">
<rect>
<x>200</x>
<y>10</y>
<width>100</width>
<height>16</height>
</rect>
</property>
<property name="maximumSize">
<size>
<width>100</width>
@ -72,28 +54,16 @@
<enum>Qt::Horizontal</enum>
</property>
</widget>
<widget class="QLabel" name="drawSizeLabel">
<property name="geometry">
<rect>
<x>150</x>
<y>10</y>
<width>47</width>
<height>13</height>
</rect>
</property>
<property name="text">
<string comment="res">IDS_CTL_SIZE</string>
</item>
<item row="1" column="0">
<widget class="QComboBox" name="backgroundMatTexComboBox">
<property name="sizeAdjustPolicy">
<enum>QComboBox::AdjustToContents</enum>
</property>
</widget>
</item>
<item row="2" column="0" colspan="3">
<widget class="QDockWidget" name="welcomeDockWidget">
<property name="geometry">
<rect>
<x>30</x>
<y>60</y>
<width>311</width>
<height>211</height>
</rect>
</property>
<property name="windowTitle">
<string comment="res">IDS_CNS_WELCOME</string>
</property>
@ -197,8 +167,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>311</width>
<height>191</height>
<width>417</width>
<height>229</height>
</rect>
</property>
<layout class="QVBoxLayout" name="welcomeScrollLayout">
@ -351,6 +321,8 @@
</layout>
</widget>
</widget>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
@ -770,6 +742,9 @@
<property name="toolTip">
<string comment="res">IDS_TEXT_UNPAUSETHEGAME</string>
</property>
<property name="shortcut">
<string/>
</property>
</action>
<action name="actionPause">
<property name="checkable">
@ -810,7 +785,7 @@
<string comment="res">IDS_TEXT_CURSOR_GAME</string>
</property>
<property name="shortcut">
<string>1</string>
<string>Ctrl+1</string>
</property>
</action>
<action name="actionCursorSelect">
@ -831,7 +806,7 @@
<string comment="res">IDS_TEXT_CURSOR_SELECT</string>
</property>
<property name="shortcut">
<string>2</string>
<string>Ctrl+2</string>
</property>
</action>
<action name="actionCursorDrawPen">
@ -852,7 +827,7 @@
<string comment="res">IDS_TEXT_CURSOR_DRAWPEN</string>
</property>
<property name="shortcut">
<string>4</string>
<string>Ctrl+4</string>
</property>
</action>
<action name="actionCursorDrawLine">
@ -873,7 +848,7 @@
<string comment="res">IDS_TEXT_CURSOR_DRAWLINE</string>
</property>
<property name="shortcut">
<string>5</string>
<string>Ctrl+5</string>
</property>
</action>
<action name="actionCursorDrawRect">
@ -894,7 +869,7 @@
<string comment="res">IDS_TEXT_CURSOR_DRAWRECT</string>
</property>
<property name="shortcut">
<string>6</string>
<string>Ctrl+6</string>
</property>
</action>
<action name="actionCursorPicker">
@ -915,7 +890,7 @@
<string comment="res">IDS_TEXT_CURSOR_DRAWPICKER</string>
</property>
<property name="shortcut">
<string>8</string>
<string>Ctrl+8</string>
</property>
</action>
<action name="actionDynamicLandscape">
@ -993,7 +968,7 @@
<string comment="res">IDS_TEXT_CURSOR_DRAWFILL</string>
</property>
<property name="shortcut">
<string>7</string>
<string>Ctrl+7</string>
</property>
</action>
<action name="actionViewportNew">
@ -1096,7 +1071,7 @@
<string comment="res">IDS_TEXT_CURSOR_CREATOR</string>
</property>
<property name="shortcut">
<string>3</string>
<string>Ctrl+3</string>
</property>
</action>
<action name="actionFileNew">