- Timestamp:
- Mar 21, 2018 4:29:44 PM (7 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/extradata
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataDefs.cpp
r71104 r71437 5 5 6 6 /* 7 * Copyright (C) 2006-201 7Oracle Corporation7 * Copyright (C) 2006-2018 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 27 27 28 28 /* General: */ 29 const char* UIExtraDataDefs::GUI_EventHandlingType = "GUI/EventHandlingType"; 29 const char *UIExtraDataDefs::GUI_EventHandlingType = "GUI/EventHandlingType"; 30 30 31 31 32 /* Messaging: */ 32 const char *UIExtraDataDefs::GUI_SuppressMessages = "GUI/SuppressMessages";33 const char *UIExtraDataDefs::GUI_InvertMessageOption = "GUI/InvertMessageOption";33 const char *UIExtraDataDefs::GUI_SuppressMessages = "GUI/SuppressMessages"; 34 const char *UIExtraDataDefs::GUI_InvertMessageOption = "GUI/InvertMessageOption"; 34 35 #if !defined(VBOX_BLEEDING_EDGE) && !defined(DEBUG) 35 const char* UIExtraDataDefs::GUI_PreventBetaWarning = "GUI/PreventBetaWarning"; 36 #endif /* !defined(VBOX_BLEEDING_EDGE) && !defined(DEBUG) */ 36 const char *UIExtraDataDefs::GUI_PreventBetaWarning = "GUI/PreventBetaWarning"; 37 #endif 38 37 39 38 40 #ifdef VBOX_GUI_WITH_NETWORK_MANAGER 39 41 /* Application Update: */ 40 const char *UIExtraDataDefs::GUI_PreventApplicationUpdate = "GUI/PreventApplicationUpdate";41 const char *UIExtraDataDefs::GUI_UpdateDate = "GUI/UpdateDate";42 const char *UIExtraDataDefs::GUI_UpdateCheckCount = "GUI/UpdateCheckCount";42 const char *UIExtraDataDefs::GUI_PreventApplicationUpdate = "GUI/PreventApplicationUpdate"; 43 const char *UIExtraDataDefs::GUI_UpdateDate = "GUI/UpdateDate"; 44 const char *UIExtraDataDefs::GUI_UpdateCheckCount = "GUI/UpdateCheckCount"; 43 45 #endif /* VBOX_GUI_WITH_NETWORK_MANAGER */ 44 46 47 45 48 /* Progress: */ 46 const char* UIExtraDataDefs::GUI_Progress_LegacyMode = "GUI/Progress/LegacyMode"; 49 const char *UIExtraDataDefs::GUI_Progress_LegacyMode = "GUI/Progress/LegacyMode"; 50 47 51 48 52 /* Settings: */ 49 const char *UIExtraDataDefs::GUI_Customizations = "GUI/Customizations";50 const char *UIExtraDataDefs::GUI_RestrictedGlobalSettingsPages = "GUI/RestrictedGlobalSettingsPages";51 const char *UIExtraDataDefs::GUI_RestrictedMachineSettingsPages = "GUI/RestrictedMachineSettingsPages";53 const char *UIExtraDataDefs::GUI_Customizations = "GUI/Customizations"; 54 const char *UIExtraDataDefs::GUI_RestrictedGlobalSettingsPages = "GUI/RestrictedGlobalSettingsPages"; 55 const char *UIExtraDataDefs::GUI_RestrictedMachineSettingsPages = "GUI/RestrictedMachineSettingsPages"; 52 56 53 57 /* Settings: General: */ 54 const char *UIExtraDataDefs::GUI_HostScreenSaverDisabled = "GUI/HostScreenSaverDisabled";58 const char *UIExtraDataDefs::GUI_HostScreenSaverDisabled = "GUI/HostScreenSaverDisabled"; 55 59 56 60 /* Settings: Language: */ 57 const char *UIExtraDataDefs::GUI_LanguageID = "GUI/LanguageID";61 const char *UIExtraDataDefs::GUI_LanguageID = "GUI/LanguageID"; 58 62 59 63 /* Settings: Display: */ 60 const char *UIExtraDataDefs::GUI_MaxGuestResolution = "GUI/MaxGuestResolution";61 const char *UIExtraDataDefs::GUI_ActivateHoveredMachineWindow = "GUI/ActivateHoveredMachineWindow";64 const char *UIExtraDataDefs::GUI_MaxGuestResolution = "GUI/MaxGuestResolution"; 65 const char *UIExtraDataDefs::GUI_ActivateHoveredMachineWindow = "GUI/ActivateHoveredMachineWindow"; 62 66 63 67 /* Settings: Keyboard: */ 64 const char *UIExtraDataDefs::GUI_Input_SelectorShortcuts = "GUI/Input/SelectorShortcuts";65 const char *UIExtraDataDefs::GUI_Input_MachineShortcuts = "GUI/Input/MachineShortcuts";66 const char *UIExtraDataDefs::GUI_Input_HostKeyCombination = "GUI/Input/HostKeyCombination";67 const char *UIExtraDataDefs::GUI_Input_AutoCapture = "GUI/Input/AutoCapture";68 const char *UIExtraDataDefs::GUI_RemapScancodes = "GUI/RemapScancodes";68 const char *UIExtraDataDefs::GUI_Input_SelectorShortcuts = "GUI/Input/SelectorShortcuts"; 69 const char *UIExtraDataDefs::GUI_Input_MachineShortcuts = "GUI/Input/MachineShortcuts"; 70 const char *UIExtraDataDefs::GUI_Input_HostKeyCombination = "GUI/Input/HostKeyCombination"; 71 const char *UIExtraDataDefs::GUI_Input_AutoCapture = "GUI/Input/AutoCapture"; 72 const char *UIExtraDataDefs::GUI_RemapScancodes = "GUI/RemapScancodes"; 69 73 70 74 /* Settings: Proxy: */ 71 const char *UIExtraDataDefs::GUI_ProxySettings = "GUI/ProxySettings";75 const char *UIExtraDataDefs::GUI_ProxySettings = "GUI/ProxySettings"; 72 76 73 77 /* Settings: Storage: */ 74 const char* UIExtraDataDefs::GUI_RecentFolderHD = "GUI/RecentFolderHD"; 75 const char* UIExtraDataDefs::GUI_RecentFolderCD = "GUI/RecentFolderCD"; 76 const char* UIExtraDataDefs::GUI_RecentFolderFD = "GUI/RecentFolderFD"; 77 const char* UIExtraDataDefs::GUI_RecentFolderVISOContent = "GUI/RecentFolderVISOContent"; 78 const char* UIExtraDataDefs::GUI_RecentListHD = "GUI/RecentListHD"; 79 const char* UIExtraDataDefs::GUI_RecentListCD = "GUI/RecentListCD"; 80 const char* UIExtraDataDefs::GUI_RecentListFD = "GUI/RecentListFD"; 78 const char *UIExtraDataDefs::GUI_RecentFolderHD = "GUI/RecentFolderHD"; 79 const char *UIExtraDataDefs::GUI_RecentFolderCD = "GUI/RecentFolderCD"; 80 const char *UIExtraDataDefs::GUI_RecentFolderFD = "GUI/RecentFolderFD"; 81 const char *UIExtraDataDefs::GUI_RecentFolderVISOContent = "GUI/RecentFolderVISOContent"; 82 const char *UIExtraDataDefs::GUI_RecentListHD = "GUI/RecentListHD"; 83 const char *UIExtraDataDefs::GUI_RecentListCD = "GUI/RecentListCD"; 84 const char *UIExtraDataDefs::GUI_RecentListFD = "GUI/RecentListFD"; 85 81 86 82 87 /* VirtualBox Manager: */ 83 const char *UIExtraDataDefs::GUI_LastSelectorWindowPosition = "GUI/LastWindowPosition";84 const char *UIExtraDataDefs::GUI_SplitterSizes = "GUI/SplitterSizes";85 const char *UIExtraDataDefs::GUI_Toolbar = "GUI/Toolbar";86 const char *UIExtraDataDefs::GUI_Toolbar_Text = "GUI/Toolbar/Text";87 const char *UIExtraDataDefs::GUI_Toolbar_MachineTools_Order = "GUI/Toolbar/MachineTools/Order";88 const char *UIExtraDataDefs::GUI_Toolbar_GlobalTools_Order = "GUI/Toolbar/GlobalTools/Order";89 const char *UIExtraDataDefs::GUI_Statusbar = "GUI/Statusbar";90 const char *UIExtraDataDefs::GUI_GroupDefinitions = "GUI/GroupDefinitions";91 const char *UIExtraDataDefs::GUI_LastItemSelected = "GUI/LastItemSelected";92 const char *UIExtraDataDefs::GUI_DetailsPageBoxes = "GUI/DetailsPageBoxes";93 const char *UIExtraDataDefs::GUI_PreviewUpdate = "GUI/PreviewUpdate";88 const char *UIExtraDataDefs::GUI_LastSelectorWindowPosition = "GUI/LastWindowPosition"; 89 const char *UIExtraDataDefs::GUI_SplitterSizes = "GUI/SplitterSizes"; 90 const char *UIExtraDataDefs::GUI_Toolbar = "GUI/Toolbar"; 91 const char *UIExtraDataDefs::GUI_Toolbar_Text = "GUI/Toolbar/Text"; 92 const char *UIExtraDataDefs::GUI_Toolbar_MachineTools_Order = "GUI/Toolbar/MachineTools/Order"; 93 const char *UIExtraDataDefs::GUI_Toolbar_GlobalTools_Order = "GUI/Toolbar/GlobalTools/Order"; 94 const char *UIExtraDataDefs::GUI_Statusbar = "GUI/Statusbar"; 95 const char *UIExtraDataDefs::GUI_GroupDefinitions = "GUI/GroupDefinitions"; 96 const char *UIExtraDataDefs::GUI_LastItemSelected = "GUI/LastItemSelected"; 97 const char *UIExtraDataDefs::GUI_DetailsPageBoxes = "GUI/DetailsPageBoxes"; 98 const char *UIExtraDataDefs::GUI_PreviewUpdate = "GUI/PreviewUpdate"; 94 99 95 100 /* Snapshot Manager: */ 96 const char *UIExtraDataDefs::GUI_SnapshotManager_Details_Expanded = "GUI/SnapshotManager/Details/Expanded";101 const char *UIExtraDataDefs::GUI_SnapshotManager_Details_Expanded = "GUI/SnapshotManager/Details/Expanded"; 97 102 98 103 /* Virtual Media Manager: */ 99 const char *UIExtraDataDefs::GUI_VirtualMediaManager_Details_Expanded = "GUI/VirtualMediaManager/Details/Expanded";104 const char *UIExtraDataDefs::GUI_VirtualMediaManager_Details_Expanded = "GUI/VirtualMediaManager/Details/Expanded"; 100 105 101 106 /* Host Network Manager: */ 102 const char* UIExtraDataDefs::GUI_HostNetworkManager_Details_Expanded = "GUI/HostNetworkManager/Details/Expanded"; 107 const char *UIExtraDataDefs::GUI_HostNetworkManager_Details_Expanded = "GUI/HostNetworkManager/Details/Expanded"; 108 109 #ifdef VBOX_GUI_WITH_EXTRADATA_MANAGER_UI 110 /* Extra-data Manager: */ 111 const char *UIExtraDataDefs::GUI_ExtraDataManager_Geometry = "GUI/ExtraDataManager/Geometry"; 112 const char *UIExtraDataDefs::GUI_ExtraDataManager_SplitterHints = "GUI/ExtraDataManager/SplitterHints"; 113 #endif /* VBOX_GUI_WITH_EXTRADATA_MANAGER_UI */ 103 114 104 115 /* Wizards: */ 105 const char* UIExtraDataDefs::GUI_HideDescriptionForWizards = "GUI/HideDescriptionForWizards"; 116 const char *UIExtraDataDefs::GUI_HideDescriptionForWizards = "GUI/HideDescriptionForWizards"; 117 106 118 107 119 /* Virtual Machine: */ 108 const char *UIExtraDataDefs::GUI_HideFromManager = "GUI/HideFromManager";109 const char *UIExtraDataDefs::GUI_HideDetails = "GUI/HideDetails";110 const char *UIExtraDataDefs::GUI_PreventReconfiguration = "GUI/PreventReconfiguration";111 const char *UIExtraDataDefs::GUI_PreventSnapshotOperations = "GUI/PreventSnapshotOperations";112 const char *UIExtraDataDefs::GUI_FirstRun = "GUI/FirstRun";113 const char *UIExtraDataDefs::GUI_MachineWindowIcons = "GUI/MachineWindowIcons";120 const char *UIExtraDataDefs::GUI_HideFromManager = "GUI/HideFromManager"; 121 const char *UIExtraDataDefs::GUI_HideDetails = "GUI/HideDetails"; 122 const char *UIExtraDataDefs::GUI_PreventReconfiguration = "GUI/PreventReconfiguration"; 123 const char *UIExtraDataDefs::GUI_PreventSnapshotOperations = "GUI/PreventSnapshotOperations"; 124 const char *UIExtraDataDefs::GUI_FirstRun = "GUI/FirstRun"; 125 const char *UIExtraDataDefs::GUI_MachineWindowIcons = "GUI/MachineWindowIcons"; 114 126 #ifndef VBOX_WS_MAC 115 const char *UIExtraDataDefs::GUI_MachineWindowNamePostfix = "GUI/MachineWindowNamePostfix";116 #endif /* !VBOX_WS_MAC */117 const char *UIExtraDataDefs::GUI_LastNormalWindowPosition = "GUI/LastNormalWindowPosition";118 const char *UIExtraDataDefs::GUI_LastScaleWindowPosition = "GUI/LastScaleWindowPosition";119 const char *UIExtraDataDefs::GUI_Geometry_State_Max = "max";127 const char *UIExtraDataDefs::GUI_MachineWindowNamePostfix = "GUI/MachineWindowNamePostfix"; 128 #endif 129 const char *UIExtraDataDefs::GUI_LastNormalWindowPosition = "GUI/LastNormalWindowPosition"; 130 const char *UIExtraDataDefs::GUI_LastScaleWindowPosition = "GUI/LastScaleWindowPosition"; 131 const char *UIExtraDataDefs::GUI_Geometry_State_Max = "max"; 120 132 #ifndef VBOX_WS_MAC 121 const char *UIExtraDataDefs::GUI_MenuBar_Enabled = "GUI/MenuBar/Enabled";122 #endif /* !VBOX_WS_MAC */123 const char *UIExtraDataDefs::GUI_MenuBar_ContextMenu_Enabled = "GUI/MenuBar/ContextMenu/Enabled";124 const char *UIExtraDataDefs::GUI_RestrictedRuntimeMenus = "GUI/RestrictedRuntimeMenus";125 const char *UIExtraDataDefs::GUI_RestrictedRuntimeApplicationMenuActions = "GUI/RestrictedRuntimeApplicationMenuActions";126 const char *UIExtraDataDefs::GUI_RestrictedRuntimeMachineMenuActions = "GUI/RestrictedRuntimeMachineMenuActions";127 const char *UIExtraDataDefs::GUI_RestrictedRuntimeViewMenuActions = "GUI/RestrictedRuntimeViewMenuActions";128 const char *UIExtraDataDefs::GUI_RestrictedRuntimeInputMenuActions = "GUI/RestrictedRuntimeInputMenuActions";129 const char *UIExtraDataDefs::GUI_RestrictedRuntimeDevicesMenuActions = "GUI/RestrictedRuntimeDevicesMenuActions";133 const char *UIExtraDataDefs::GUI_MenuBar_Enabled = "GUI/MenuBar/Enabled"; 134 #endif 135 const char *UIExtraDataDefs::GUI_MenuBar_ContextMenu_Enabled = "GUI/MenuBar/ContextMenu/Enabled"; 136 const char *UIExtraDataDefs::GUI_RestrictedRuntimeMenus = "GUI/RestrictedRuntimeMenus"; 137 const char *UIExtraDataDefs::GUI_RestrictedRuntimeApplicationMenuActions = "GUI/RestrictedRuntimeApplicationMenuActions"; 138 const char *UIExtraDataDefs::GUI_RestrictedRuntimeMachineMenuActions = "GUI/RestrictedRuntimeMachineMenuActions"; 139 const char *UIExtraDataDefs::GUI_RestrictedRuntimeViewMenuActions = "GUI/RestrictedRuntimeViewMenuActions"; 140 const char *UIExtraDataDefs::GUI_RestrictedRuntimeInputMenuActions = "GUI/RestrictedRuntimeInputMenuActions"; 141 const char *UIExtraDataDefs::GUI_RestrictedRuntimeDevicesMenuActions = "GUI/RestrictedRuntimeDevicesMenuActions"; 130 142 #ifdef VBOX_WITH_DEBUGGER_GUI 131 const char *UIExtraDataDefs::GUI_RestrictedRuntimeDebuggerMenuActions = "GUI/RestrictedRuntimeDebuggerMenuActions";132 #endif /* VBOX_WITH_DEBUGGER_GUI */143 const char *UIExtraDataDefs::GUI_RestrictedRuntimeDebuggerMenuActions = "GUI/RestrictedRuntimeDebuggerMenuActions"; 144 #endif 133 145 #ifdef VBOX_WS_MAC 134 const char *UIExtraDataDefs::GUI_RestrictedRuntimeWindowMenuActions = "GUI/RestrictedRuntimeWindowMenuActions";135 #endif /* VBOX_WS_MAC */136 const char *UIExtraDataDefs::GUI_RestrictedRuntimeHelpMenuActions = "GUI/RestrictedRuntimeHelpMenuActions";137 const char *UIExtraDataDefs::GUI_RestrictedVisualStates = "GUI/RestrictedVisualStates";138 const char *UIExtraDataDefs::GUI_Fullscreen = "GUI/Fullscreen";139 const char *UIExtraDataDefs::GUI_Seamless = "GUI/Seamless";140 const char *UIExtraDataDefs::GUI_Scale = "GUI/Scale";146 const char *UIExtraDataDefs::GUI_RestrictedRuntimeWindowMenuActions = "GUI/RestrictedRuntimeWindowMenuActions"; 147 #endif 148 const char *UIExtraDataDefs::GUI_RestrictedRuntimeHelpMenuActions = "GUI/RestrictedRuntimeHelpMenuActions"; 149 const char *UIExtraDataDefs::GUI_RestrictedVisualStates = "GUI/RestrictedVisualStates"; 150 const char *UIExtraDataDefs::GUI_Fullscreen = "GUI/Fullscreen"; 151 const char *UIExtraDataDefs::GUI_Seamless = "GUI/Seamless"; 152 const char *UIExtraDataDefs::GUI_Scale = "GUI/Scale"; 141 153 #ifdef VBOX_WS_X11 142 const char *UIExtraDataDefs::GUI_Fullscreen_LegacyMode = "GUI/Fullscreen/LegacyMode";143 const char *UIExtraDataDefs::GUI_DistinguishMachineWindowGroups = "GUI/DistinguishMachineWindowGroups";154 const char *UIExtraDataDefs::GUI_Fullscreen_LegacyMode = "GUI/Fullscreen/LegacyMode"; 155 const char *UIExtraDataDefs::GUI_DistinguishMachineWindowGroups = "GUI/DistinguishMachineWindowGroups"; 144 156 #endif /* VBOX_WS_X11 */ 145 const char *UIExtraDataDefs::GUI_AutoresizeGuest = "GUI/AutoresizeGuest";146 const char *UIExtraDataDefs::GUI_LastVisibilityStatusForGuestScreen = "GUI/LastVisibilityStatusForGuestScreen";147 const char *UIExtraDataDefs::GUI_LastGuestSizeHint = "GUI/LastGuestSizeHint";148 const char *UIExtraDataDefs::GUI_VirtualScreenToHostScreen = "GUI/VirtualScreenToHostScreen";149 const char *UIExtraDataDefs::GUI_AutomountGuestScreens = "GUI/AutomountGuestScreens";157 const char *UIExtraDataDefs::GUI_AutoresizeGuest = "GUI/AutoresizeGuest"; 158 const char *UIExtraDataDefs::GUI_LastVisibilityStatusForGuestScreen = "GUI/LastVisibilityStatusForGuestScreen"; 159 const char *UIExtraDataDefs::GUI_LastGuestSizeHint = "GUI/LastGuestSizeHint"; 160 const char *UIExtraDataDefs::GUI_VirtualScreenToHostScreen = "GUI/VirtualScreenToHostScreen"; 161 const char *UIExtraDataDefs::GUI_AutomountGuestScreens = "GUI/AutomountGuestScreens"; 150 162 #ifdef VBOX_WITH_VIDEOHWACCEL 151 const char *UIExtraDataDefs::GUI_Accelerate2D_StretchLinear = "GUI/Accelerate2D/StretchLinear";152 const char *UIExtraDataDefs::GUI_Accelerate2D_PixformatYV12 = "GUI/Accelerate2D/PixformatYV12";153 const char *UIExtraDataDefs::GUI_Accelerate2D_PixformatUYVY = "GUI/Accelerate2D/PixformatUYVY";154 const char *UIExtraDataDefs::GUI_Accelerate2D_PixformatYUY2 = "GUI/Accelerate2D/PixformatYUY2";155 const char *UIExtraDataDefs::GUI_Accelerate2D_PixformatAYUV = "GUI/Accelerate2D/PixformatAYUV";163 const char *UIExtraDataDefs::GUI_Accelerate2D_StretchLinear = "GUI/Accelerate2D/StretchLinear"; 164 const char *UIExtraDataDefs::GUI_Accelerate2D_PixformatYV12 = "GUI/Accelerate2D/PixformatYV12"; 165 const char *UIExtraDataDefs::GUI_Accelerate2D_PixformatUYVY = "GUI/Accelerate2D/PixformatUYVY"; 166 const char *UIExtraDataDefs::GUI_Accelerate2D_PixformatYUY2 = "GUI/Accelerate2D/PixformatYUY2"; 167 const char *UIExtraDataDefs::GUI_Accelerate2D_PixformatAYUV = "GUI/Accelerate2D/PixformatAYUV"; 156 168 #endif /* VBOX_WITH_VIDEOHWACCEL */ 157 169 #ifndef VBOX_WS_MAC 158 const char *UIExtraDataDefs::GUI_ShowMiniToolBar = "GUI/ShowMiniToolBar";159 const char *UIExtraDataDefs::GUI_MiniToolBarAutoHide = "GUI/MiniToolBarAutoHide";160 const char *UIExtraDataDefs::GUI_MiniToolBarAlignment = "GUI/MiniToolBarAlignment";170 const char *UIExtraDataDefs::GUI_ShowMiniToolBar = "GUI/ShowMiniToolBar"; 171 const char *UIExtraDataDefs::GUI_MiniToolBarAutoHide = "GUI/MiniToolBarAutoHide"; 172 const char *UIExtraDataDefs::GUI_MiniToolBarAlignment = "GUI/MiniToolBarAlignment"; 161 173 #endif /* !VBOX_WS_MAC */ 162 const char *UIExtraDataDefs::GUI_StatusBar_Enabled = "GUI/StatusBar/Enabled";163 const char *UIExtraDataDefs::GUI_StatusBar_ContextMenu_Enabled = "GUI/StatusBar/ContextMenu/Enabled";164 const char *UIExtraDataDefs::GUI_RestrictedStatusBarIndicators = "GUI/RestrictedStatusBarIndicators";165 const char *UIExtraDataDefs::GUI_StatusBar_IndicatorOrder = "GUI/StatusBar/IndicatorOrder";174 const char *UIExtraDataDefs::GUI_StatusBar_Enabled = "GUI/StatusBar/Enabled"; 175 const char *UIExtraDataDefs::GUI_StatusBar_ContextMenu_Enabled = "GUI/StatusBar/ContextMenu/Enabled"; 176 const char *UIExtraDataDefs::GUI_RestrictedStatusBarIndicators = "GUI/RestrictedStatusBarIndicators"; 177 const char *UIExtraDataDefs::GUI_StatusBar_IndicatorOrder = "GUI/StatusBar/IndicatorOrder"; 166 178 #ifdef VBOX_WS_MAC 167 const char *UIExtraDataDefs::GUI_RealtimeDockIconUpdateEnabled = "GUI/RealtimeDockIconUpdateEnabled";168 const char *UIExtraDataDefs::GUI_RealtimeDockIconUpdateMonitor = "GUI/RealtimeDockIconUpdateMonitor";169 const char *UIExtraDataDefs::GUI_DockIconDisableOverlay = "GUI/DockIconDisableOverlay";179 const char *UIExtraDataDefs::GUI_RealtimeDockIconUpdateEnabled = "GUI/RealtimeDockIconUpdateEnabled"; 180 const char *UIExtraDataDefs::GUI_RealtimeDockIconUpdateMonitor = "GUI/RealtimeDockIconUpdateMonitor"; 181 const char *UIExtraDataDefs::GUI_DockIconDisableOverlay = "GUI/DockIconDisableOverlay"; 170 182 #endif /* VBOX_WS_MAC */ 171 const char *UIExtraDataDefs::GUI_PassCAD = "GUI/PassCAD";172 const char *UIExtraDataDefs::GUI_MouseCapturePolicy = "GUI/MouseCapturePolicy";173 const char *UIExtraDataDefs::GUI_GuruMeditationHandler = "GUI/GuruMeditationHandler";174 const char *UIExtraDataDefs::GUI_HidLedsSync = "GUI/HidLedsSync";175 const char *UIExtraDataDefs::GUI_ScaleFactor = "GUI/ScaleFactor";176 const char *UIExtraDataDefs::GUI_Scaling_Optimization = "GUI/Scaling/Optimization";183 const char *UIExtraDataDefs::GUI_PassCAD = "GUI/PassCAD"; 184 const char *UIExtraDataDefs::GUI_MouseCapturePolicy = "GUI/MouseCapturePolicy"; 185 const char *UIExtraDataDefs::GUI_GuruMeditationHandler = "GUI/GuruMeditationHandler"; 186 const char *UIExtraDataDefs::GUI_HidLedsSync = "GUI/HidLedsSync"; 187 const char *UIExtraDataDefs::GUI_ScaleFactor = "GUI/ScaleFactor"; 188 const char *UIExtraDataDefs::GUI_Scaling_Optimization = "GUI/Scaling/Optimization"; 177 189 178 190 /* Virtual Machine: Information dialog: */ 179 const char *UIExtraDataDefs::GUI_InformationWindowGeometry = "GUI/InformationWindowGeometry";180 const char *UIExtraDataDefs::GUI_InformationWindowElements = "GUI/InformationWindowElements";191 const char *UIExtraDataDefs::GUI_InformationWindowGeometry = "GUI/InformationWindowGeometry"; 192 const char *UIExtraDataDefs::GUI_InformationWindowElements = "GUI/InformationWindowElements"; 181 193 182 194 /* Virtual Machine: Close dialog: */ 183 const char *UIExtraDataDefs::GUI_DefaultCloseAction = "GUI/DefaultCloseAction";184 const char *UIExtraDataDefs::GUI_RestrictedCloseActions = "GUI/RestrictedCloseActions";185 const char *UIExtraDataDefs::GUI_LastCloseAction = "GUI/LastCloseAction";186 const char *UIExtraDataDefs::GUI_CloseActionHook = "GUI/CloseActionHook";195 const char *UIExtraDataDefs::GUI_DefaultCloseAction = "GUI/DefaultCloseAction"; 196 const char *UIExtraDataDefs::GUI_RestrictedCloseActions = "GUI/RestrictedCloseActions"; 197 const char *UIExtraDataDefs::GUI_LastCloseAction = "GUI/LastCloseAction"; 198 const char *UIExtraDataDefs::GUI_CloseActionHook = "GUI/CloseActionHook"; 187 199 188 200 #ifdef VBOX_WITH_DEBUGGER_GUI 189 201 /* Virtual Machine: Debug UI: */ 190 const char *UIExtraDataDefs::GUI_Dbg_Enabled = "GUI/Dbg/Enabled";191 const char *UIExtraDataDefs::GUI_Dbg_AutoShow = "GUI/Dbg/AutoShow";202 const char *UIExtraDataDefs::GUI_Dbg_Enabled = "GUI/Dbg/Enabled"; 203 const char *UIExtraDataDefs::GUI_Dbg_AutoShow = "GUI/Dbg/AutoShow"; 192 204 #endif /* VBOX_WITH_DEBUGGER_GUI */ 193 205 194 #ifdef VBOX_GUI_WITH_EXTRADATA_MANAGER_UI 195 /* VirtualBox: Extra-data Manager window: */ 196 const char* UIExtraDataDefs::GUI_ExtraDataManager_Geometry = "GUI/ExtraDataManager/Geometry"; 197 const char* UIExtraDataDefs::GUI_ExtraDataManager_SplitterHints = "GUI/ExtraDataManager/SplitterHints"; 198 #endif /* VBOX_GUI_WITH_EXTRADATA_MANAGER_UI */ 199 200 /* Virtual Machine: Log dialog: */ 201 const char* UIExtraDataDefs::GUI_LogWindowGeometry = "GUI/LogWindowGeometry"; 202 206 /* Virtual Machine: Log-viewer: */ 207 const char *UIExtraDataDefs::GUI_LogWindowGeometry = "GUI/LogWindowGeometry"; 208 -
trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataDefs.h
r71104 r71437 5 5 6 6 /* 7 * Copyright (C) 2006-201 7Oracle Corporation7 * Copyright (C) 2006-2018 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 33 33 * @{ */ 34 34 /** Holds event handling type. */ 35 extern const char *GUI_EventHandlingType;35 extern const char *GUI_EventHandlingType; 36 36 /** @} */ 37 37 … … 39 39 * @{ */ 40 40 /** Holds the list of supressed messages for the Message/Popup center frameworks. */ 41 extern const char *GUI_SuppressMessages;41 extern const char *GUI_SuppressMessages; 42 42 /** Holds the list of messages for the Message/Popup center frameworks with inverted check-box state. */ 43 extern const char *GUI_InvertMessageOption;43 extern const char *GUI_InvertMessageOption; 44 44 #if !defined(VBOX_BLEEDING_EDGE) && !defined(DEBUG) 45 45 /** Holds version for which user wants to prevent BETA build warning. */ 46 extern const char *GUI_PreventBetaWarning;47 #endif /* !defined(VBOX_BLEEDING_EDGE) && !defined(DEBUG) */46 extern const char *GUI_PreventBetaWarning; 47 #endif 48 48 /** @} */ 49 49 … … 52 52 * @{ */ 53 53 /** Holds whether Application Update functionality enabled. */ 54 extern const char *GUI_PreventApplicationUpdate;54 extern const char *GUI_PreventApplicationUpdate; 55 55 /** Holds Application Update data. */ 56 extern const char *GUI_UpdateDate;56 extern const char *GUI_UpdateDate; 57 57 /** Holds Application Update check counter. */ 58 extern const char *GUI_UpdateCheckCount;58 extern const char *GUI_UpdateCheckCount; 59 59 /** @} */ 60 60 #endif /* VBOX_GUI_WITH_NETWORK_MANAGER */ … … 63 63 * @{ */ 64 64 /** Holds whether legacy progress handling method is requested. */ 65 extern const char *GUI_Progress_LegacyMode;65 extern const char *GUI_Progress_LegacyMode; 66 66 /** @} */ 67 67 … … 69 69 * @{ */ 70 70 /** Holds GUI feature list. */ 71 extern const char *GUI_Customizations;71 extern const char *GUI_Customizations; 72 72 /** Holds restricted Global Settings pages. */ 73 extern const char *GUI_RestrictedGlobalSettingsPages;73 extern const char *GUI_RestrictedGlobalSettingsPages; 74 74 /** Holds restricted Machine Settings pages. */ 75 extern const char *GUI_RestrictedMachineSettingsPages;75 extern const char *GUI_RestrictedMachineSettingsPages; 76 76 /** @} */ 77 77 … … 79 79 * @{ */ 80 80 /** Holds whether host screen-saver should be disabled. */ 81 extern const char *GUI_HostScreenSaverDisabled;81 extern const char *GUI_HostScreenSaverDisabled; 82 82 /** @} */ 83 83 … … 85 85 * @{ */ 86 86 /** Holds GUI language ID. */ 87 extern const char *GUI_LanguageID;87 extern const char *GUI_LanguageID; 88 88 /** @} */ 89 89 … … 91 91 * @{ */ 92 92 /** Holds maximum guest-screen resolution policy/value. */ 93 extern const char *GUI_MaxGuestResolution;93 extern const char *GUI_MaxGuestResolution; 94 94 /** Holds whether hovered machine-window should be activated. */ 95 extern const char *GUI_ActivateHoveredMachineWindow;95 extern const char *GUI_ActivateHoveredMachineWindow; 96 96 /** @} */ 97 97 … … 99 99 * @{ */ 100 100 /** Holds Selector UI shortcut overrides. */ 101 extern const char *GUI_Input_SelectorShortcuts;101 extern const char *GUI_Input_SelectorShortcuts; 102 102 /** Holds Runtime UI shortcut overrides. */ 103 extern const char *GUI_Input_MachineShortcuts;103 extern const char *GUI_Input_MachineShortcuts; 104 104 /** Holds Runtime UI host-key combination. */ 105 extern const char *GUI_Input_HostKeyCombination;105 extern const char *GUI_Input_HostKeyCombination; 106 106 /** Holds whether Runtime UI auto-capture is enabled. */ 107 extern const char *GUI_Input_AutoCapture;107 extern const char *GUI_Input_AutoCapture; 108 108 /** Holds Runtime UI remapped scan codes. */ 109 extern const char *GUI_RemapScancodes;109 extern const char *GUI_RemapScancodes; 110 110 /** @} */ 111 111 … … 113 113 * @{ */ 114 114 /** Holds VBox proxy settings. */ 115 extern const char *GUI_ProxySettings;115 extern const char *GUI_ProxySettings; 116 116 /** @} */ 117 117 … … 119 119 * @{ */ 120 120 /** Holds recent folder for hard-drives. */ 121 extern const char *GUI_RecentFolderHD;121 extern const char *GUI_RecentFolderHD; 122 122 /** Holds recent folder for optical-disks. */ 123 extern const char *GUI_RecentFolderCD;123 extern const char *GUI_RecentFolderCD; 124 124 /** Holds recent folder for floppy-disks. */ 125 extern const char *GUI_RecentFolderFD;125 extern const char *GUI_RecentFolderFD; 126 126 /** Holds recent folder for VISO creation content. */ 127 extern const char *GUI_RecentFolderVISOContent;127 extern const char *GUI_RecentFolderVISOContent; 128 128 /** Holds the list of recently used hard-drives. */ 129 extern const char *GUI_RecentListHD;129 extern const char *GUI_RecentListHD; 130 130 /** Holds the list of recently used optical-disks. */ 131 extern const char *GUI_RecentListCD;131 extern const char *GUI_RecentListCD; 132 132 /** Holds the list of recently used floppy-disks. */ 133 extern const char *GUI_RecentListFD;133 extern const char *GUI_RecentListFD; 134 134 /** @} */ 135 135 … … 137 137 * @{ */ 138 138 /** Holds selector-window geometry. */ 139 extern const char *GUI_LastSelectorWindowPosition;139 extern const char *GUI_LastSelectorWindowPosition; 140 140 /** Holds selector-window splitter hints. */ 141 extern const char *GUI_SplitterSizes;141 extern const char *GUI_SplitterSizes; 142 142 /** Holds whether selector-window tool-bar visible. */ 143 extern const char *GUI_Toolbar;143 extern const char *GUI_Toolbar; 144 144 /** Holds whether selector-window tool-bar text visible. */ 145 extern const char *GUI_Toolbar_Text;145 extern const char *GUI_Toolbar_Text; 146 146 /** Holds the selector-window machine tools order. */ 147 extern const char *GUI_Toolbar_MachineTools_Order;147 extern const char *GUI_Toolbar_MachineTools_Order; 148 148 /** Holds the selector-window global tools order. */ 149 extern const char *GUI_Toolbar_GlobalTools_Order;149 extern const char *GUI_Toolbar_GlobalTools_Order; 150 150 /** Holds whether selector-window status-bar visible. */ 151 extern const char *GUI_Statusbar;151 extern const char *GUI_Statusbar; 152 152 /** Prefix used by composite extra-data keys, 153 153 * which holds selector-window chooser-pane' groups definitions. */ 154 extern const char *GUI_GroupDefinitions;154 extern const char *GUI_GroupDefinitions; 155 155 /** Holds last item chosen in selector-window chooser-pane. */ 156 extern const char *GUI_LastItemSelected;156 extern const char *GUI_LastItemSelected; 157 157 /** Holds selector-window details-pane' elements. */ 158 extern const char *GUI_DetailsPageBoxes;158 extern const char *GUI_DetailsPageBoxes; 159 159 /** Holds selector-window details-pane' preview update interval. */ 160 extern const char *GUI_PreviewUpdate;160 extern const char *GUI_PreviewUpdate; 161 161 /** @} */ 162 162 … … 164 164 * @{ */ 165 165 /** Holds whether Snapshot Manager details expanded. */ 166 extern const char *GUI_SnapshotManager_Details_Expanded;166 extern const char *GUI_SnapshotManager_Details_Expanded; 167 167 /** @} */ 168 168 … … 170 170 * @{ */ 171 171 /** Holds whether Virtual Media Manager details expanded. */ 172 extern const char *GUI_VirtualMediaManager_Details_Expanded;172 extern const char *GUI_VirtualMediaManager_Details_Expanded; 173 173 /** @} */ 174 174 … … 176 176 * @{ */ 177 177 /** Holds whether Host Network Manager details expanded. */ 178 extern const char* GUI_HostNetworkManager_Details_Expanded; 179 /** @} */ 178 extern const char *GUI_HostNetworkManager_Details_Expanded; 179 /** @} */ 180 181 #ifdef VBOX_GUI_WITH_EXTRADATA_MANAGER_UI 182 /** @name Extra-data Manager 183 * @{ */ 184 /** Holds extra-data manager geometry. */ 185 extern const char *GUI_ExtraDataManager_Geometry; 186 /** Holds extra-data manager splitter hints. */ 187 extern const char *GUI_ExtraDataManager_SplitterHints; 188 /** @} */ 189 #endif /* VBOX_GUI_WITH_EXTRADATA_MANAGER_UI */ 180 190 181 191 /** @name Wizards 182 192 * @{ */ 183 193 /** Holds wizard types for which descriptions should be hidden. */ 184 extern const char *GUI_HideDescriptionForWizards;194 extern const char *GUI_HideDescriptionForWizards; 185 195 /** @} */ 186 196 … … 188 198 * @{ */ 189 199 /** Holds whether machine shouldn't be shown in selector-window chooser-pane. */ 190 extern const char *GUI_HideFromManager;200 extern const char *GUI_HideFromManager; 191 201 /** Holds whether machine shouldn't be shown in selector-window details-pane. */ 192 extern const char *GUI_HideDetails;202 extern const char *GUI_HideDetails; 193 203 /** Holds whether machine reconfiguration disabled. */ 194 extern const char *GUI_PreventReconfiguration;204 extern const char *GUI_PreventReconfiguration; 195 205 /** Holds whether machine snapshot operations disabled. */ 196 extern const char *GUI_PreventSnapshotOperations;206 extern const char *GUI_PreventSnapshotOperations; 197 207 /** Holds whether this machine is first time started. */ 198 extern const char *GUI_FirstRun;208 extern const char *GUI_FirstRun; 199 209 /** Except Mac OS X: Holds redefined machine-window icon names. */ 200 extern const char *GUI_MachineWindowIcons;210 extern const char *GUI_MachineWindowIcons; 201 211 #ifndef VBOX_WS_MAC 202 212 /** Except Mac OS X: Holds redefined machine-window name postfix. */ 203 extern const char *GUI_MachineWindowNamePostfix;204 #endif /* !VBOX_WS_MAC */213 extern const char *GUI_MachineWindowNamePostfix; 214 #endif 205 215 /** Prefix used by composite extra-data keys, 206 216 * which holds normal machine-window geometry per screen-index. */ 207 extern const char *GUI_LastNormalWindowPosition;217 extern const char *GUI_LastNormalWindowPosition; 208 218 /** Prefix used by composite extra-data keys, 209 219 * which holds scaled machine-window geometry per screen-index. */ 210 extern const char *GUI_LastScaleWindowPosition;220 extern const char *GUI_LastScaleWindowPosition; 211 221 /** Holds machine-window geometry maximized state flag. */ 212 extern const char *GUI_Geometry_State_Max;222 extern const char *GUI_Geometry_State_Max; 213 223 #ifndef VBOX_WS_MAC 214 224 /** Holds Runtime UI menu-bar availability status. */ 215 extern const char *GUI_MenuBar_Enabled;216 #endif /* !VBOX_WS_MAC */225 extern const char *GUI_MenuBar_Enabled; 226 #endif 217 227 /** Holds Runtime UI menu-bar context-menu availability status. */ 218 extern const char *GUI_MenuBar_ContextMenu_Enabled;228 extern const char *GUI_MenuBar_ContextMenu_Enabled; 219 229 /** Holds restricted Runtime UI menu types. */ 220 extern const char *GUI_RestrictedRuntimeMenus;230 extern const char *GUI_RestrictedRuntimeMenus; 221 231 /** Holds restricted Runtime UI action types for 'Application' menu. */ 222 extern const char *GUI_RestrictedRuntimeApplicationMenuActions;232 extern const char *GUI_RestrictedRuntimeApplicationMenuActions; 223 233 /** Holds restricted Runtime UI action types for Machine menu. */ 224 extern const char *GUI_RestrictedRuntimeMachineMenuActions;234 extern const char *GUI_RestrictedRuntimeMachineMenuActions; 225 235 /** Holds restricted Runtime UI action types for View menu. */ 226 extern const char *GUI_RestrictedRuntimeViewMenuActions;236 extern const char *GUI_RestrictedRuntimeViewMenuActions; 227 237 /** Holds restricted Runtime UI action types for Input menu. */ 228 extern const char *GUI_RestrictedRuntimeInputMenuActions;238 extern const char *GUI_RestrictedRuntimeInputMenuActions; 229 239 /** Holds restricted Runtime UI action types for Devices menu. */ 230 extern const char *GUI_RestrictedRuntimeDevicesMenuActions;240 extern const char *GUI_RestrictedRuntimeDevicesMenuActions; 231 241 #ifdef VBOX_WITH_DEBUGGER_GUI 232 242 /** Holds restricted Runtime UI action types for Debugger menu. */ 233 extern const char *GUI_RestrictedRuntimeDebuggerMenuActions;234 #endif /* VBOX_WITH_DEBUGGER_GUI */243 extern const char *GUI_RestrictedRuntimeDebuggerMenuActions; 244 #endif 235 245 #ifdef VBOX_WS_MAC 236 246 /** Mac OS X: Holds restricted Runtime UI action types for 'Window' menu. */ 237 extern const char *GUI_RestrictedRuntimeWindowMenuActions;238 #endif /* VBOX_WS_MAC */247 extern const char *GUI_RestrictedRuntimeWindowMenuActions; 248 #endif 239 249 /** Holds restricted Runtime UI action types for Help menu. */ 240 extern const char *GUI_RestrictedRuntimeHelpMenuActions;250 extern const char *GUI_RestrictedRuntimeHelpMenuActions; 241 251 /** Holds restricted Runtime UI visual-states. */ 242 extern const char *GUI_RestrictedVisualStates;252 extern const char *GUI_RestrictedVisualStates; 243 253 /** Holds whether full screen visual-state is requested. */ 244 extern const char *GUI_Fullscreen;254 extern const char *GUI_Fullscreen; 245 255 /** Holds whether seamless visual-state is requested. */ 246 extern const char *GUI_Seamless;256 extern const char *GUI_Seamless; 247 257 /** Holds whether scaled visual-state is requested. */ 248 extern const char *GUI_Scale;258 extern const char *GUI_Scale; 249 259 #ifdef VBOX_WS_X11 250 260 /** Holds whether legacy full-screen mode is requested. */ 251 extern const char *GUI_Fullscreen_LegacyMode;261 extern const char *GUI_Fullscreen_LegacyMode; 252 262 /** Holds whether internal machine-window names should be unique. */ 253 extern const char *GUI_DistinguishMachineWindowGroups;263 extern const char *GUI_DistinguishMachineWindowGroups; 254 264 #endif /* VBOX_WS_X11 */ 255 265 /** Holds whether guest-screen auto-resize according machine-window size is enabled. */ 256 extern const char *GUI_AutoresizeGuest;266 extern const char *GUI_AutoresizeGuest; 257 267 /** Prefix used by composite extra-data keys, 258 268 * which holds last guest-screen visibility status per screen-index. */ 259 extern const char *GUI_LastVisibilityStatusForGuestScreen;269 extern const char *GUI_LastVisibilityStatusForGuestScreen; 260 270 /** Prefix used by composite extra-data keys, 261 271 * which holds last guest-screen size-hint per screen-index. */ 262 extern const char *GUI_LastGuestSizeHint;272 extern const char *GUI_LastGuestSizeHint; 263 273 /** Prefix used by composite extra-data keys, 264 274 * which holds host-screen index per guest-screen index. */ 265 extern const char *GUI_VirtualScreenToHostScreen;275 extern const char *GUI_VirtualScreenToHostScreen; 266 276 /** Holds whether automatic mounting/unmounting of guest-screens enabled. */ 267 extern const char *GUI_AutomountGuestScreens;277 extern const char *GUI_AutomountGuestScreens; 268 278 #ifdef VBOX_WITH_VIDEOHWACCEL 269 279 /** Holds whether 2D acceleration should use linear sretch. */ 270 extern const char *GUI_Accelerate2D_StretchLinear;280 extern const char *GUI_Accelerate2D_StretchLinear; 271 281 /** Holds whether 2D acceleration should use YV12 pixel format. */ 272 extern const char *GUI_Accelerate2D_PixformatYV12;282 extern const char *GUI_Accelerate2D_PixformatYV12; 273 283 /** Holds whether 2D acceleration should use UYVY pixel format. */ 274 extern const char *GUI_Accelerate2D_PixformatUYVY;284 extern const char *GUI_Accelerate2D_PixformatUYVY; 275 285 /** Holds whether 2D acceleration should use YUY2 pixel format. */ 276 extern const char *GUI_Accelerate2D_PixformatYUY2;286 extern const char *GUI_Accelerate2D_PixformatYUY2; 277 287 /** Holds whether 2D acceleration should use AYUV pixel format. */ 278 extern const char *GUI_Accelerate2D_PixformatAYUV;288 extern const char *GUI_Accelerate2D_PixformatAYUV; 279 289 #endif /* VBOX_WITH_VIDEOHWACCEL */ 280 290 #ifndef VBOX_WS_MAC 281 291 /** Holds whether mini-toolbar is enabled for full and seamless screens. */ 282 extern const char *GUI_ShowMiniToolBar;292 extern const char *GUI_ShowMiniToolBar; 283 293 /** Holds whether mini-toolbar should auto-hide itself. */ 284 extern const char *GUI_MiniToolBarAutoHide;294 extern const char *GUI_MiniToolBarAutoHide; 285 295 /** Holds mini-toolbar alignment. */ 286 extern const char *GUI_MiniToolBarAlignment;296 extern const char *GUI_MiniToolBarAlignment; 287 297 #endif /* !VBOX_WS_MAC */ 288 298 /** Holds Runtime UI status-bar availability status. */ 289 extern const char *GUI_StatusBar_Enabled;299 extern const char *GUI_StatusBar_Enabled; 290 300 /** Holds Runtime UI status-bar context-menu availability status. */ 291 extern const char *GUI_StatusBar_ContextMenu_Enabled;301 extern const char *GUI_StatusBar_ContextMenu_Enabled; 292 302 /** Holds restricted Runtime UI status-bar indicators. */ 293 extern const char *GUI_RestrictedStatusBarIndicators;303 extern const char *GUI_RestrictedStatusBarIndicators; 294 304 /** Holds Runtime UI status-bar indicator order. */ 295 extern const char *GUI_StatusBar_IndicatorOrder;305 extern const char *GUI_StatusBar_IndicatorOrder; 296 306 #ifdef VBOX_WS_MAC 297 307 /** Mac OS X: Holds whether Dock icon should be updated at runtime. */ 298 extern const char *GUI_RealtimeDockIconUpdateEnabled;308 extern const char *GUI_RealtimeDockIconUpdateEnabled; 299 309 /** Mac OS X: Holds guest-screen which Dock icon should reflect at runtime. */ 300 extern const char *GUI_RealtimeDockIconUpdateMonitor;310 extern const char *GUI_RealtimeDockIconUpdateMonitor; 301 311 /** Mac OS X: Holds whether Dock icon should have overlay disabled. */ 302 extern const char *GUI_DockIconDisableOverlay;312 extern const char *GUI_DockIconDisableOverlay; 303 313 #endif /* VBOX_WS_MAC */ 304 314 /** Holds whether machine should pass CAD to guest. */ 305 extern const char *GUI_PassCAD;315 extern const char *GUI_PassCAD; 306 316 /** Holds the mouse capture policy. */ 307 extern const char *GUI_MouseCapturePolicy;317 extern const char *GUI_MouseCapturePolicy; 308 318 /** Holds redefined guru-meditation handler type. */ 309 extern const char *GUI_GuruMeditationHandler;319 extern const char *GUI_GuruMeditationHandler; 310 320 /** Holds whether machine should perform HID LEDs synchronization. */ 311 extern const char *GUI_HidLedsSync;321 extern const char *GUI_HidLedsSync; 312 322 /** Holds the scale-factor. */ 313 extern const char *GUI_ScaleFactor;323 extern const char *GUI_ScaleFactor; 314 324 /** Holds the scaling optimization type. */ 315 extern const char *GUI_Scaling_Optimization;325 extern const char *GUI_Scaling_Optimization; 316 326 /** @} */ 317 327 … … 319 329 * @{ */ 320 330 /** Holds information-window geometry. */ 321 extern const char *GUI_InformationWindowGeometry;331 extern const char *GUI_InformationWindowGeometry; 322 332 /** Holds information-window elements. */ 323 extern const char *GUI_InformationWindowElements;333 extern const char *GUI_InformationWindowElements; 324 334 /** @} */ 325 335 … … 327 337 * @{ */ 328 338 /** Holds default machine close action. */ 329 extern const char *GUI_DefaultCloseAction;339 extern const char *GUI_DefaultCloseAction; 330 340 /** Holds restricted machine close actions. */ 331 extern const char *GUI_RestrictedCloseActions;341 extern const char *GUI_RestrictedCloseActions; 332 342 /** Holds last machine close action. */ 333 extern const char *GUI_LastCloseAction;343 extern const char *GUI_LastCloseAction; 334 344 /** Holds machine close hook script name as simple string. */ 335 extern const char *GUI_CloseActionHook;345 extern const char *GUI_CloseActionHook; 336 346 /** @} */ 337 347 … … 340 350 * @{ */ 341 351 /** Holds whether debugger UI enabled. */ 342 extern const char *GUI_Dbg_Enabled;352 extern const char *GUI_Dbg_Enabled; 343 353 /** Holds whether debugger UI should be auto-shown. */ 344 extern const char *GUI_Dbg_AutoShow;354 extern const char *GUI_Dbg_AutoShow; 345 355 /** @} */ 346 356 #endif /* VBOX_WITH_DEBUGGER_GUI */ 347 357 348 #ifdef VBOX_GUI_WITH_EXTRADATA_MANAGER_UI 349 /** @name VirtualBox: Extra-data Manager window 350 * @{ */ 351 /** Holds extra-data manager geometry. */ 352 extern const char* GUI_ExtraDataManager_Geometry; 353 /** Holds extra-data manager splitter hints. */ 354 extern const char* GUI_ExtraDataManager_SplitterHints; 355 /** @} */ 356 #endif /* VBOX_GUI_WITH_EXTRADATA_MANAGER_UI */ 357 358 /** @name Virtual Machine: Log dialog 359 * @{ */ 360 /** Holds log-window geometry. */ 361 extern const char* GUI_LogWindowGeometry; 358 /** @name Virtual Machine: Log-viewer 359 * @{ */ 360 /** Holds log-viewer geometry. */ 361 extern const char *GUI_LogWindowGeometry; 362 362 /** @} */ 363 363 } 364 364 365 365 366 /** Extra-data meta definitions. */ … … 376 377 #ifdef VBOX_WITH_DEBUGGER_GUI 377 378 Q_ENUMS(RuntimeMenuDebuggerActionType); 378 #endif /* VBOX_WITH_DEBUGGER_GUI */379 #ifdef RT_OS_DARWIN379 #endif 380 #ifdef VBOX_WS_MAC 380 381 Q_ENUMS(MenuWindowActionType); 381 #endif /* RT_OS_DARWIN */382 #endif 382 383 383 384 public: … … 394 395 #ifdef VBOX_WITH_DEBUGGER_GUI 395 396 MenuType_Debug = RT_BIT(5), 396 #endif /* VBOX_WITH_DEBUGGER_GUI */397 #ifdef RT_OS_DARWIN397 #endif 398 #ifdef VBOX_WS_MAC 398 399 MenuType_Window = RT_BIT(6), 399 #endif /* RT_OS_DARWIN */400 #endif 400 401 MenuType_Help = RT_BIT(7), 401 402 MenuType_All = 0xFF … … 406 407 { 407 408 MenuApplicationActionType_Invalid = 0, 408 #ifdef RT_OS_DARWIN409 #ifdef VBOX_WS_MAC 409 410 MenuApplicationActionType_About = RT_BIT(0), 410 #endif /* RT_OS_DARWIN */411 #endif 411 412 MenuApplicationActionType_Preferences = RT_BIT(1), 412 413 #ifdef VBOX_GUI_WITH_NETWORK_MANAGER 413 414 MenuApplicationActionType_NetworkAccessManager = RT_BIT(2), 414 415 MenuApplicationActionType_CheckForUpdates = RT_BIT(3), 415 #endif /* VBOX_GUI_WITH_NETWORK_MANAGER */416 #endif 416 417 MenuApplicationActionType_ResetWarnings = RT_BIT(4), 417 418 MenuApplicationActionType_Close = RT_BIT(5), … … 428 429 MenuHelpActionType_Forums = RT_BIT(3), 429 430 MenuHelpActionType_Oracle = RT_BIT(4), 430 #ifndef RT_OS_DARWIN431 #ifndef VBOX_WS_MAC 431 432 MenuHelpActionType_About = RT_BIT(5), 432 #endif /* !RT_OS_DARWIN */433 #endif 433 434 MenuHelpActionType_All = 0xFFFF 434 435 }; … … 458 459 RuntimeMenuViewActionType_Seamless = RT_BIT(1), 459 460 RuntimeMenuViewActionType_Scale = RT_BIT(2), 460 #ifndef RT_OS_DARWIN461 #ifndef VBOX_WS_MAC 461 462 RuntimeMenuViewActionType_MinimizeWindow = RT_BIT(3), 462 #endif /* !RT_OS_DARWIN */463 #endif 463 464 RuntimeMenuViewActionType_AdjustWindow = RT_BIT(4), 464 465 RuntimeMenuViewActionType_GuestAutoresize = RT_BIT(5), … … 470 471 RuntimeMenuViewActionType_MenuBar = RT_BIT(11), 471 472 RuntimeMenuViewActionType_MenuBarSettings = RT_BIT(12), 472 #ifndef RT_OS_DARWIN473 #ifndef VBOX_WS_MAC 473 474 RuntimeMenuViewActionType_ToggleMenuBar = RT_BIT(13), 474 #endif /* !RT_OS_DARWIN */475 #endif 475 476 RuntimeMenuViewActionType_StatusBar = RT_BIT(14), 476 477 RuntimeMenuViewActionType_StatusBarSettings = RT_BIT(15), … … 491 492 #ifdef VBOX_WS_X11 492 493 RuntimeMenuInputActionType_TypeCABS = RT_BIT(3), 493 #endif /* VBOX_WS_X11 */494 #endif 494 495 RuntimeMenuInputActionType_TypeCtrlBreak = RT_BIT(4), 495 496 RuntimeMenuInputActionType_TypeInsert = RT_BIT(5), … … 539 540 #endif /* VBOX_WITH_DEBUGGER_GUI */ 540 541 541 #ifdef RT_OS_DARWIN542 #ifdef VBOX_WS_MAC 542 543 /** Menu "Window": Action types. */ 543 544 enum MenuWindowActionType … … 548 549 MenuWindowActionType_All = 0xFFFF 549 550 }; 550 #endif /* RT_OS_DARWIN */ 551 }; 551 #endif /* VBOX_WS_MAC */ 552 }; 553 552 554 553 555 /** Common UI: Event handling types. */ … … 557 559 EventHandlingType_Passive 558 560 }; 561 559 562 560 563 /** Common UI: GUI feature types. */ … … 568 571 }; 569 572 573 570 574 /** Common UI: Global settings page types. */ 571 575 enum GlobalSettingsPageType … … 576 580 #ifdef VBOX_GUI_WITH_NETWORK_MANAGER 577 581 GlobalSettingsPageType_Update, 578 #endif /* VBOX_GUI_WITH_NETWORK_MANAGER */582 #endif 579 583 GlobalSettingsPageType_Language, 580 584 GlobalSettingsPageType_Display, … … 583 587 #ifdef VBOX_GUI_WITH_NETWORK_MANAGER 584 588 GlobalSettingsPageType_Proxy, 585 #endif /* VBOX_GUI_WITH_NETWORK_MANAGER */589 #endif 586 590 GlobalSettingsPageType_Max 587 591 }; 588 592 Q_DECLARE_METATYPE(GlobalSettingsPageType); 593 589 594 590 595 /** Common UI: Machine settings page types. */ … … 607 612 Q_DECLARE_METATYPE(MachineSettingsPageType); 608 613 614 609 615 /** Common UI: Wizard types. */ 610 616 enum WizardType … … 620 626 }; 621 627 628 622 629 /** Common UI: Wizard modes. */ 623 630 enum WizardMode … … 640 647 Q_DECLARE_METATYPE(ToolTypeMachine); 641 648 649 642 650 /** Selector UI: Global tool types. */ 643 651 enum ToolTypeGlobal … … 649 657 }; 650 658 Q_DECLARE_METATYPE(ToolTypeGlobal); 659 651 660 652 661 /** Selector UI: Details-element types. */ … … 669 678 Q_DECLARE_METATYPE(DetailsElementType); 670 679 680 671 681 /** Selector UI: Preview update interval types. */ 672 682 enum PreviewUpdateIntervalType … … 693 703 }; 694 704 Q_DECLARE_METATYPE(UIVisualStateType); 705 695 706 696 707 /** Runtime UI: Indicator types. */ … … 715 726 Q_DECLARE_METATYPE(IndicatorType); 716 727 728 717 729 /** Runtime UI: Machine close actions. */ 718 730 enum MachineCloseAction … … 728 740 Q_DECLARE_METATYPE(MachineCloseAction); 729 741 742 730 743 /** Runtime UI: Mouse capture policy types. */ 731 744 enum MouseCapturePolicy … … 736 749 }; 737 750 738 /** Guru Meditation handler types. */ 751 752 /** Runtime UI: Guru Meditation handler types. */ 739 753 enum GuruMeditationHandlerType 740 754 { … … 744 758 }; 745 759 760 746 761 /** Runtime UI: Scaling optimization types. */ 747 762 enum ScalingOptimizationType … … 750 765 ScalingOptimizationType_Performance 751 766 }; 767 752 768 753 769 #ifndef VBOX_WS_MAC … … 759 775 }; 760 776 #endif /* !VBOX_WS_MAC */ 777 761 778 762 779 /** Runtime UI: Information-element types. */ … … 782 799 Q_DECLARE_METATYPE(InformationElementType); 783 800 801 784 802 /** Runtime UI: Maximum guest-screen resolution policy types. 785 803 * @note This policy determines which guest-screen resolutions we wish to … … 795 813 }; 796 814 815 797 816 #endif /* !___UIExtraDataDefs_h___ */ 798 817 -
trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.cpp
r71355 r71437 5 5 6 6 /* 7 * Copyright (C) 2010-201 7Oracle Corporation7 * Copyright (C) 2010-2018 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 40 40 41 41 /* GUI includes: */ 42 # include "VBoxGlobal.h" 43 # include "UIActionPool.h" 44 # include "UIConverter.h" 42 45 # include "UIDesktopWidgetWatchdog.h" 43 46 # include "UIExtraDataManager.h" 44 47 # include "UIHostComboEditor.h" 45 48 # include "UIMainEventListener.h" 46 # include "VBoxGlobal.h" 47 # include "UIActionPool.h" 48 # include "UIConverter.h" 49 # include "UIMessageCenter.h" 49 50 # include "UISettingsDefs.h" 50 # include "UIMessageCenter.h"51 51 # ifdef VBOX_GUI_WITH_EXTRADATA_MANAGER_UI 52 # include "QIDialog.h" 53 # include "QIDialogButtonBox.h" 54 # include "QIFileDialog.h" 55 # include "QIMainWindow.h" 56 # include "QISplitter.h" 57 # include "QIWidgetValidator.h" 52 58 # include "VBoxUtils.h" 53 # include "UIVirtualBoxEventHandler.h"54 59 # include "UIIconPool.h" 55 60 # include "UIToolBar.h" 56 # include "QIMainWindow.h" 57 # include "QIWidgetValidator.h" 58 # include "QIDialogButtonBox.h" 59 # include "QIFileDialog.h" 60 # include "QISplitter.h" 61 # include "QIDialog.h" 61 # include "UIVirtualBoxEventHandler.h" 62 62 # endif /* VBOX_GUI_WITH_EXTRADATA_MANAGER_UI */ 63 63 … … 66 66 # include "CEventListener.h" 67 67 # include "CEventSource.h" 68 # include "CMachine.h" 68 69 # include "CVirtualBox.h" 69 # include "CMachine.h"70 70 71 71 #endif /* !VBOX_WITH_PRECOMPILED_HEADERS */ … … 138 138 }; 139 139 140 141 /********************************************************************************************************************************* 142 * Class UIExtraDataEventHandler implementation. * 143 *********************************************************************************************************************************/ 144 140 145 UIExtraDataEventHandler::UIExtraDataEventHandler(QObject *pParent) 141 146 : QObject(pParent) … … 274 279 275 280 #ifdef VBOX_GUI_WITH_EXTRADATA_MANAGER_UI 281 276 282 /** Data fields. */ 277 283 enum Field … … 311 317 int m_iSpacing; 312 318 }; 319 320 321 /********************************************************************************************************************************* 322 * Class UIChooserPaneDelegate implementation. * 323 *********************************************************************************************************************************/ 313 324 314 325 UIChooserPaneDelegate::UIChooserPaneDelegate(QObject *pParent) … … 702 713 /** @} */ 703 714 }; 715 716 717 /********************************************************************************************************************************* 718 * Class UIExtraDataManagerWindow implementation. * 719 *********************************************************************************************************************************/ 704 720 705 721 UIExtraDataManagerWindow::UIExtraDataManagerWindow() … … 2019 2035 << GUI_LogWindowGeometry; 2020 2036 } 2037 2021 2038 #endif /* VBOX_GUI_WITH_EXTRADATA_MANAGER_UI */ 2022 2039 2040 2041 /********************************************************************************************************************************* 2042 * Class UIExtraDataManager implementation. * 2043 *********************************************************************************************************************************/ 2023 2044 2024 2045 /* static */ -
trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.h
r71104 r71437 5 5 6 6 /* 7 * Copyright (C) 2010-201 7Oracle Corporation7 * Copyright (C) 2010-2018 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 20 20 21 21 /* Qt includes: */ 22 #include <QMap> 22 23 #include <QObject> 23 #include <Q Map>24 #include <QSize> 24 25 #ifdef VBOX_GUI_WITH_EXTRADATA_MANAGER_UI 25 26 # include <QPointer> 26 #endif /* VBOX_GUI_WITH_EXTRADATA_MANAGER_UI */ 27 #include <QSize> 27 #endif 28 28 29 29 /* GUI includes: */ … … 34 34 #ifdef VBOX_GUI_WITH_EXTRADATA_MANAGER_UI 35 35 class UIExtraDataManagerWindow; 36 #endif /* VBOX_GUI_WITH_EXTRADATA_MANAGER_UI */36 #endif 37 37 38 38 /** Defines the map of extra data values. The index is an extra-data key. */ … … 88 88 /** Notifies about the HiDPI optimization type change. */ 89 89 void sigHiDPIOptimizationTypeChange(const QString &strMachineID); 90 #endif 91 92 #ifdef RT_OS_DARWIN 90 93 91 /** Mac OS X: Notifies about 'dock icon' appearance change. */ 94 92 void sigDockIconAppearanceChange(bool fEnabled); 95 93 /** Mac OS X: Notifies about 'dock icon overlay' appearance change. */ 96 94 void sigDockIconOverlayAppearanceChange(bool fEnabled); 97 #endif /* RT_OS_DARWIN*/95 #endif /* VBOX_WS_MAC */ 98 96 99 97 public: … … 110 108 /** Static show and raise API. */ 111 109 static void openWindow(QWidget *pCenterWidget); 112 #endif /* VBOX_GUI_WITH_EXTRADATA_MANAGER_UI */110 #endif 113 111 114 112 /** @name Base … … 156 154 /** Returns version for which user wants to prevent BETA build warning. */ 157 155 QString preventBetaBuildWarningForVersion(); 158 #endif /* !defined(VBOX_BLEEDING_EDGE) && !defined(DEBUG) */156 #endif 159 157 /** @} */ 160 158 … … 403 401 /** Except Mac OS X: Returns redefined machine-window name postfix. */ 404 402 QString machineWindowNamePostfix(const QString &strID); 405 #endif /* !VBOX_WS_MAC */403 #endif 406 404 407 405 /** Returns geometry for machine-window with @a uScreenIndex in @a visualStateType. */ … … 698 696 /** Open window. */ 699 697 void open(QWidget *pCenterWidget); 700 #endif /* VBOX_GUI_WITH_EXTRADATA_MANAGER_UI */698 #endif 701 699 702 700 /** Retrieves an extra-data key from both machine and global sources. … … 742 740 /** Holds Extra-data Manager window instance. */ 743 741 QPointer<UIExtraDataManagerWindow> m_pWindow; 744 #endif /* VBOX_GUI_WITH_EXTRADATA_MANAGER_UI */742 #endif 745 743 }; 746 744
Note:
See TracChangeset
for help on using the changeset viewer.