VirtualBox

source: vbox/trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineShortcuts.h@ 35740

Last change on this file since 35740 was 35634, checked in by vboxsync, 13 years ago

FE/Qt4: allow free configurable key shortcuts in the selector and machine window

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.0 KB
Line 
1/** @file
2 *
3 * VBox frontends: Qt GUI ("VirtualBox"):
4 * UIMachineShortcuts class declarations
5 */
6
7/*
8 * Copyright (C) 2011 Oracle Corporation
9 *
10 * This file is part of VirtualBox Open Source Edition (OSE), as
11 * available from http://www.virtualbox.org. This file is free software;
12 * you can redistribute it and/or modify it under the terms of the GNU
13 * General Public License (GPL) as published by the Free Software
14 * Foundation, in version 2 as it comes in the "COPYING" file of the
15 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
16 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
17 */
18
19#ifndef __UIMachineShortcuts_h__
20#define __UIMachineShortcuts_h__
21
22/* Local includes */
23#include "UIShortcuts.h"
24
25class UIMachineShortcuts: public UIShortcuts<UIMachineShortcuts>
26{
27public:
28 enum MachineShortcutType
29 {
30 FullscreenModeShortcut,
31 SeamlessModeShortcut,
32 ScaleModeShortcut,
33 GuestAutoresizeShortcut,
34 WindowAdjustShortcut,
35 MouseIntegrationShortcut,
36 TypeCADShortcut,
37 TypeCABSShortcut,
38 TakeSnapshotShortcut,
39 InformationDialogShortcut,
40 PauseShortcut,
41 ResetShortcut,
42 ShutdownShortcut,
43 CloseShortcut,
44 NetworkAdaptersDialogShortcut,
45 SharedFoldersDialogShortcut,
46 VRDPServerShortcut,
47 InstallGuestAdditionsShortcut,
48#ifdef VBOX_WITH_DEBUGGER_GUI
49 StatisticWindowShortcut,
50 CommandLineWindowShortcut,
51 LoggingShortcut,
52#endif /* VBOX_WITH_DEBUGGER_GUI */
53 HelpShortcut,
54 WebShortcut,
55 ResetWarningsShortcut,
56#ifdef VBOX_WITH_REGISTRATION
57 RegisterShortcut,
58#endif /* VBOX_WITH_REGISTRATION */
59 UpdateShortcut,
60 AboutShortcut,
61 EndShortcutType,
62 };
63
64private:
65 /* Private member vars */
66 UIMachineShortcuts();
67
68 friend class UIShortcuts<UIMachineShortcuts>;
69};
70
71#define gMS UIMachineShortcuts::instance()
72
73#endif /* !__UIMachineShortcuts_h__ */
Note: See TracBrowser for help on using the repository browser.

© 2023 Oracle
ContactPrivacy policyTerms of Use