1 | /* $Id: UIExtraDataDefs.cpp 106061 2024-09-16 14:03:52Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * VBox Qt GUI - Extra-data related definitions.
|
---|
4 | */
|
---|
5 |
|
---|
6 | /*
|
---|
7 | * Copyright (C) 2006-2024 Oracle and/or its affiliates.
|
---|
8 | *
|
---|
9 | * This file is part of VirtualBox base platform packages, as
|
---|
10 | * available from https://www.virtualbox.org.
|
---|
11 | *
|
---|
12 | * This program is free software; you can redistribute it and/or
|
---|
13 | * modify it under the terms of the GNU General Public License
|
---|
14 | * as published by the Free Software Foundation, in version 3 of the
|
---|
15 | * License.
|
---|
16 | *
|
---|
17 | * This program is distributed in the hope that it will be useful, but
|
---|
18 | * WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
20 | * General Public License for more details.
|
---|
21 | *
|
---|
22 | * You should have received a copy of the GNU General Public License
|
---|
23 | * along with this program; if not, see <https://www.gnu.org/licenses>.
|
---|
24 | *
|
---|
25 | * SPDX-License-Identifier: GPL-3.0-only
|
---|
26 | */
|
---|
27 |
|
---|
28 | /* GUI includes: */
|
---|
29 | #include "UIExtraDataDefs.h"
|
---|
30 |
|
---|
31 |
|
---|
32 | /* General: */
|
---|
33 | const char *UIExtraDataDefs::GUI_RestrictedDialogs = "GUI/RestrictedDialogs";
|
---|
34 | const char *UIExtraDataDefs::GUI_ColorTheme = "GUI/ColorTheme";
|
---|
35 |
|
---|
36 |
|
---|
37 | /* Messaging: */
|
---|
38 | const char *UIExtraDataDefs::GUI_SuppressMessages = "GUI/SuppressMessages";
|
---|
39 | const char *UIExtraDataDefs::GUI_InvertMessageOption = "GUI/InvertMessageOption";
|
---|
40 | #ifdef VBOX_NOTIFICATION_CENTER_WITH_KEEP_BUTTON
|
---|
41 | const char *UIExtraDataDefs::GUI_NotificationCenter_KeepSuccessfullProgresses = "GUI/NotificationCenter/KeepSuccessfullProgresses";
|
---|
42 | #endif
|
---|
43 | const char *UIExtraDataDefs::GUI_NotificationCenter_Alignment = "GUI/NotificationCenter/Alignment";
|
---|
44 | const char *UIExtraDataDefs::GUI_NotificationCenter_Order = "GUI/NotificationCenter/Order";
|
---|
45 | const char *UIExtraDataDefs::GUI_PreventBetaLabel = "GUI/PreventBetaLabel";
|
---|
46 | #if !defined(VBOX_BLEEDING_EDGE) && !defined(DEBUG)
|
---|
47 | const char *UIExtraDataDefs::GUI_PreventBetaWarning = "GUI/PreventBetaWarning";
|
---|
48 | #endif
|
---|
49 |
|
---|
50 |
|
---|
51 | #ifdef VBOX_GUI_WITH_NETWORK_MANAGER
|
---|
52 | /* Application Update: */
|
---|
53 | const char *UIExtraDataDefs::GUI_PreventApplicationUpdate = "GUI/PreventApplicationUpdate";
|
---|
54 | const char *UIExtraDataDefs::GUI_UpdateDate = "GUI/UpdateDate";
|
---|
55 | const char *UIExtraDataDefs::GUI_UpdateCheckCount = "GUI/UpdateCheckCount";
|
---|
56 | #endif /* VBOX_GUI_WITH_NETWORK_MANAGER */
|
---|
57 |
|
---|
58 |
|
---|
59 | /* Progress: */
|
---|
60 | const char *UIExtraDataDefs::GUI_Progress_LegacyMode = "GUI/Progress/LegacyMode";
|
---|
61 |
|
---|
62 |
|
---|
63 | /* Settings: */
|
---|
64 | const char *UIExtraDataDefs::GUI_Customizations = "GUI/Customizations";
|
---|
65 | const char *UIExtraDataDefs::GUI_RestrictedGlobalSettingsPages = "GUI/RestrictedGlobalSettingsPages";
|
---|
66 | const char *UIExtraDataDefs::GUI_RestrictedMachineSettingsPages = "GUI/RestrictedMachineSettingsPages";
|
---|
67 | const char *UIExtraDataDefs::GUI_Settings_ExpertMode = "GUI/Settings/ExpertMode";
|
---|
68 |
|
---|
69 | /* Settings: Language: */
|
---|
70 | const char *UIExtraDataDefs::GUI_LanguageID = "GUI/LanguageID";
|
---|
71 |
|
---|
72 | /* Settings: Display: */
|
---|
73 | const char *UIExtraDataDefs::GUI_MaxGuestResolution = "GUI/MaxGuestResolution";
|
---|
74 | const char *UIExtraDataDefs::GUI_ActivateHoveredMachineWindow = "GUI/ActivateHoveredMachineWindow";
|
---|
75 | const char *UIExtraDataDefs::GUI_DisableHostScreenSaver = "GUI/DisableHostScreenSaver";
|
---|
76 |
|
---|
77 | /* Settings: Keyboard: */
|
---|
78 | const char *UIExtraDataDefs::GUI_Input_SelectorShortcuts = "GUI/Input/SelectorShortcuts";
|
---|
79 | const char *UIExtraDataDefs::GUI_Input_MachineShortcuts = "GUI/Input/MachineShortcuts";
|
---|
80 | const char *UIExtraDataDefs::GUI_Input_HostKeyCombination = "GUI/Input/HostKeyCombination";
|
---|
81 | const char *UIExtraDataDefs::GUI_Input_AutoCapture = "GUI/Input/AutoCapture";
|
---|
82 | const char *UIExtraDataDefs::GUI_RemapScancodes = "GUI/RemapScancodes";
|
---|
83 |
|
---|
84 | /* Settings: Proxy: */
|
---|
85 | const char *UIExtraDataDefs::GUI_ProxySettings = "GUI/ProxySettings";
|
---|
86 |
|
---|
87 | /* Settings: Storage: */
|
---|
88 | const char *UIExtraDataDefs::GUI_RecentFolderHD = "GUI/RecentFolderHD";
|
---|
89 | const char *UIExtraDataDefs::GUI_RecentFolderCD = "GUI/RecentFolderCD";
|
---|
90 | const char *UIExtraDataDefs::GUI_RecentFolderFD = "GUI/RecentFolderFD";
|
---|
91 | const char *UIExtraDataDefs::GUI_RecentListHD = "GUI/RecentListHD";
|
---|
92 | const char *UIExtraDataDefs::GUI_RecentListCD = "GUI/RecentListCD";
|
---|
93 | const char *UIExtraDataDefs::GUI_RecentListFD = "GUI/RecentListFD";
|
---|
94 |
|
---|
95 | /* Settings: Network: */
|
---|
96 | const char *UIExtraDataDefs::GUI_RestrictedNetworkAttachmentTypes = "GUI/RestrictedNetworkAttachmentTypes";
|
---|
97 |
|
---|
98 | /* VISO Creator: */
|
---|
99 | const char *UIExtraDataDefs::GUI_VISOCreator_RecentFolder = "GUI/VISOCreator/RecentFolder";
|
---|
100 | const char *UIExtraDataDefs::GUI_VISOCreator_DialogGeometry = "GUI/VISOCreator/DialogGeometry";
|
---|
101 |
|
---|
102 | /* VirtualBox Manager: */
|
---|
103 | const char *UIExtraDataDefs::GUI_LastSelectorWindowPosition = "GUI/LastWindowPosition";
|
---|
104 | const char *UIExtraDataDefs::GUI_SplitterSizes = "GUI/SplitterSizes";
|
---|
105 | const char *UIExtraDataDefs::GUI_Toolbar = "GUI/Toolbar";
|
---|
106 | const char *UIExtraDataDefs::GUI_Toolbar_Text = "GUI/Toolbar/Text";
|
---|
107 | const char *UIExtraDataDefs::GUI_Toolbar_MachineTools_Order = "GUI/Toolbar/MachineTools/Order";
|
---|
108 | const char *UIExtraDataDefs::GUI_Toolbar_GlobalTools_Order = "GUI/Toolbar/GlobalTools/Order";
|
---|
109 | const char *UIExtraDataDefs::GUI_Tools_LastItemsSelected = "GUI/Tools/LastItemsSelected";
|
---|
110 | const char *UIExtraDataDefs::GUI_Tools_Detached = "GUI/Tools/Detached";
|
---|
111 | const char *UIExtraDataDefs::GUI_Statusbar = "GUI/Statusbar";
|
---|
112 | const char *UIExtraDataDefs::GUI_GroupDefinitions = "GUI/GroupDefinitions";
|
---|
113 | const char *UIExtraDataDefs::GUI_LastItemSelected = "GUI/LastItemSelected";
|
---|
114 | const char *UIExtraDataDefs::GUI_DetailsPageBoxes = "GUI/DetailsPageBoxes";
|
---|
115 | const char *UIExtraDataDefs::GUI_PreviewUpdate = "GUI/PreviewUpdate";
|
---|
116 | const char *UIExtraDataDefs::GUI_Details_Elements = "GUI/Details/Elements";
|
---|
117 | const char *UIExtraDataDefs::GUI_Details_Elements_Preview_UpdateInterval = "GUI/Details/Elements/Preview/UpdateInterval";
|
---|
118 |
|
---|
119 | /* Snapshot Manager: */
|
---|
120 | const char *UIExtraDataDefs::GUI_SnapshotManager_Details_Expanded = "GUI/SnapshotManager/Details/Expanded";
|
---|
121 |
|
---|
122 | /* Virtual Media Manager: */
|
---|
123 | const char *UIExtraDataDefs::GUI_VirtualMediaManager_Details_Expanded = "GUI/VirtualMediaManager/Details/Expanded";
|
---|
124 | const char *UIExtraDataDefs::GUI_VirtualMediaManager_Search_Widget_Expanded = "GUI/VirtualMediaManager/SearchWidget/Expanded";
|
---|
125 |
|
---|
126 | /* Host Network Manager: */
|
---|
127 | const char *UIExtraDataDefs::GUI_HostNetworkManager_Details_Expanded = "GUI/HostNetworkManager/Details/Expanded";
|
---|
128 |
|
---|
129 | /* Cloud Profile Manager: */
|
---|
130 | const char *UIExtraDataDefs::GUI_CloudProfileManager_Restrictions = "GUI/CloudProfileManager/Restrictions";
|
---|
131 | const char *UIExtraDataDefs::GUI_CloudProfileManager_Details_Expanded = "GUI/CloudProfileManager/Details/Expanded";
|
---|
132 |
|
---|
133 | /* Cloud Console Manager: */
|
---|
134 | const char *UIExtraDataDefs::GUI_CloudConsoleManager_Application = "GUI/CloudConsoleManager/Application";
|
---|
135 | const char *UIExtraDataDefs::GUI_CloudConsoleManager_Restrictions = "GUI/CloudConsoleManager/Restrictions";
|
---|
136 | const char *UIExtraDataDefs::GUI_CloudConsoleManager_Details_Expanded = "GUI/CloudConsoleManager/Details/Expanded";
|
---|
137 |
|
---|
138 | /* Cloud Console: */
|
---|
139 | const char *UIExtraDataDefs::GUI_CloudConsole_PublicKey_Path = "GUI/CloudConsole/PublicKey/Path";
|
---|
140 |
|
---|
141 | #ifdef VBOX_GUI_WITH_EXTRADATA_MANAGER_UI
|
---|
142 | /* Extra-data Manager: */
|
---|
143 | const char *UIExtraDataDefs::GUI_ExtraDataManager_Geometry = "GUI/ExtraDataManager/Geometry";
|
---|
144 | const char *UIExtraDataDefs::GUI_ExtraDataManager_SplitterHints = "GUI/ExtraDataManager/SplitterHints";
|
---|
145 | #endif /* VBOX_GUI_WITH_EXTRADATA_MANAGER_UI */
|
---|
146 |
|
---|
147 |
|
---|
148 | /* Virtual Machine: */
|
---|
149 | const char *UIExtraDataDefs::GUI_HideFromManager = "GUI/HideFromManager";
|
---|
150 | const char *UIExtraDataDefs::GUI_HideDetails = "GUI/HideDetails";
|
---|
151 | const char *UIExtraDataDefs::GUI_PreventReconfiguration = "GUI/PreventReconfiguration";
|
---|
152 | const char *UIExtraDataDefs::GUI_PreventSnapshotOperations = "GUI/PreventSnapshotOperations";
|
---|
153 | const char *UIExtraDataDefs::GUI_MachineWindowIcons = "GUI/MachineWindowIcons";
|
---|
154 | #ifndef VBOX_WS_MAC
|
---|
155 | const char *UIExtraDataDefs::GUI_MachineWindowNamePostfix = "GUI/MachineWindowNamePostfix";
|
---|
156 | #endif
|
---|
157 | const char *UIExtraDataDefs::GUI_LastNormalWindowPosition = "GUI/LastNormalWindowPosition";
|
---|
158 | const char *UIExtraDataDefs::GUI_LastScaleWindowPosition = "GUI/LastScaleWindowPosition";
|
---|
159 | const char *UIExtraDataDefs::GUI_Geometry_State_Max = "max";
|
---|
160 | #ifndef VBOX_WS_MAC
|
---|
161 | const char *UIExtraDataDefs::GUI_MenuBar_Enabled = "GUI/MenuBar/Enabled";
|
---|
162 | #endif
|
---|
163 | const char *UIExtraDataDefs::GUI_MenuBar_ContextMenu_Enabled = "GUI/MenuBar/ContextMenu/Enabled";
|
---|
164 | const char *UIExtraDataDefs::GUI_RestrictedRuntimeMenus = "GUI/RestrictedRuntimeMenus";
|
---|
165 | const char *UIExtraDataDefs::GUI_RestrictedRuntimeApplicationMenuActions = "GUI/RestrictedRuntimeApplicationMenuActions";
|
---|
166 | const char *UIExtraDataDefs::GUI_RestrictedRuntimeMachineMenuActions = "GUI/RestrictedRuntimeMachineMenuActions";
|
---|
167 | const char *UIExtraDataDefs::GUI_RestrictedRuntimeViewMenuActions = "GUI/RestrictedRuntimeViewMenuActions";
|
---|
168 | const char *UIExtraDataDefs::GUI_RestrictedRuntimeInputMenuActions = "GUI/RestrictedRuntimeInputMenuActions";
|
---|
169 | const char *UIExtraDataDefs::GUI_RestrictedRuntimeDevicesMenuActions = "GUI/RestrictedRuntimeDevicesMenuActions";
|
---|
170 | #ifdef VBOX_WITH_DEBUGGER_GUI
|
---|
171 | const char *UIExtraDataDefs::GUI_RestrictedRuntimeDebuggerMenuActions = "GUI/RestrictedRuntimeDebuggerMenuActions";
|
---|
172 | #endif
|
---|
173 | #ifdef VBOX_WS_MAC
|
---|
174 | const char *UIExtraDataDefs::GUI_RestrictedRuntimeWindowMenuActions = "GUI/RestrictedRuntimeWindowMenuActions";
|
---|
175 | #endif
|
---|
176 | const char *UIExtraDataDefs::GUI_RestrictedRuntimeHelpMenuActions = "GUI/RestrictedRuntimeHelpMenuActions";
|
---|
177 | const char *UIExtraDataDefs::GUI_RestrictedVisualStates = "GUI/RestrictedVisualStates";
|
---|
178 | const char *UIExtraDataDefs::GUI_Fullscreen = "GUI/Fullscreen";
|
---|
179 | const char *UIExtraDataDefs::GUI_Seamless = "GUI/Seamless";
|
---|
180 | const char *UIExtraDataDefs::GUI_Scale = "GUI/Scale";
|
---|
181 | #ifdef VBOX_WS_NIX
|
---|
182 | const char *UIExtraDataDefs::GUI_Fullscreen_LegacyMode = "GUI/Fullscreen/LegacyMode";
|
---|
183 | const char *UIExtraDataDefs::GUI_DistinguishMachineWindowGroups = "GUI/DistinguishMachineWindowGroups";
|
---|
184 | #endif /* VBOX_WS_NIX */
|
---|
185 | const char *UIExtraDataDefs::GUI_AutoresizeGuest = "GUI/AutoresizeGuest";
|
---|
186 | const char *UIExtraDataDefs::GUI_LastVisibilityStatusForGuestScreen = "GUI/LastVisibilityStatusForGuestScreen";
|
---|
187 | const char *UIExtraDataDefs::GUI_LastGuestSizeHint = "GUI/LastGuestSizeHint";
|
---|
188 | const char *UIExtraDataDefs::GUI_VirtualScreenToHostScreen = "GUI/VirtualScreenToHostScreen";
|
---|
189 | const char *UIExtraDataDefs::GUI_AutomountGuestScreens = "GUI/AutomountGuestScreens";
|
---|
190 | #ifndef VBOX_WS_MAC
|
---|
191 | const char *UIExtraDataDefs::GUI_ShowMiniToolBar = "GUI/ShowMiniToolBar";
|
---|
192 | const char *UIExtraDataDefs::GUI_MiniToolBarAutoHide = "GUI/MiniToolBarAutoHide";
|
---|
193 | const char *UIExtraDataDefs::GUI_MiniToolBarAlignment = "GUI/MiniToolBarAlignment";
|
---|
194 | #endif /* !VBOX_WS_MAC */
|
---|
195 | const char *UIExtraDataDefs::GUI_StatusBar_Enabled = "GUI/StatusBar/Enabled";
|
---|
196 | const char *UIExtraDataDefs::GUI_StatusBar_ContextMenu_Enabled = "GUI/StatusBar/ContextMenu/Enabled";
|
---|
197 | const char *UIExtraDataDefs::GUI_RestrictedStatusBarIndicators = "GUI/RestrictedStatusBarIndicators";
|
---|
198 | const char *UIExtraDataDefs::GUI_StatusBar_IndicatorOrder = "GUI/StatusBar/IndicatorOrder";
|
---|
199 | #ifdef VBOX_WS_MAC
|
---|
200 | const char *UIExtraDataDefs::GUI_RealtimeDockIconUpdateEnabled = "GUI/RealtimeDockIconUpdateEnabled";
|
---|
201 | const char *UIExtraDataDefs::GUI_RealtimeDockIconUpdateMonitor = "GUI/RealtimeDockIconUpdateMonitor";
|
---|
202 | const char *UIExtraDataDefs::GUI_DockIconDisableOverlay = "GUI/DockIconDisableOverlay";
|
---|
203 | #endif /* VBOX_WS_MAC */
|
---|
204 | const char *UIExtraDataDefs::GUI_PassCAD = "GUI/PassCAD";
|
---|
205 | const char *UIExtraDataDefs::GUI_MouseCapturePolicy = "GUI/MouseCapturePolicy";
|
---|
206 | const char *UIExtraDataDefs::GUI_GuruMeditationHandler = "GUI/GuruMeditationHandler";
|
---|
207 | const char *UIExtraDataDefs::GUI_HidLedsSync = "GUI/HidLedsSync";
|
---|
208 | const char *UIExtraDataDefs::GUI_ScaleFactor = "GUI/ScaleFactor";
|
---|
209 | const char *UIExtraDataDefs::GUI_Scaling_Optimization = "GUI/Scaling/Optimization";
|
---|
210 | const char *UIExtraDataDefs::GUI_FontScaleFactor = "GUI/FontScaleFactor";
|
---|
211 |
|
---|
212 | /* Virtual Machine: Session Information Dialog: */
|
---|
213 | const char *UIExtraDataDefs::GUI_SessionInformationDialogGeometry = "GUI/SessionInformationDialogGeometry";
|
---|
214 |
|
---|
215 | /* Guest control UI: */
|
---|
216 | const char *UIExtraDataDefs::GUI_GuestControl_FileManagerDialogGeometry = "GUI/GuestControl/FileManagerDialogGeometry";
|
---|
217 | const char *UIExtraDataDefs::GUI_GuestControl_FileManagerVisiblePanels = "GUI/GuestControl/FileManagerVisiblePanels";
|
---|
218 | const char *UIExtraDataDefs::GUI_GuestControl_ProcessControlSplitterHints = "GUI/GuestControl/ProcessControlSplitterHints";
|
---|
219 | const char *UIExtraDataDefs::GUI_GuestControl_ProcessControlDialogGeometry = "GUI/GuestControl/ProcessControlDialogGeometry";
|
---|
220 |
|
---|
221 | /* Soft Keyboard: */
|
---|
222 | const char *UIExtraDataDefs::GUI_SoftKeyboard_DialogGeometry = "GUI/SoftKeyboardDialogGeometry";
|
---|
223 | const char *UIExtraDataDefs::GUI_SoftKeyboard_ColorTheme = "GUI/SoftKeyboardColorTheme";
|
---|
224 | const char *UIExtraDataDefs::GUI_SoftKeyboard_SelectedColorTheme = "GUI/SoftKeyboardSelectedColorTheme";
|
---|
225 | const char *UIExtraDataDefs::GUI_SoftKeyboard_SelectedLayout = "GUI/SoftKeyboardSelectedLayout";
|
---|
226 | const char *UIExtraDataDefs::GUI_SoftKeyboard_Options = "GUI/SoftKeyboardOptions";
|
---|
227 | const char *UIExtraDataDefs::GUI_SoftKeyboard_HideNumPad = "GUI/SoftKeyboardHideNumPad";
|
---|
228 | const char *UIExtraDataDefs::GUI_SoftKeyboard_HideOSMenuKeys = "GUI/SoftKeyboardHideOSMenuKeys";
|
---|
229 | const char *UIExtraDataDefs::GUI_SoftKeyboard_HideMultimediaKeys = "GUI/SoftKeyboardHideMultimediaKeys";
|
---|
230 |
|
---|
231 | /* File Manager options: */
|
---|
232 | const char *UIExtraDataDefs::GUI_GuestControl_FileManagerOptions = "GUI/GuestControl/FileManagerOptions";
|
---|
233 | const char *UIExtraDataDefs::GUI_GuestControl_FileManagerListDirectoriesFirst = "ListDirectoriesFirst";
|
---|
234 | const char *UIExtraDataDefs::GUI_GuestControl_FileManagerShowDeleteConfirmation = "ShowDeleteConfimation";
|
---|
235 | const char *UIExtraDataDefs::GUI_GuestControl_FileManagerShowHumanReadableSizes = "ShowHumanReadableSizes";
|
---|
236 | const char *UIExtraDataDefs::GUI_GuestControl_FileManagerShowHiddenObjects = "ShowHiddenObjects";
|
---|
237 |
|
---|
238 | /* Virtual Machine: Close dialog: */
|
---|
239 | const char *UIExtraDataDefs::GUI_DefaultCloseAction = "GUI/DefaultCloseAction";
|
---|
240 | const char *UIExtraDataDefs::GUI_RestrictedCloseActions = "GUI/RestrictedCloseActions";
|
---|
241 | const char *UIExtraDataDefs::GUI_LastCloseAction = "GUI/LastCloseAction";
|
---|
242 | const char *UIExtraDataDefs::GUI_CloseActionHook = "GUI/CloseActionHook";
|
---|
243 | const char *UIExtraDataDefs::GUI_DiscardStateOnPowerOff = "GUI/DiscardStateOnPowerOff";
|
---|
244 |
|
---|
245 | #ifdef VBOX_WITH_DEBUGGER_GUI
|
---|
246 | /* Virtual Machine: Debug UI: */
|
---|
247 | const char *UIExtraDataDefs::GUI_Dbg_Enabled = "GUI/Dbg/Enabled";
|
---|
248 | const char *UIExtraDataDefs::GUI_Dbg_AutoShow = "GUI/Dbg/AutoShow";
|
---|
249 | #endif /* VBOX_WITH_DEBUGGER_GUI */
|
---|
250 |
|
---|
251 | /* Virtual Machine: Log-viewer: */
|
---|
252 | const char *UIExtraDataDefs::GUI_LogWindowGeometry = "GUI/LogWindowGeometry";
|
---|
253 | const char *UIExtraDataDefs::GUI_LogViewerOptions = "GUI/LogViewerOptions";
|
---|
254 | const char *UIExtraDataDefs::GUI_LogViewerWrapLinesEnabled = "WrapLines";
|
---|
255 | const char *UIExtraDataDefs::GUI_LogViewerShowLineNumbersDisabled = "showLineNumbersDisabled";
|
---|
256 | const char *UIExtraDataDefs::GUI_LogViewerNoFontStyleName = "noFontStyleName";
|
---|
257 |
|
---|
258 | /* Help Browser */
|
---|
259 | const char *UIExtraDataDefs::GUI_HelpBrowser_LastURLList = "GUI/HelpBrowserLastURLList";
|
---|
260 | const char *UIExtraDataDefs::GUI_HelpBrowser_DialogGeometry = "GUI/HelpBrowserDialogGeomety";
|
---|
261 | const char *UIExtraDataDefs::GUI_HelpBrowser_Bookmarks = "GUI/HelpBrowserBookmarks";
|
---|
262 | const char *UIExtraDataDefs::GUI_HelpBrowser_ZoomPercentage = "GUI/HelpBrowserZoomPercentage";
|
---|
263 |
|
---|
264 | /* VM Activity Overview: */
|
---|
265 | const char *UIExtraDataDefs::GUI_VMActivityOverview_HiddenColumns = "GUI/VMActivityOverviewHiddenColumns";
|
---|
266 | const char *UIExtraDataDefs::GUI_VMActivityOverview_ShowAllMachines = "GUI/VMActivityOverviewShowAllMachines";
|
---|
267 | const char *UIExtraDataDefs::GUI_VMActivityMonitor_DataSeriesColors = "GUI/VMActivityMonitorDataSeriesColors";
|
---|
268 | const char *UIExtraDataDefs::GUI_VMActivityMonitor_ShowVMExits = "GUI/VMActivityMonitorShowVMExits";
|
---|
269 | const char *UIExtraDataDefs::GUI_MediumSelector_DialogGeometry = "GUI/MediumSelector/DialogGeometry";
|
---|
270 |
|
---|
271 | const int UIExtraDataDefs::iFontScaleMin = 40;
|
---|
272 | const int UIExtraDataDefs::iFontScaleMax = 200;
|
---|
273 |
|
---|
274 | /* Obsolete keys: */
|
---|
275 | QMultiMap<QString, QString> UIExtraDataDefs::prepareObsoleteKeysMap()
|
---|
276 | {
|
---|
277 | QMultiMap<QString, QString> map;
|
---|
278 | map.insert(GUI_Details_Elements, GUI_DetailsPageBoxes);
|
---|
279 | map.insert(GUI_Details_Elements_Preview_UpdateInterval, GUI_PreviewUpdate);
|
---|
280 | return map;
|
---|
281 | }
|
---|
282 | QMultiMap<QString, QString> UIExtraDataDefs::g_mapOfObsoleteKeys = UIExtraDataDefs::prepareObsoleteKeysMap();
|
---|
283 |
|
---|
284 |
|
---|
285 | bool UIToolStuff::isTypeOfClass(UIToolType enmType, UIToolClass enmClass)
|
---|
286 | {
|
---|
287 | switch (enmClass)
|
---|
288 | {
|
---|
289 | case UIToolClass_Global:
|
---|
290 | {
|
---|
291 | switch (enmType)
|
---|
292 | {
|
---|
293 | case UIToolType_Welcome:
|
---|
294 | case UIToolType_Extensions:
|
---|
295 | case UIToolType_Media:
|
---|
296 | case UIToolType_Network:
|
---|
297 | case UIToolType_Cloud:
|
---|
298 | case UIToolType_CloudConsole:
|
---|
299 | case UIToolType_VMActivityOverview:
|
---|
300 | return true;
|
---|
301 | default:
|
---|
302 | break;
|
---|
303 | }
|
---|
304 | break;
|
---|
305 | }
|
---|
306 | case UIToolClass_Machine:
|
---|
307 | {
|
---|
308 | switch (enmType)
|
---|
309 | {
|
---|
310 | case UIToolType_Details:
|
---|
311 | case UIToolType_Snapshots:
|
---|
312 | case UIToolType_Logs:
|
---|
313 | case UIToolType_VMActivity:
|
---|
314 | case UIToolType_FileManager:
|
---|
315 | return true;
|
---|
316 | default:
|
---|
317 | break;
|
---|
318 | }
|
---|
319 | break;
|
---|
320 | }
|
---|
321 | default:
|
---|
322 | break;
|
---|
323 | }
|
---|
324 | return false;
|
---|
325 | }
|
---|