VirtualBox

source: vbox/trunk/src/VBox/Frontends/VirtualBox/src/globals/UIDefs.cpp@ 43138

Last change on this file since 43138 was 42526, checked in by vboxsync, 12 years ago

FE/Qt: 6234: Support for VM groups: Initial commit. GUI-3 branch reintegrated to trunk.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 6.2 KB
Line 
1/* $Id: UIDefs.cpp 42526 2012-08-02 10:31:28Z vboxsync $ */
2/** @file
3 *
4 * VBox frontends: Qt GUI ("VirtualBox"):
5 * Global definitions and function implementations
6 */
7
8/*
9 * Copyright (C) 2006-2012 Oracle Corporation
10 *
11 * This file is part of VirtualBox Open Source Edition (OSE), as
12 * available from http://www.virtualbox.org. This file is free software;
13 * you can redistribute it and/or modify it under the terms of the GNU
14 * General Public License (GPL) as published by the Free Software
15 * Foundation, in version 2 as it comes in the "COPYING" file of the
16 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
17 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
18 */
19
20/* GUI includes: */
21#include "UIDefs.h"
22
23/* Global definitions: */
24const char* UIDefs::GUI_RenderMode = "GUI/RenderMode";
25const char* UIDefs::GUI_LanguageId = "GUI/LanguageID";
26const char* UIDefs::GUI_ExtPackName = "Oracle VM VirtualBox Extension Pack";
27const char* UIDefs::GUI_PreventBetaWarning = "GUI/PreventBetaWarning";
28const char* UIDefs::GUI_RecentFolderHD = "GUI/RecentFolderHD";
29const char* UIDefs::GUI_RecentFolderCD = "GUI/RecentFolderCD";
30const char* UIDefs::GUI_RecentFolderFD = "GUI/RecentFolderFD";
31const char* UIDefs::GUI_RecentListHD = "GUI/RecentListHD";
32const char* UIDefs::GUI_RecentListCD = "GUI/RecentListCD";
33const char* UIDefs::GUI_RecentListFD = "GUI/RecentListFD";
34
35/* Selector-window definitions: */
36const char* UIDefs::GUI_Input_SelectorShortcuts = "GUI/Input/SelectorShortcuts";
37const char* UIDefs::GUI_LastSelectorWindowPosition = "GUI/LastWindowPosition";
38const char* UIDefs::GUI_SplitterSizes = "GUI/SplitterSizes";
39const char* UIDefs::GUI_Toolbar = "GUI/Toolbar";
40const char* UIDefs::GUI_Statusbar = "GUI/Statusbar";
41const char* UIDefs::GUI_PreviewUpdate = "GUI/PreviewUpdate";
42const char* UIDefs::GUI_DetailsPageBoxes = "GUI/DetailsPageBoxes";
43const char* UIDefs::GUI_SelectorVMPositions = "GUI/SelectorVMPositions";
44const char* UIDefs::GUI_LastVMSelected = "GUI/LastVMSelected";
45const char* UIDefs::GUI_LastItemSelected = "GUI/LastItemSelected";
46const char* UIDefs::GUI_GroupDefinitions = "GUI/GroupDefinitions";
47
48/* Machine-window definitions: */
49const char* UIDefs::GUI_Input_MachineShortcuts = "GUI/Input/MachineShortcuts";
50const char* UIDefs::GUI_LastNormalWindowPosition = "GUI/LastNormalWindowPosition";
51const char* UIDefs::GUI_LastScaleWindowPosition = "GUI/LastScaleWindowPosition";
52const char* UIDefs::GUI_LastWindowState_Max = "max";
53const char* UIDefs::GUI_LastGuestSizeHint = "GUI/LastGuestSizeHint";
54const char* UIDefs::GUI_LastGuestSizeHintWasFullscreen = "GUI/LastGuestSizeHintWasFullscreen";
55const char* UIDefs::GUI_Fullscreen = "GUI/Fullscreen";
56const char* UIDefs::GUI_Seamless = "GUI/Seamless";
57const char* UIDefs::GUI_Scale = "GUI/Scale";
58const char* UIDefs::GUI_VirtualScreenToHostScreen = "GUI/VirtualScreenToHostScreen";
59const char* UIDefs::GUI_AutoresizeGuest = "GUI/AutoresizeGuest";
60const char* UIDefs::GUI_SaveMountedAtRuntime = "GUI/SaveMountedAtRuntime";
61const char* UIDefs::GUI_PassCAD = "GUI/PassCAD";
62
63/* Mini tool-bar definitions: */
64const char* UIDefs::GUI_ShowMiniToolBar = "GUI/ShowMiniToolBar";
65const char* UIDefs::GUI_MiniToolBarAlignment = "GUI/MiniToolBarAlignment";
66const char* UIDefs::GUI_MiniToolBarAutoHide = "GUI/MiniToolBarAutoHide";
67
68/* Close-dialog definitions: */
69const char* UIDefs::GUI_RestrictedCloseActions = "GUI/RestrictedCloseActions";
70const char* UIDefs::GUI_LastCloseAction = "GUI/LastCloseAction";
71const char* UIDefs::GUI_CloseActionHook = "GUI/CloseActionHook";
72
73/* Wizards definitions: */
74const char* UIDefs::GUI_FirstRun = "GUI/FirstRun";
75const char* UIDefs::GUI_HideDescriptionForWizards = "GUI/HideDescriptionForWizards";
76const char* UIDefs::GUI_Export_StorageType = "GUI/Export/StorageType";
77const char* UIDefs::GUI_Export_Username = "GUI/Export/Username";
78const char* UIDefs::GUI_Export_Hostname = "GUI/Export/Hostname";
79const char* UIDefs::GUI_Export_Bucket = "GUI/Export/Bucket";
80
81/* Message-center definitions: */
82const char* UIDefs::GUI_SuppressMessages = "GUI/SuppressMessages";
83const char* UIDefs::GUI_InvertMessageOption = "GUI/InvertMessageOption";
84
85/* Registration dialog definitions: */
86const char* UIDefs::GUI_RegistrationDlgWinID = "GUI/RegistrationDlgWinID";
87const char* UIDefs::GUI_RegistrationData = "GUI/SUNOnlineData";
88
89/* Update manager definitions: */
90const char* UIDefs::GUI_UpdateDate = "GUI/UpdateDate";
91const char* UIDefs::GUI_UpdateCheckCount = "GUI/UpdateCheckCount";
92
93/* Information dialog definitions: */
94const char* UIDefs::GUI_InfoDlgState = "GUI/InfoDlgState";
95
96#ifdef VBOX_WITH_DEBUGGER_GUI
97/* Debugger GUI declarations: */
98const char* UIDefs::GUI_DbgEnabled = "GUI/Dbg/Enabled";
99const char* UIDefs::GUI_DbgAutoShow = "GUI/Dbg/AutoShow";
100#endif /* VBOX_WITH_DEBUGGER_GUI */
101
102#ifdef Q_WS_X11
103/* License GUI declarations: */
104const char* UIDefs::GUI_LicenseKey = "GUI/LicenseAgreed";
105#endif /* Q_WS_X11 */
106
107#ifdef Q_WS_MAC
108/* Mac dock declarations: */
109const char* UIDefs::GUI_RealtimeDockIconUpdateEnabled = "GUI/RealtimeDockIconUpdateEnabled";
110const char* UIDefs::GUI_RealtimeDockIconUpdateMonitor = "GUI/RealtimeDockIconUpdateMonitor";
111const char* UIDefs::GUI_PresentationModeEnabled = "GUI/PresentationModeEnabled";
112#endif /* Q_WS_MAC */
113
114#ifdef VBOX_WITH_VIDEOHWACCEL
115/* Video-acceleration declarations: */
116const char* UIDefs::GUI_Accelerate2D_StretchLinear = "GUI/Accelerate2D/StretchLinear";
117const char* UIDefs::GUI_Accelerate2D_PixformatYV12 = "GUI/Accelerate2D/PixformatYV12";
118const char* UIDefs::GUI_Accelerate2D_PixformatUYVY = "GUI/Accelerate2D/PixformatUYVY";
119const char* UIDefs::GUI_Accelerate2D_PixformatYUY2 = "GUI/Accelerate2D/PixformatYUY2";
120const char* UIDefs::GUI_Accelerate2D_PixformatAYUV = "GUI/Accelerate2D/PixformatAYUV";
121#endif /* VBOX_WITH_VIDEOHWACCEL */
122
123#ifdef VBOX_GUI_WITH_SYSTRAY
124/* Tray icon declarations: */
125const char* UIDefs::GUI_TrayIconWinID = "GUI/TrayIcon/WinID";
126const char* UIDefs::GUI_TrayIconEnabled = "GUI/TrayIcon/Enabled";
127const char* UIDefs::GUI_MainWindowCount = "GUI/MainWindowCount";
128#endif /* VBOX_GUI_WITH_SYSTRAY */
129
130/* File extensions definitions: */
131QStringList UIDefs::VBoxFileExts = QStringList() << "xml" << "vbox";
132QStringList UIDefs::VBoxExtPackFileExts = QStringList() << "vbox-extpack";
133QStringList UIDefs::OVFFileExts = QStringList() << "ovf" << "ova";
134
Note: See TracBrowser for help on using the repository browser.

© 2023 Oracle
ContactPrivacy policyTerms of Use