From e0c4e036f59451f14c99180a1b21e1f40b057d50 Mon Sep 17 00:00:00 2001
From: Mohcine Chraibi <m.chraibi@fz-juelich.de>
Date: Sat, 10 Feb 2018 21:32:15 +0100
Subject: [PATCH] Fixes #51

---
 forms/mainwindow.ui | 23 +++++++++++++++++++----
 1 file changed, 19 insertions(+), 4 deletions(-)

diff --git a/forms/mainwindow.ui b/forms/mainwindow.ui
index 3251ae8..60ef2b1 100644
--- a/forms/mainwindow.ui
+++ b/forms/mainwindow.ui
@@ -539,7 +539,7 @@ border-color: rgb(255, 255, 255);</string>
      <x>0</x>
      <y>0</y>
      <width>450</width>
-     <height>25</height>
+     <height>22</height>
     </rect>
    </property>
    <widget class="QMenu" name="menuFile">
@@ -590,7 +590,7 @@ border-color: rgb(255, 255, 255);</string>
     <addaction name="actionBackground_Color"/>
     <addaction name="actionFloor_Color"/>
     <addaction name="actionWalls_Color"/>
-    <addaction name="actionExits_Color"/>
+    <!-- <addaction name="actionExtColor"/> -->
     <addaction name="actionObstacles_Color"/>
     <addaction name="actionNavigation_Lines_Color"/>
     <addaction name="separator"/>
@@ -711,6 +711,9 @@ border-color: rgb(255, 255, 255);</string>
    <property name="text">
     <string>Pause/Resume</string>
    </property>
+   <property name="shortcut">
+    <string>Space</string>
+   </property>
   </action>
   <action name="actionAbout">
    <property name="text">
@@ -780,6 +783,9 @@ border-color: rgb(255, 255, 255);</string>
    <property name="text">
     <string>Fullscreen</string>
    </property>
+   <property name="shortcut">
+    <string>F</string>
+   </property>
    <property name="visible">
     <bool>false</bool>
    </property>
@@ -827,6 +833,9 @@ border-color: rgb(255, 255, 255);</string>
    <property name="text">
     <string>Reset All</string>
    </property>
+   <property name="shortcut">
+    <string>Alt+A</string>
+   </property>
   </action>
   <action name="actionAdd_Trajectories_File">
    <property name="enabled">
@@ -1188,11 +1197,17 @@ border-color: rgb(255, 255, 255);</string>
    <property name="text">
     <string>Walls Color</string>
    </property>
+   <property name="shortcut">
+    <string>Ctrl+W</string>
+   </property>
   </action>
-  <action name="actionExits_Color">
+  <action name="actionExtColor">
    <property name="text">
     <string>Exits Color</string>
    </property>
+   <property name="shortcut">
+    <string>Ctrl+E</string>
+   </property>
   </action>
   <action name="actionShow_Onscreen_Infos">
    <property name="checkable">
@@ -2043,7 +2058,7 @@ border-color: rgb(255, 255, 255);</string>
    </hints>
   </connection>
   <connection>
-   <sender>actionExits_Color</sender>
+   <sender>actionExtColor</sender>
    <signal>triggered()</signal>
    <receiver>mainwindow</receiver>
    <slot>slotChangeExitsColor()</slot>
-- 
GitLab