Changeset 35752 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Jan 28, 2011 10:57:53 AM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 69709
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/runtime
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineShortcuts.cpp
r35634 r35752 61 61 m_Shortcuts[UpdateShortcut] = UIKeySequence("Update"); 62 62 m_Shortcuts[AboutShortcut] = UIKeySequence("About"); 63 m_Shortcuts[PopupMenuShortcut] = UIKeySequence("PopupMenu", "Home"); 63 64 /* Overwrite the key sequences with the one in extra data. */ 64 65 loadExtraData(VBoxDefs::GUI_Input_MachineShortcuts, EndShortcutType); -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineShortcuts.h
r35634 r35752 59 59 UpdateShortcut, 60 60 AboutShortcut, 61 EndShortcutType, 61 PopupMenuShortcut, 62 EndShortcutType 62 63 }; 63 64 -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/fullscreen/UIKeyboardHandlerFullscreen.cpp
r30675 r35752 26 26 #include "UIKeyboardHandlerFullscreen.h" 27 27 #include "UIMachineWindow.h" 28 #include "UIMachineShortcuts.h" 28 29 29 30 /* Fullscreen keyboard-handler constructor: */ … … 55 56 QKeyEvent *pKeyEvent = static_cast<QKeyEvent*>(pEvent); 56 57 /* Process Host+Home for menu popup: */ 57 if (isHostKeyPressed() && pKeyEvent->key() == Qt::Key_Home)58 if (isHostKeyPressed() && pKeyEvent->key() == gMS->keySequence(UIMachineShortcuts::PopupMenuShortcut)) 58 59 { 59 60 /* Post request to show popup-menu: */ -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/normal/UIKeyboardHandlerNormal.cpp
r30675 r35752 26 26 #include "UIKeyboardHandlerNormal.h" 27 27 #include "UIMachineWindow.h" 28 #include "UIMachineShortcuts.h" 28 29 29 30 /* Fullscreen keyboard-handler constructor: */ … … 58 59 QKeyEvent *pKeyEvent = static_cast<QKeyEvent*>(pEvent); 59 60 /* Process Host+Home as menu-bar activator: */ 60 if (isHostKeyPressed() && pKeyEvent->key() == Qt::Key_Home)61 if (isHostKeyPressed() && pKeyEvent->key() == gMS->keySequence(UIMachineShortcuts::PopupMenuShortcut)) 61 62 { 62 63 /* Trying to get menu-bar: */ -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/scale/UIKeyboardHandlerScale.cpp
r30848 r35752 26 26 #include "UIKeyboardHandlerScale.h" 27 27 #include "UIMachineWindow.h" 28 #include "UIMachineShortcuts.h" 28 29 29 30 /* Fullscreen keyboard-handler constructor: */ … … 58 59 QKeyEvent *pKeyEvent = static_cast<QKeyEvent*>(pEvent); 59 60 /* Process Host+Home for menu popup: */ 60 if (isHostKeyPressed() && pKeyEvent->key() == Qt::Key_Home)61 if (isHostKeyPressed() && pKeyEvent->key() == gMS->keySequence(UIMachineShortcuts::PopupMenuShortcut)) 61 62 { 62 63 /* Post request to show popup-menu: */ -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/seamless/UIKeyboardHandlerSeamless.cpp
r30675 r35752 26 26 #include "UIKeyboardHandlerSeamless.h" 27 27 #include "UIMachineWindow.h" 28 #include "UIMachineShortcuts.h" 28 29 29 30 /* Fullscreen keyboard-handler constructor: */ … … 55 56 QKeyEvent *pKeyEvent = static_cast<QKeyEvent*>(pEvent); 56 57 /* Process Host+Home for menu popup: */ 57 if (isHostKeyPressed() && pKeyEvent->key() == Qt::Key_Home)58 if (isHostKeyPressed() && pKeyEvent->key() == gMS->keySequence(UIMachineShortcuts::PopupMenuShortcut)) 58 59 { 59 60 /* Post request to show popup-menu: */
Note:
See TracChangeset
for help on using the changeset viewer.