[26714] | 1 | /* $Id: UIExtraDataDefs.cpp 102222 2023-11-21 17:59:36Z vboxsync $ */
|
---|
[41695] | 2 | /** @file
|
---|
[51187] | 3 | * VBox Qt GUI - Extra-data related definitions.
|
---|
[41695] | 4 | */
|
---|
[25177] | 5 |
|
---|
[41695] | 6 | /*
|
---|
[98103] | 7 | * Copyright (C) 2006-2023 Oracle and/or its affiliates.
|
---|
[41695] | 8 | *
|
---|
[96407] | 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
|
---|
[41695] | 26 | */
|
---|
[25177] | 27 |
|
---|
[41695] | 28 | /* GUI includes: */
|
---|
[76606] | 29 | #include "UIExtraDataDefs.h"
|
---|
[25177] | 30 |
|
---|
[52730] | 31 |
|
---|
[51679] | 32 | /* General: */
|
---|
[81612] | 33 | const char *UIExtraDataDefs::GUI_RestrictedDialogs = "GUI/RestrictedDialogs";
|
---|
[89295] | 34 | const char *UIExtraDataDefs::GUI_ColorTheme = "GUI/ColorTheme";
|
---|
[34064] | 35 |
|
---|
[71437] | 36 |
|
---|
[51679] | 37 | /* Messaging: */
|
---|
[71437] | 38 | const char *UIExtraDataDefs::GUI_SuppressMessages = "GUI/SuppressMessages";
|
---|
| 39 | const char *UIExtraDataDefs::GUI_InvertMessageOption = "GUI/InvertMessageOption";
|
---|
[99184] | 40 | #ifdef VBOX_NOTIFICATION_CENTER_WITH_KEEP_BUTTON
|
---|
[92398] | 41 | const char *UIExtraDataDefs::GUI_NotificationCenter_KeepSuccessfullProgresses = "GUI/NotificationCenter/KeepSuccessfullProgresses";
|
---|
[99184] | 42 | #endif
|
---|
[93408] | 43 | const char *UIExtraDataDefs::GUI_NotificationCenter_Alignment = "GUI/NotificationCenter/Alignment";
|
---|
[92400] | 44 | const char *UIExtraDataDefs::GUI_NotificationCenter_Order = "GUI/NotificationCenter/Order";
|
---|
[96808] | 45 | const char *UIExtraDataDefs::GUI_PreventBetaLabel = "GUI/PreventBetaLabel";
|
---|
[51679] | 46 | #if !defined(VBOX_BLEEDING_EDGE) && !defined(DEBUG)
|
---|
[71437] | 47 | const char *UIExtraDataDefs::GUI_PreventBetaWarning = "GUI/PreventBetaWarning";
|
---|
| 48 | #endif
|
---|
[38575] | 49 |
|
---|
[71437] | 50 |
|
---|
[49596] | 51 | #ifdef VBOX_GUI_WITH_NETWORK_MANAGER
|
---|
[51679] | 52 | /* Application Update: */
|
---|
[71437] | 53 | const char *UIExtraDataDefs::GUI_PreventApplicationUpdate = "GUI/PreventApplicationUpdate";
|
---|
| 54 | const char *UIExtraDataDefs::GUI_UpdateDate = "GUI/UpdateDate";
|
---|
| 55 | const char *UIExtraDataDefs::GUI_UpdateCheckCount = "GUI/UpdateCheckCount";
|
---|
[49596] | 56 | #endif /* VBOX_GUI_WITH_NETWORK_MANAGER */
|
---|
[41689] | 57 |
|
---|
[71437] | 58 |
|
---|
[69006] | 59 | /* Progress: */
|
---|
[71437] | 60 | const char *UIExtraDataDefs::GUI_Progress_LegacyMode = "GUI/Progress/LegacyMode";
|
---|
[69006] | 61 |
|
---|
[71437] | 62 |
|
---|
[51679] | 63 | /* Settings: */
|
---|
[71437] | 64 | const char *UIExtraDataDefs::GUI_Customizations = "GUI/Customizations";
|
---|
| 65 | const char *UIExtraDataDefs::GUI_RestrictedGlobalSettingsPages = "GUI/RestrictedGlobalSettingsPages";
|
---|
| 66 | const char *UIExtraDataDefs::GUI_RestrictedMachineSettingsPages = "GUI/RestrictedMachineSettingsPages";
|
---|
[101447] | 67 | const char *UIExtraDataDefs::GUI_Settings_ExpertMode = "GUI/Settings/ExpertMode";
|
---|
[51679] | 68 |
|
---|
[66587] | 69 | /* Settings: Language: */
|
---|
[71437] | 70 | const char *UIExtraDataDefs::GUI_LanguageID = "GUI/LanguageID";
|
---|
[66587] | 71 |
|
---|
[53249] | 72 | /* Settings: Display: */
|
---|
[71437] | 73 | const char *UIExtraDataDefs::GUI_MaxGuestResolution = "GUI/MaxGuestResolution";
|
---|
| 74 | const char *UIExtraDataDefs::GUI_ActivateHoveredMachineWindow = "GUI/ActivateHoveredMachineWindow";
|
---|
[89688] | 75 | const char *UIExtraDataDefs::GUI_DisableHostScreenSaver = "GUI/DisableHostScreenSaver";
|
---|
[53249] | 76 |
|
---|
[51679] | 77 | /* Settings: Keyboard: */
|
---|
[71437] | 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";
|
---|
[51679] | 83 |
|
---|
[66590] | 84 | /* Settings: Proxy: */
|
---|
[71437] | 85 | const char *UIExtraDataDefs::GUI_ProxySettings = "GUI/ProxySettings";
|
---|
[66590] | 86 |
|
---|
[51679] | 87 | /* Settings: Storage: */
|
---|
[71437] | 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";
|
---|
[51679] | 94 |
|
---|
[78519] | 95 | /* Settings: Network: */
|
---|
| 96 | const char *UIExtraDataDefs::GUI_RestrictedNetworkAttachmentTypes = "GUI/RestrictedNetworkAttachmentTypes";
|
---|
| 97 |
|
---|
[77377] | 98 | /* VISO Creator: */
|
---|
| 99 | const char *UIExtraDataDefs::GUI_VISOCreator_RecentFolder = "GUI/VISOCreator/RecentFolder";
|
---|
[92492] | 100 | const char *UIExtraDataDefs::GUI_VISOCreator_DialogGeometry = "GUI/VISOCreator/DialogGeometry";
|
---|
[71437] | 101 |
|
---|
[51679] | 102 | /* VirtualBox Manager: */
|
---|
[71437] | 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";
|
---|
[74265] | 109 | const char *UIExtraDataDefs::GUI_Tools_LastItemsSelected = "GUI/Tools/LastItemsSelected";
|
---|
[71437] | 110 | const char *UIExtraDataDefs::GUI_Statusbar = "GUI/Statusbar";
|
---|
| 111 | const char *UIExtraDataDefs::GUI_GroupDefinitions = "GUI/GroupDefinitions";
|
---|
| 112 | const char *UIExtraDataDefs::GUI_LastItemSelected = "GUI/LastItemSelected";
|
---|
| 113 | const char *UIExtraDataDefs::GUI_DetailsPageBoxes = "GUI/DetailsPageBoxes";
|
---|
| 114 | const char *UIExtraDataDefs::GUI_PreviewUpdate = "GUI/PreviewUpdate";
|
---|
[75306] | 115 | const char *UIExtraDataDefs::GUI_Details_Elements = "GUI/Details/Elements";
|
---|
| 116 | const char *UIExtraDataDefs::GUI_Details_Elements_Preview_UpdateInterval = "GUI/Details/Elements/Preview/UpdateInterval";
|
---|
[51679] | 117 |
|
---|
[68962] | 118 | /* Snapshot Manager: */
|
---|
[71437] | 119 | const char *UIExtraDataDefs::GUI_SnapshotManager_Details_Expanded = "GUI/SnapshotManager/Details/Expanded";
|
---|
[68962] | 120 |
|
---|
| 121 | /* Virtual Media Manager: */
|
---|
[71437] | 122 | const char *UIExtraDataDefs::GUI_VirtualMediaManager_Details_Expanded = "GUI/VirtualMediaManager/Details/Expanded";
|
---|
[77014] | 123 | const char *UIExtraDataDefs::GUI_VirtualMediaManager_Search_Widget_Expanded = "GUI/VirtualMediaManager/SearchWidget/Expanded";
|
---|
[68962] | 124 |
|
---|
| 125 | /* Host Network Manager: */
|
---|
[71437] | 126 | const char *UIExtraDataDefs::GUI_HostNetworkManager_Details_Expanded = "GUI/HostNetworkManager/Details/Expanded";
|
---|
[68962] | 127 |
|
---|
[74871] | 128 | /* Cloud Profile Manager: */
|
---|
[85035] | 129 | const char *UIExtraDataDefs::GUI_CloudProfileManager_Restrictions = "GUI/CloudProfileManager/Restrictions";
|
---|
[74871] | 130 | const char *UIExtraDataDefs::GUI_CloudProfileManager_Details_Expanded = "GUI/CloudProfileManager/Details/Expanded";
|
---|
| 131 |
|
---|
[85389] | 132 | /* Cloud Console Manager: */
|
---|
| 133 | const char *UIExtraDataDefs::GUI_CloudConsoleManager_Application = "GUI/CloudConsoleManager/Application";
|
---|
| 134 | const char *UIExtraDataDefs::GUI_CloudConsoleManager_Restrictions = "GUI/CloudConsoleManager/Restrictions";
|
---|
| 135 | const char *UIExtraDataDefs::GUI_CloudConsoleManager_Details_Expanded = "GUI/CloudConsoleManager/Details/Expanded";
|
---|
| 136 |
|
---|
[85454] | 137 | /* Cloud Console: */
|
---|
| 138 | const char *UIExtraDataDefs::GUI_CloudConsole_PublicKey_Path = "GUI/CloudConsole/PublicKey/Path";
|
---|
| 139 |
|
---|
[71437] | 140 | #ifdef VBOX_GUI_WITH_EXTRADATA_MANAGER_UI
|
---|
| 141 | /* Extra-data Manager: */
|
---|
| 142 | const char *UIExtraDataDefs::GUI_ExtraDataManager_Geometry = "GUI/ExtraDataManager/Geometry";
|
---|
| 143 | const char *UIExtraDataDefs::GUI_ExtraDataManager_SplitterHints = "GUI/ExtraDataManager/SplitterHints";
|
---|
| 144 | #endif /* VBOX_GUI_WITH_EXTRADATA_MANAGER_UI */
|
---|
| 145 |
|
---|
[51679] | 146 | /* Wizards: */
|
---|
[71437] | 147 | const char *UIExtraDataDefs::GUI_HideDescriptionForWizards = "GUI/HideDescriptionForWizards";
|
---|
[51679] | 148 |
|
---|
[71437] | 149 |
|
---|
[51679] | 150 | /* Virtual Machine: */
|
---|
[71437] | 151 | const char *UIExtraDataDefs::GUI_HideFromManager = "GUI/HideFromManager";
|
---|
| 152 | const char *UIExtraDataDefs::GUI_HideDetails = "GUI/HideDetails";
|
---|
| 153 | const char *UIExtraDataDefs::GUI_PreventReconfiguration = "GUI/PreventReconfiguration";
|
---|
| 154 | const char *UIExtraDataDefs::GUI_PreventSnapshotOperations = "GUI/PreventSnapshotOperations";
|
---|
| 155 | const char *UIExtraDataDefs::GUI_MachineWindowIcons = "GUI/MachineWindowIcons";
|
---|
[60362] | 156 | #ifndef VBOX_WS_MAC
|
---|
[71437] | 157 | const char *UIExtraDataDefs::GUI_MachineWindowNamePostfix = "GUI/MachineWindowNamePostfix";
|
---|
| 158 | #endif
|
---|
| 159 | const char *UIExtraDataDefs::GUI_LastNormalWindowPosition = "GUI/LastNormalWindowPosition";
|
---|
| 160 | const char *UIExtraDataDefs::GUI_LastScaleWindowPosition = "GUI/LastScaleWindowPosition";
|
---|
| 161 | const char *UIExtraDataDefs::GUI_Geometry_State_Max = "max";
|
---|
[60362] | 162 | #ifndef VBOX_WS_MAC
|
---|
[71437] | 163 | const char *UIExtraDataDefs::GUI_MenuBar_Enabled = "GUI/MenuBar/Enabled";
|
---|
| 164 | #endif
|
---|
| 165 | const char *UIExtraDataDefs::GUI_MenuBar_ContextMenu_Enabled = "GUI/MenuBar/ContextMenu/Enabled";
|
---|
| 166 | const char *UIExtraDataDefs::GUI_RestrictedRuntimeMenus = "GUI/RestrictedRuntimeMenus";
|
---|
| 167 | const char *UIExtraDataDefs::GUI_RestrictedRuntimeApplicationMenuActions = "GUI/RestrictedRuntimeApplicationMenuActions";
|
---|
| 168 | const char *UIExtraDataDefs::GUI_RestrictedRuntimeMachineMenuActions = "GUI/RestrictedRuntimeMachineMenuActions";
|
---|
| 169 | const char *UIExtraDataDefs::GUI_RestrictedRuntimeViewMenuActions = "GUI/RestrictedRuntimeViewMenuActions";
|
---|
| 170 | const char *UIExtraDataDefs::GUI_RestrictedRuntimeInputMenuActions = "GUI/RestrictedRuntimeInputMenuActions";
|
---|
| 171 | const char *UIExtraDataDefs::GUI_RestrictedRuntimeDevicesMenuActions = "GUI/RestrictedRuntimeDevicesMenuActions";
|
---|
[41689] | 172 | #ifdef VBOX_WITH_DEBUGGER_GUI
|
---|
[71437] | 173 | const char *UIExtraDataDefs::GUI_RestrictedRuntimeDebuggerMenuActions = "GUI/RestrictedRuntimeDebuggerMenuActions";
|
---|
| 174 | #endif
|
---|
[60362] | 175 | #ifdef VBOX_WS_MAC
|
---|
[71437] | 176 | const char *UIExtraDataDefs::GUI_RestrictedRuntimeWindowMenuActions = "GUI/RestrictedRuntimeWindowMenuActions";
|
---|
| 177 | #endif
|
---|
| 178 | const char *UIExtraDataDefs::GUI_RestrictedRuntimeHelpMenuActions = "GUI/RestrictedRuntimeHelpMenuActions";
|
---|
| 179 | const char *UIExtraDataDefs::GUI_RestrictedVisualStates = "GUI/RestrictedVisualStates";
|
---|
| 180 | const char *UIExtraDataDefs::GUI_Fullscreen = "GUI/Fullscreen";
|
---|
| 181 | const char *UIExtraDataDefs::GUI_Seamless = "GUI/Seamless";
|
---|
| 182 | const char *UIExtraDataDefs::GUI_Scale = "GUI/Scale";
|
---|
[100064] | 183 | #ifdef VBOX_WS_NIX
|
---|
[71437] | 184 | const char *UIExtraDataDefs::GUI_Fullscreen_LegacyMode = "GUI/Fullscreen/LegacyMode";
|
---|
| 185 | const char *UIExtraDataDefs::GUI_DistinguishMachineWindowGroups = "GUI/DistinguishMachineWindowGroups";
|
---|
[100064] | 186 | #endif /* VBOX_WS_NIX */
|
---|
[71437] | 187 | const char *UIExtraDataDefs::GUI_AutoresizeGuest = "GUI/AutoresizeGuest";
|
---|
| 188 | const char *UIExtraDataDefs::GUI_LastVisibilityStatusForGuestScreen = "GUI/LastVisibilityStatusForGuestScreen";
|
---|
| 189 | const char *UIExtraDataDefs::GUI_LastGuestSizeHint = "GUI/LastGuestSizeHint";
|
---|
| 190 | const char *UIExtraDataDefs::GUI_VirtualScreenToHostScreen = "GUI/VirtualScreenToHostScreen";
|
---|
| 191 | const char *UIExtraDataDefs::GUI_AutomountGuestScreens = "GUI/AutomountGuestScreens";
|
---|
[60362] | 192 | #ifndef VBOX_WS_MAC
|
---|
[71437] | 193 | const char *UIExtraDataDefs::GUI_ShowMiniToolBar = "GUI/ShowMiniToolBar";
|
---|
| 194 | const char *UIExtraDataDefs::GUI_MiniToolBarAutoHide = "GUI/MiniToolBarAutoHide";
|
---|
| 195 | const char *UIExtraDataDefs::GUI_MiniToolBarAlignment = "GUI/MiniToolBarAlignment";
|
---|
[60362] | 196 | #endif /* !VBOX_WS_MAC */
|
---|
[71437] | 197 | const char *UIExtraDataDefs::GUI_StatusBar_Enabled = "GUI/StatusBar/Enabled";
|
---|
| 198 | const char *UIExtraDataDefs::GUI_StatusBar_ContextMenu_Enabled = "GUI/StatusBar/ContextMenu/Enabled";
|
---|
| 199 | const char *UIExtraDataDefs::GUI_RestrictedStatusBarIndicators = "GUI/RestrictedStatusBarIndicators";
|
---|
| 200 | const char *UIExtraDataDefs::GUI_StatusBar_IndicatorOrder = "GUI/StatusBar/IndicatorOrder";
|
---|
[60362] | 201 | #ifdef VBOX_WS_MAC
|
---|
[71437] | 202 | const char *UIExtraDataDefs::GUI_RealtimeDockIconUpdateEnabled = "GUI/RealtimeDockIconUpdateEnabled";
|
---|
| 203 | const char *UIExtraDataDefs::GUI_RealtimeDockIconUpdateMonitor = "GUI/RealtimeDockIconUpdateMonitor";
|
---|
| 204 | const char *UIExtraDataDefs::GUI_DockIconDisableOverlay = "GUI/DockIconDisableOverlay";
|
---|
[60362] | 205 | #endif /* VBOX_WS_MAC */
|
---|
[71437] | 206 | const char *UIExtraDataDefs::GUI_PassCAD = "GUI/PassCAD";
|
---|
| 207 | const char *UIExtraDataDefs::GUI_MouseCapturePolicy = "GUI/MouseCapturePolicy";
|
---|
| 208 | const char *UIExtraDataDefs::GUI_GuruMeditationHandler = "GUI/GuruMeditationHandler";
|
---|
| 209 | const char *UIExtraDataDefs::GUI_HidLedsSync = "GUI/HidLedsSync";
|
---|
| 210 | const char *UIExtraDataDefs::GUI_ScaleFactor = "GUI/ScaleFactor";
|
---|
| 211 | const char *UIExtraDataDefs::GUI_Scaling_Optimization = "GUI/Scaling/Optimization";
|
---|
[97307] | 212 | const char *UIExtraDataDefs::GUI_FontScaleFactor = "GUI/FontScaleFactor";
|
---|
[41689] | 213 |
|
---|
[80773] | 214 | /* Virtual Machine: Session Information Dialog: */
|
---|
| 215 | const char *UIExtraDataDefs::GUI_SessionInformationDialogGeometry = "GUI/SessionInformationDialogGeometry";
|
---|
[75224] | 216 |
|
---|
| 217 | /* Guest control UI: */
|
---|
| 218 | const char *UIExtraDataDefs::GUI_GuestControl_FileManagerDialogGeometry = "GUI/GuestControl/FileManagerDialogGeometry";
|
---|
| 219 | const char *UIExtraDataDefs::GUI_GuestControl_FileManagerVisiblePanels = "GUI/GuestControl/FileManagerVisiblePanels";
|
---|
[75057] | 220 | const char *UIExtraDataDefs::GUI_GuestControl_ProcessControlSplitterHints = "GUI/GuestControl/ProcessControlSplitterHints";
|
---|
[75087] | 221 | const char *UIExtraDataDefs::GUI_GuestControl_ProcessControlDialogGeometry = "GUI/GuestControl/ProcessControlDialogGeometry";
|
---|
[26714] | 222 |
|
---|
[78680] | 223 | /* Soft Keyboard: */
|
---|
| 224 | const char *UIExtraDataDefs::GUI_SoftKeyboard_DialogGeometry = "GUI/SoftKeyboardDialogGeometry";
|
---|
[79435] | 225 | const char *UIExtraDataDefs::GUI_SoftKeyboard_ColorTheme = "GUI/SoftKeyboardColorTheme";
|
---|
[81309] | 226 | const char *UIExtraDataDefs::GUI_SoftKeyboard_SelectedColorTheme = "GUI/SoftKeyboardSelectedColorTheme";
|
---|
[79508] | 227 | const char *UIExtraDataDefs::GUI_SoftKeyboard_SelectedLayout = "GUI/SoftKeyboardSelectedLayout";
|
---|
[79921] | 228 | const char *UIExtraDataDefs::GUI_SoftKeyboard_Options = "GUI/SoftKeyboardOptions";
|
---|
| 229 | const char *UIExtraDataDefs::GUI_SoftKeyboard_HideNumPad = "GUI/SoftKeyboardHideNumPad";
|
---|
| 230 | const char *UIExtraDataDefs::GUI_SoftKeyboard_HideOSMenuKeys = "GUI/SoftKeyboardHideOSMenuKeys";
|
---|
[81263] | 231 | const char *UIExtraDataDefs::GUI_SoftKeyboard_HideMultimediaKeys = "GUI/SoftKeyboardHideMultimediaKeys";
|
---|
[78680] | 232 |
|
---|
[76177] | 233 | /* File Manager options: */
|
---|
[75642] | 234 | const char *UIExtraDataDefs::GUI_GuestControl_FileManagerOptions = "GUI/GuestControl/FileManagerOptions";
|
---|
| 235 | const char *UIExtraDataDefs::GUI_GuestControl_FileManagerListDirectoriesFirst = "ListDirectoriesFirst";
|
---|
| 236 | const char *UIExtraDataDefs::GUI_GuestControl_FileManagerShowDeleteConfirmation = "ShowDeleteConfimation";
|
---|
| 237 | const char *UIExtraDataDefs::GUI_GuestControl_FileManagerShowHumanReadableSizes = "ShowHumanReadableSizes";
|
---|
[76626] | 238 | const char *UIExtraDataDefs::GUI_GuestControl_FileManagerShowHiddenObjects = "ShowHiddenObjects";
|
---|
[75642] | 239 |
|
---|
[51679] | 240 | /* Virtual Machine: Close dialog: */
|
---|
[71437] | 241 | const char *UIExtraDataDefs::GUI_DefaultCloseAction = "GUI/DefaultCloseAction";
|
---|
| 242 | const char *UIExtraDataDefs::GUI_RestrictedCloseActions = "GUI/RestrictedCloseActions";
|
---|
| 243 | const char *UIExtraDataDefs::GUI_LastCloseAction = "GUI/LastCloseAction";
|
---|
| 244 | const char *UIExtraDataDefs::GUI_CloseActionHook = "GUI/CloseActionHook";
|
---|
[90083] | 245 | const char *UIExtraDataDefs::GUI_DiscardStateOnPowerOff = "GUI/DiscardStateOnPowerOff";
|
---|
[34064] | 246 |
|
---|
[51187] | 247 | #ifdef VBOX_WITH_DEBUGGER_GUI
|
---|
[51679] | 248 | /* Virtual Machine: Debug UI: */
|
---|
[71437] | 249 | const char *UIExtraDataDefs::GUI_Dbg_Enabled = "GUI/Dbg/Enabled";
|
---|
| 250 | const char *UIExtraDataDefs::GUI_Dbg_AutoShow = "GUI/Dbg/AutoShow";
|
---|
[51187] | 251 | #endif /* VBOX_WITH_DEBUGGER_GUI */
|
---|
| 252 |
|
---|
[71437] | 253 | /* Virtual Machine: Log-viewer: */
|
---|
| 254 | const char *UIExtraDataDefs::GUI_LogWindowGeometry = "GUI/LogWindowGeometry";
|
---|
[75424] | 255 | const char *UIExtraDataDefs::GUI_LogViewerOptions = "GUI/LogViewerOptions";
|
---|
[72030] | 256 | const char *UIExtraDataDefs::GUI_LogViewerWrapLinesEnabled = "WrapLines";
|
---|
| 257 | const char *UIExtraDataDefs::GUI_LogViewerShowLineNumbersDisabled = "showLineNumbersDisabled";
|
---|
| 258 | const char *UIExtraDataDefs::GUI_LogViewerNoFontStyleName = "noFontStyleName";
|
---|
[75017] | 259 |
|
---|
[86716] | 260 | /* Help Browser */
|
---|
[92436] | 261 | const char *UIExtraDataDefs::GUI_HelpBrowser_LastURLList = "GUI/HelpBrowserLastURLList";
|
---|
| 262 | const char *UIExtraDataDefs::GUI_HelpBrowser_DialogGeometry = "GUI/HelpBrowserDialogGeomety";
|
---|
| 263 | const char *UIExtraDataDefs::GUI_HelpBrowser_Bookmarks = "GUI/HelpBrowserBookmarks";
|
---|
| 264 | const char *UIExtraDataDefs::GUI_HelpBrowser_ZoomPercentage = "GUI/HelpBrowserZoomPercentage";
|
---|
[86716] | 265 |
|
---|
[88173] | 266 | /* VM Activity Overview: */
|
---|
[88205] | 267 | const char *UIExtraDataDefs::GUI_VMActivityOverview_HiddenColumns = "GUI/VMActivityOverviewHiddenColumns";
|
---|
| 268 | const char *UIExtraDataDefs::GUI_VMActivityOverview_ShowAllMachines = "GUI/VMActivityOverviewShowAllMachines";
|
---|
[83452] | 269 |
|
---|
[92437] | 270 | const char *UIExtraDataDefs::GUI_MediumSelector_DialogGeometry = "GUI/MediumSelector/DialogGeometry";
|
---|
| 271 |
|
---|
[102222] | 272 | const int UIExtraDataDefs::iFontScaleMin = 40;
|
---|
[97327] | 273 | const int UIExtraDataDefs::iFontScaleMax = 200;
|
---|
[97311] | 274 |
|
---|
[75305] | 275 | /* Obsolete keys: */
|
---|
[94005] | 276 | QMultiMap<QString, QString> UIExtraDataDefs::prepareObsoleteKeysMap()
|
---|
[75305] | 277 | {
|
---|
[94005] | 278 | QMultiMap<QString, QString> map;
|
---|
| 279 | map.insert(GUI_Details_Elements, GUI_DetailsPageBoxes);
|
---|
| 280 | map.insert(GUI_Details_Elements_Preview_UpdateInterval, GUI_PreviewUpdate);
|
---|
[75305] | 281 | return map;
|
---|
| 282 | }
|
---|
[94005] | 283 | QMultiMap<QString, QString> UIExtraDataDefs::g_mapOfObsoleteKeys = UIExtraDataDefs::prepareObsoleteKeysMap();
|
---|
[75305] | 284 |
|
---|
| 285 |
|
---|
[75017] | 286 | bool UIToolStuff::isTypeOfClass(UIToolType enmType, UIToolClass enmClass)
|
---|
| 287 | {
|
---|
| 288 | switch (enmClass)
|
---|
| 289 | {
|
---|
| 290 | case UIToolClass_Global:
|
---|
| 291 | {
|
---|
| 292 | switch (enmType)
|
---|
| 293 | {
|
---|
| 294 | case UIToolType_Welcome:
|
---|
[87354] | 295 | case UIToolType_Extensions:
|
---|
[75017] | 296 | case UIToolType_Media:
|
---|
| 297 | case UIToolType_Network:
|
---|
| 298 | case UIToolType_Cloud:
|
---|
[87475] | 299 | case UIToolType_CloudConsole:
|
---|
[88074] | 300 | case UIToolType_VMActivityOverview:
|
---|
[75017] | 301 | return true;
|
---|
| 302 | default:
|
---|
| 303 | break;
|
---|
| 304 | }
|
---|
| 305 | break;
|
---|
| 306 | }
|
---|
| 307 | case UIToolClass_Machine:
|
---|
| 308 | {
|
---|
| 309 | switch (enmType)
|
---|
| 310 | {
|
---|
| 311 | case UIToolType_Details:
|
---|
| 312 | case UIToolType_Snapshots:
|
---|
| 313 | case UIToolType_Logs:
|
---|
[88071] | 314 | case UIToolType_VMActivity:
|
---|
[92638] | 315 | case UIToolType_FileManager:
|
---|
[75017] | 316 | return true;
|
---|
| 317 | default:
|
---|
| 318 | break;
|
---|
| 319 | }
|
---|
| 320 | break;
|
---|
| 321 | }
|
---|
| 322 | default:
|
---|
| 323 | break;
|
---|
| 324 | }
|
---|
| 325 | return false;
|
---|
| 326 | }
|
---|