VirtualBox

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

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

FE/Qt: UIDefs: Comments restyling cpp => c.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 6.0 KB
Line 
1/* $Id: UIDefs.cpp 41695 2012-06-14 09:03:50Z 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";
45
46/* Machine-window definitions: */
47const char* UIDefs::GUI_Input_MachineShortcuts = "GUI/Input/MachineShortcuts";
48const char* UIDefs::GUI_LastNormalWindowPosition = "GUI/LastNormalWindowPosition";
49const char* UIDefs::GUI_LastScaleWindowPosition = "GUI/LastScaleWindowPosition";
50const char* UIDefs::GUI_LastWindowState_Max = "max";
51const char* UIDefs::GUI_LastGuestSizeHint = "GUI/LastGuestSizeHint";
52const char* UIDefs::GUI_LastGuestSizeHintWasFullscreen = "GUI/LastGuestSizeHintWasFullscreen";
53const char* UIDefs::GUI_Fullscreen = "GUI/Fullscreen";
54const char* UIDefs::GUI_Seamless = "GUI/Seamless";
55const char* UIDefs::GUI_Scale = "GUI/Scale";
56const char* UIDefs::GUI_VirtualScreenToHostScreen = "GUI/VirtualScreenToHostScreen";
57const char* UIDefs::GUI_AutoresizeGuest = "GUI/AutoresizeGuest";
58const char* UIDefs::GUI_SaveMountedAtRuntime = "GUI/SaveMountedAtRuntime";
59const char* UIDefs::GUI_PassCAD = "GUI/PassCAD";
60
61/* Mini tool-bar definitions: */
62const char* UIDefs::GUI_ShowMiniToolBar = "GUI/ShowMiniToolBar";
63const char* UIDefs::GUI_MiniToolBarAlignment = "GUI/MiniToolBarAlignment";
64const char* UIDefs::GUI_MiniToolBarAutoHide = "GUI/MiniToolBarAutoHide";
65
66/* Close-dialog definitions: */
67const char* UIDefs::GUI_RestrictedCloseActions = "GUI/RestrictedCloseActions";
68const char* UIDefs::GUI_LastCloseAction = "GUI/LastCloseAction";
69const char* UIDefs::GUI_CloseActionHook = "GUI/CloseActionHook";
70
71/* Wizards definitions: */
72const char* UIDefs::GUI_FirstRun = "GUI/FirstRun";
73const char* UIDefs::GUI_HideDescriptionForWizards = "GUI/HideDescriptionForWizards";
74const char* UIDefs::GUI_Export_StorageType = "GUI/Export/StorageType";
75const char* UIDefs::GUI_Export_Username = "GUI/Export/Username";
76const char* UIDefs::GUI_Export_Hostname = "GUI/Export/Hostname";
77const char* UIDefs::GUI_Export_Bucket = "GUI/Export/Bucket";
78
79/* Message-center definitions: */
80const char* UIDefs::GUI_SuppressMessages = "GUI/SuppressMessages";
81const char* UIDefs::GUI_InvertMessageOption = "GUI/InvertMessageOption";
82
83/* Registration dialog definitions: */
84const char* UIDefs::GUI_RegistrationDlgWinID = "GUI/RegistrationDlgWinID";
85const char* UIDefs::GUI_RegistrationData = "GUI/SUNOnlineData";
86
87/* Update manager definitions: */
88const char* UIDefs::GUI_UpdateDate = "GUI/UpdateDate";
89const char* UIDefs::GUI_UpdateCheckCount = "GUI/UpdateCheckCount";
90
91/* Information dialog definitions: */
92const char* UIDefs::GUI_InfoDlgState = "GUI/InfoDlgState";
93
94#ifdef VBOX_WITH_DEBUGGER_GUI
95/* Debugger GUI declarations: */
96const char* UIDefs::GUI_DbgEnabled = "GUI/Dbg/Enabled";
97const char* UIDefs::GUI_DbgAutoShow = "GUI/Dbg/AutoShow";
98#endif /* VBOX_WITH_DEBUGGER_GUI */
99
100#ifdef Q_WS_X11
101/* License GUI declarations: */
102const char* UIDefs::GUI_LicenseKey = "GUI/LicenseAgreed";
103#endif /* Q_WS_X11 */
104
105#ifdef Q_WS_MAC
106/* Mac dock declarations: */
107const char* UIDefs::GUI_RealtimeDockIconUpdateEnabled = "GUI/RealtimeDockIconUpdateEnabled";
108const char* UIDefs::GUI_RealtimeDockIconUpdateMonitor = "GUI/RealtimeDockIconUpdateMonitor";
109const char* UIDefs::GUI_PresentationModeEnabled = "GUI/PresentationModeEnabled";
110#endif /* Q_WS_MAC */
111
112#ifdef VBOX_WITH_VIDEOHWACCEL
113/* Video-acceleration declarations: */
114const char* UIDefs::GUI_Accelerate2D_StretchLinear = "GUI/Accelerate2D/StretchLinear";
115const char* UIDefs::GUI_Accelerate2D_PixformatYV12 = "GUI/Accelerate2D/PixformatYV12";
116const char* UIDefs::GUI_Accelerate2D_PixformatUYVY = "GUI/Accelerate2D/PixformatUYVY";
117const char* UIDefs::GUI_Accelerate2D_PixformatYUY2 = "GUI/Accelerate2D/PixformatYUY2";
118const char* UIDefs::GUI_Accelerate2D_PixformatAYUV = "GUI/Accelerate2D/PixformatAYUV";
119#endif /* VBOX_WITH_VIDEOHWACCEL */
120
121#ifdef VBOX_GUI_WITH_SYSTRAY
122/* Tray icon declarations: */
123const char* UIDefs::GUI_TrayIconWinID = "GUI/TrayIcon/WinID";
124const char* UIDefs::GUI_TrayIconEnabled = "GUI/TrayIcon/Enabled";
125const char* UIDefs::GUI_MainWindowCount = "GUI/MainWindowCount";
126#endif /* VBOX_GUI_WITH_SYSTRAY */
127
128/* File extensions definitions: */
129QStringList UIDefs::VBoxFileExts = QStringList() << "xml" << "vbox";
130QStringList UIDefs::VBoxExtPackFileExts = QStringList() << "vbox-extpack";
131QStringList UIDefs::OVFFileExts = QStringList() << "ovf" << "ova";
132
Note: See TracBrowser for help on using the repository browser.

© 2023 Oracle
ContactPrivacy policyTerms of Use