1 | /* $Id: UIExtraDataDefs.h 102775 2024-01-05 15:27:12Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * VBox Qt GUI - Extra-data related definitions.
|
---|
4 | */
|
---|
5 |
|
---|
6 | /*
|
---|
7 | * Copyright (C) 2006-2023 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 | #ifndef FEQT_INCLUDED_SRC_extradata_UIExtraDataDefs_h
|
---|
29 | #define FEQT_INCLUDED_SRC_extradata_UIExtraDataDefs_h
|
---|
30 | #ifndef RT_WITHOUT_PRAGMA_ONCE
|
---|
31 | # pragma once
|
---|
32 | #endif
|
---|
33 |
|
---|
34 | /* Qt includes: */
|
---|
35 | #include <QMap>
|
---|
36 | #include <QMetaType>
|
---|
37 | #include <QObject>
|
---|
38 |
|
---|
39 | /* GUI includes: */
|
---|
40 | #include "UILibraryDefs.h"
|
---|
41 |
|
---|
42 | /* Other VBox includes: */
|
---|
43 | #include <iprt/cdefs.h>
|
---|
44 |
|
---|
45 |
|
---|
46 | /** Typedef for QPair of QStrings. */
|
---|
47 | typedef QPair<QString, QString> QIStringPair;
|
---|
48 | typedef QList<QIStringPair> QIStringPairList;
|
---|
49 |
|
---|
50 |
|
---|
51 | /** Extra-data namespace. */
|
---|
52 | namespace UIExtraDataDefs
|
---|
53 | {
|
---|
54 | /** @name General
|
---|
55 | * @{ */
|
---|
56 | /** Holds restricted dialogs. */
|
---|
57 | SHARED_LIBRARY_STUFF extern const char *GUI_RestrictedDialogs;
|
---|
58 |
|
---|
59 | /** Holds the color theme type. */
|
---|
60 | SHARED_LIBRARY_STUFF extern const char *GUI_ColorTheme;
|
---|
61 | /** @} */
|
---|
62 |
|
---|
63 | /** @name Messaging
|
---|
64 | * @{ */
|
---|
65 | /** Holds the list of supressed messages for the Message/Popup center frameworks. */
|
---|
66 | SHARED_LIBRARY_STUFF extern const char *GUI_SuppressMessages;
|
---|
67 | /** Holds the list of messages for the Message/Popup center frameworks with inverted check-box state. */
|
---|
68 | SHARED_LIBRARY_STUFF extern const char *GUI_InvertMessageOption;
|
---|
69 | #ifdef VBOX_NOTIFICATION_CENTER_WITH_KEEP_BUTTON
|
---|
70 | /** Holds whether successfull notification-progresses should NOT close automatically. */
|
---|
71 | SHARED_LIBRARY_STUFF extern const char *GUI_NotificationCenter_KeepSuccessfullProgresses;
|
---|
72 | #endif
|
---|
73 | /** Holds notification-center alignment. */
|
---|
74 | SHARED_LIBRARY_STUFF extern const char *GUI_NotificationCenter_Alignment;
|
---|
75 | /** Holds notification-center order. */
|
---|
76 | SHARED_LIBRARY_STUFF extern const char *GUI_NotificationCenter_Order;
|
---|
77 | /** Holds whether BETA build label should be hidden. */
|
---|
78 | SHARED_LIBRARY_STUFF extern const char *GUI_PreventBetaLabel;
|
---|
79 | #if !defined(VBOX_BLEEDING_EDGE) && !defined(DEBUG)
|
---|
80 | /** Holds version for which user wants to prevent BETA build warning. */
|
---|
81 | SHARED_LIBRARY_STUFF extern const char *GUI_PreventBetaWarning;
|
---|
82 | #endif
|
---|
83 | /** @} */
|
---|
84 |
|
---|
85 | #ifdef VBOX_GUI_WITH_NETWORK_MANAGER
|
---|
86 | /** @name Application Update
|
---|
87 | * @{ */
|
---|
88 | /** Holds whether Application Update functionality enabled. */
|
---|
89 | SHARED_LIBRARY_STUFF extern const char *GUI_PreventApplicationUpdate;
|
---|
90 | /** Holds Application Update data. */
|
---|
91 | SHARED_LIBRARY_STUFF extern const char *GUI_UpdateDate;
|
---|
92 | /** Holds Application Update check counter. */
|
---|
93 | SHARED_LIBRARY_STUFF extern const char *GUI_UpdateCheckCount;
|
---|
94 | /** @} */
|
---|
95 | #endif /* VBOX_GUI_WITH_NETWORK_MANAGER */
|
---|
96 |
|
---|
97 | /** @name Progress
|
---|
98 | * @{ */
|
---|
99 | /** Holds whether legacy progress handling method is requested. */
|
---|
100 | SHARED_LIBRARY_STUFF extern const char *GUI_Progress_LegacyMode;
|
---|
101 | /** @} */
|
---|
102 |
|
---|
103 | /** @name Settings
|
---|
104 | * @{ */
|
---|
105 | /** Holds GUI feature list. */
|
---|
106 | SHARED_LIBRARY_STUFF extern const char *GUI_Customizations;
|
---|
107 | /** Holds restricted Global Settings pages. */
|
---|
108 | SHARED_LIBRARY_STUFF extern const char *GUI_RestrictedGlobalSettingsPages;
|
---|
109 | /** Holds restricted Machine Settings pages. */
|
---|
110 | SHARED_LIBRARY_STUFF extern const char *GUI_RestrictedMachineSettingsPages;
|
---|
111 | /** Holds whether settings are in expert mode. */
|
---|
112 | SHARED_LIBRARY_STUFF extern const char *GUI_Settings_ExpertMode;
|
---|
113 | /** @} */
|
---|
114 |
|
---|
115 | /** @name Settings: Language
|
---|
116 | * @{ */
|
---|
117 | /** Holds GUI language ID. */
|
---|
118 | SHARED_LIBRARY_STUFF extern const char *GUI_LanguageID;
|
---|
119 | /** @} */
|
---|
120 |
|
---|
121 | /** @name Settings: Display
|
---|
122 | * @{ */
|
---|
123 | /** Holds maximum guest-screen resolution policy/value. */
|
---|
124 | SHARED_LIBRARY_STUFF extern const char *GUI_MaxGuestResolution;
|
---|
125 | /** Holds whether hovered machine-window should be activated. */
|
---|
126 | SHARED_LIBRARY_STUFF extern const char *GUI_ActivateHoveredMachineWindow;
|
---|
127 | /** Holds whether the host scrrn saver is disabled when a vm is running. */
|
---|
128 | SHARED_LIBRARY_STUFF extern const char *GUI_DisableHostScreenSaver;
|
---|
129 | /** @} */
|
---|
130 |
|
---|
131 | /** @name Settings: Keyboard
|
---|
132 | * @{ */
|
---|
133 | /** Holds Selector UI shortcut overrides. */
|
---|
134 | SHARED_LIBRARY_STUFF extern const char *GUI_Input_SelectorShortcuts;
|
---|
135 | /** Holds Runtime UI shortcut overrides. */
|
---|
136 | SHARED_LIBRARY_STUFF extern const char *GUI_Input_MachineShortcuts;
|
---|
137 | /** Holds Runtime UI host-key combination. */
|
---|
138 | SHARED_LIBRARY_STUFF extern const char *GUI_Input_HostKeyCombination;
|
---|
139 | /** Holds whether Runtime UI auto-capture is enabled. */
|
---|
140 | SHARED_LIBRARY_STUFF extern const char *GUI_Input_AutoCapture;
|
---|
141 | /** Holds Runtime UI remapped scan codes. */
|
---|
142 | SHARED_LIBRARY_STUFF extern const char *GUI_RemapScancodes;
|
---|
143 | /** @} */
|
---|
144 |
|
---|
145 | /** @name Settings: Proxy
|
---|
146 | * @{ */
|
---|
147 | /** Holds VBox proxy settings. */
|
---|
148 | SHARED_LIBRARY_STUFF extern const char *GUI_ProxySettings;
|
---|
149 | /** @} */
|
---|
150 |
|
---|
151 | /** @name Settings: Storage
|
---|
152 | * @{ */
|
---|
153 | /** Holds recent folder for hard-drives. */
|
---|
154 | SHARED_LIBRARY_STUFF extern const char *GUI_RecentFolderHD;
|
---|
155 | /** Holds recent folder for optical-disks. */
|
---|
156 | SHARED_LIBRARY_STUFF extern const char *GUI_RecentFolderCD;
|
---|
157 | /** Holds recent folder for floppy-disks. */
|
---|
158 | SHARED_LIBRARY_STUFF extern const char *GUI_RecentFolderFD;
|
---|
159 | /** Holds the list of recently used hard-drives. */
|
---|
160 | SHARED_LIBRARY_STUFF extern const char *GUI_RecentListHD;
|
---|
161 | /** Holds the list of recently used optical-disks. */
|
---|
162 | SHARED_LIBRARY_STUFF extern const char *GUI_RecentListCD;
|
---|
163 | /** Holds the list of recently used floppy-disks. */
|
---|
164 | SHARED_LIBRARY_STUFF extern const char *GUI_RecentListFD;
|
---|
165 | /** @} */
|
---|
166 |
|
---|
167 | /** @name Settings: Network
|
---|
168 | * @{ */
|
---|
169 | /** Holds the list of restricted network attachment types. */
|
---|
170 | SHARED_LIBRARY_STUFF extern const char *GUI_RestrictedNetworkAttachmentTypes;
|
---|
171 | /** @} */
|
---|
172 |
|
---|
173 | /** @name VISO Creator
|
---|
174 | * @{ */
|
---|
175 | /** Holds recent folder for VISO creation content. */
|
---|
176 | SHARED_LIBRARY_STUFF extern const char *GUI_VISOCreator_RecentFolder;
|
---|
177 | SHARED_LIBRARY_STUFF extern const char *GUI_VISOCreator_DialogGeometry;
|
---|
178 | /** @} */
|
---|
179 |
|
---|
180 | /** @name VirtualBox Manager
|
---|
181 | * @{ */
|
---|
182 | /** Holds selector-window geometry. */
|
---|
183 | SHARED_LIBRARY_STUFF extern const char *GUI_LastSelectorWindowPosition;
|
---|
184 | /** Holds selector-window splitter hints. */
|
---|
185 | SHARED_LIBRARY_STUFF extern const char *GUI_SplitterSizes;
|
---|
186 | /** Holds whether selector-window tool-bar visible. */
|
---|
187 | SHARED_LIBRARY_STUFF extern const char *GUI_Toolbar;
|
---|
188 | /** Holds whether selector-window tool-bar text visible. */
|
---|
189 | SHARED_LIBRARY_STUFF extern const char *GUI_Toolbar_Text;
|
---|
190 | /** Holds the selector-window machine tools order. */
|
---|
191 | SHARED_LIBRARY_STUFF extern const char *GUI_Toolbar_MachineTools_Order;
|
---|
192 | /** Holds the selector-window global tools order. */
|
---|
193 | SHARED_LIBRARY_STUFF extern const char *GUI_Toolbar_GlobalTools_Order;
|
---|
194 | /** Holds the last selected tool set of VirtualBox Manager. */
|
---|
195 | SHARED_LIBRARY_STUFF extern const char *GUI_Tools_LastItemsSelected;
|
---|
196 | /** Holds the list of detached tools of VirtualBox Manager. */
|
---|
197 | SHARED_LIBRARY_STUFF extern const char *GUI_Tools_Detached;
|
---|
198 | /** Holds whether selector-window status-bar visible. */
|
---|
199 | SHARED_LIBRARY_STUFF extern const char *GUI_Statusbar;
|
---|
200 | /** Prefix used by composite extra-data keys,
|
---|
201 | * which holds selector-window chooser-pane' groups definitions. */
|
---|
202 | SHARED_LIBRARY_STUFF extern const char *GUI_GroupDefinitions;
|
---|
203 | /** Holds last item chosen in selector-window chooser-pane. */
|
---|
204 | SHARED_LIBRARY_STUFF extern const char *GUI_LastItemSelected;
|
---|
205 | /** Holds selector-window details-pane' elements. */
|
---|
206 | /// @todo remove GUI_DetailsPageBoxes in 6.2
|
---|
207 | SHARED_LIBRARY_STUFF extern const char *GUI_DetailsPageBoxes;
|
---|
208 | /// @todo remove GUI_PreviewUpdate in 6.2
|
---|
209 | /** Holds selector-window details-pane' preview update interval. */
|
---|
210 | SHARED_LIBRARY_STUFF extern const char *GUI_PreviewUpdate;
|
---|
211 | /** Holds VirtualBox Manager Details-pane elements. */
|
---|
212 | SHARED_LIBRARY_STUFF extern const char *GUI_Details_Elements;
|
---|
213 | /** Holds VirtualBox Manager Details-pane / Preview element update interval. */
|
---|
214 | SHARED_LIBRARY_STUFF extern const char *GUI_Details_Elements_Preview_UpdateInterval;
|
---|
215 | /** @} */
|
---|
216 |
|
---|
217 | /** @name Snapshot Manager
|
---|
218 | * @{ */
|
---|
219 | /** Holds whether Snapshot Manager details expanded. */
|
---|
220 | SHARED_LIBRARY_STUFF extern const char *GUI_SnapshotManager_Details_Expanded;
|
---|
221 | /** @} */
|
---|
222 |
|
---|
223 | /** @name Virtual Media Manager
|
---|
224 | * @{ */
|
---|
225 | /** Holds whether Virtual Media Manager details expanded. */
|
---|
226 | SHARED_LIBRARY_STUFF extern const char *GUI_VirtualMediaManager_Details_Expanded;
|
---|
227 | /** Holds whether Virtual Media Manager search widget expanded. */
|
---|
228 | SHARED_LIBRARY_STUFF extern const char *GUI_VirtualMediaManager_Search_Widget_Expanded;
|
---|
229 | /** @} */
|
---|
230 |
|
---|
231 | /** @name Host Network Manager
|
---|
232 | * @{ */
|
---|
233 | /** Holds whether Host Network Manager details expanded. */
|
---|
234 | SHARED_LIBRARY_STUFF extern const char *GUI_HostNetworkManager_Details_Expanded;
|
---|
235 | /** @} */
|
---|
236 |
|
---|
237 | /** @name Cloud Profile Manager
|
---|
238 | * @{ */
|
---|
239 | /** Holds Cloud Profile Manager restrictions. */
|
---|
240 | SHARED_LIBRARY_STUFF extern const char *GUI_CloudProfileManager_Restrictions;
|
---|
241 | /** Holds whether Cloud Profile Manager details expanded. */
|
---|
242 | SHARED_LIBRARY_STUFF extern const char *GUI_CloudProfileManager_Details_Expanded;
|
---|
243 | /** @} */
|
---|
244 |
|
---|
245 | /** @name Cloud Console Manager
|
---|
246 | * @{ */
|
---|
247 | /** Holds Cloud Console Manager applications/profiles. */
|
---|
248 | SHARED_LIBRARY_STUFF extern const char *GUI_CloudConsoleManager_Application;
|
---|
249 | /** Holds Cloud Console Manager restrictions. */
|
---|
250 | SHARED_LIBRARY_STUFF extern const char *GUI_CloudConsoleManager_Restrictions;
|
---|
251 | /** Holds whether Cloud Console Manager details expanded. */
|
---|
252 | SHARED_LIBRARY_STUFF extern const char *GUI_CloudConsoleManager_Details_Expanded;
|
---|
253 | /** @} */
|
---|
254 |
|
---|
255 | /** @name Cloud Console
|
---|
256 | * @{ */
|
---|
257 | /** Holds Cloud Console public key path. */
|
---|
258 | SHARED_LIBRARY_STUFF extern const char *GUI_CloudConsole_PublicKey_Path;
|
---|
259 | /** @} */
|
---|
260 |
|
---|
261 | #ifdef VBOX_GUI_WITH_EXTRADATA_MANAGER_UI
|
---|
262 | /** @name Extra-data Manager
|
---|
263 | * @{ */
|
---|
264 | /** Holds extra-data manager geometry. */
|
---|
265 | SHARED_LIBRARY_STUFF extern const char *GUI_ExtraDataManager_Geometry;
|
---|
266 | /** Holds extra-data manager splitter hints. */
|
---|
267 | SHARED_LIBRARY_STUFF extern const char *GUI_ExtraDataManager_SplitterHints;
|
---|
268 | /** @} */
|
---|
269 | #endif /* VBOX_GUI_WITH_EXTRADATA_MANAGER_UI */
|
---|
270 |
|
---|
271 | /** @name Wizards
|
---|
272 | * @{ */
|
---|
273 | /** Holds wizard types for which descriptions should be hidden. */
|
---|
274 | SHARED_LIBRARY_STUFF extern const char *GUI_HideDescriptionForWizards;
|
---|
275 | /** @} */
|
---|
276 |
|
---|
277 | /** @name Virtual Machine
|
---|
278 | * @{ */
|
---|
279 | /** Holds whether machine shouldn't be shown in selector-window chooser-pane. */
|
---|
280 | SHARED_LIBRARY_STUFF extern const char *GUI_HideFromManager;
|
---|
281 | /** Holds whether machine shouldn't be shown in selector-window details-pane. */
|
---|
282 | SHARED_LIBRARY_STUFF extern const char *GUI_HideDetails;
|
---|
283 | /** Holds whether machine reconfiguration disabled. */
|
---|
284 | SHARED_LIBRARY_STUFF extern const char *GUI_PreventReconfiguration;
|
---|
285 | /** Holds whether machine snapshot operations disabled. */
|
---|
286 | SHARED_LIBRARY_STUFF extern const char *GUI_PreventSnapshotOperations;
|
---|
287 | /** Except Mac OS X: Holds redefined machine-window icon names. */
|
---|
288 | SHARED_LIBRARY_STUFF extern const char *GUI_MachineWindowIcons;
|
---|
289 | #ifndef VBOX_WS_MAC
|
---|
290 | /** Except Mac OS X: Holds redefined machine-window name postfix. */
|
---|
291 | SHARED_LIBRARY_STUFF extern const char *GUI_MachineWindowNamePostfix;
|
---|
292 | #endif
|
---|
293 | /** Prefix used by composite extra-data keys,
|
---|
294 | * which holds normal machine-window geometry per screen-index. */
|
---|
295 | SHARED_LIBRARY_STUFF extern const char *GUI_LastNormalWindowPosition;
|
---|
296 | /** Prefix used by composite extra-data keys,
|
---|
297 | * which holds scaled machine-window geometry per screen-index. */
|
---|
298 | SHARED_LIBRARY_STUFF extern const char *GUI_LastScaleWindowPosition;
|
---|
299 | /** Holds machine-window geometry maximized state flag. */
|
---|
300 | SHARED_LIBRARY_STUFF extern const char *GUI_Geometry_State_Max;
|
---|
301 | #ifndef VBOX_WS_MAC
|
---|
302 | /** Holds Runtime UI menu-bar availability status. */
|
---|
303 | SHARED_LIBRARY_STUFF extern const char *GUI_MenuBar_Enabled;
|
---|
304 | #endif
|
---|
305 | /** Holds Runtime UI menu-bar context-menu availability status. */
|
---|
306 | SHARED_LIBRARY_STUFF extern const char *GUI_MenuBar_ContextMenu_Enabled;
|
---|
307 | /** Holds restricted Runtime UI menu types. */
|
---|
308 | SHARED_LIBRARY_STUFF extern const char *GUI_RestrictedRuntimeMenus;
|
---|
309 | /** Holds restricted Runtime UI action types for 'Application' menu. */
|
---|
310 | SHARED_LIBRARY_STUFF extern const char *GUI_RestrictedRuntimeApplicationMenuActions;
|
---|
311 | /** Holds restricted Runtime UI action types for Machine menu. */
|
---|
312 | SHARED_LIBRARY_STUFF extern const char *GUI_RestrictedRuntimeMachineMenuActions;
|
---|
313 | /** Holds restricted Runtime UI action types for View menu. */
|
---|
314 | SHARED_LIBRARY_STUFF extern const char *GUI_RestrictedRuntimeViewMenuActions;
|
---|
315 | /** Holds restricted Runtime UI action types for Input menu. */
|
---|
316 | SHARED_LIBRARY_STUFF extern const char *GUI_RestrictedRuntimeInputMenuActions;
|
---|
317 | /** Holds restricted Runtime UI action types for Devices menu. */
|
---|
318 | SHARED_LIBRARY_STUFF extern const char *GUI_RestrictedRuntimeDevicesMenuActions;
|
---|
319 | #ifdef VBOX_WITH_DEBUGGER_GUI
|
---|
320 | /** Holds restricted Runtime UI action types for Debugger menu. */
|
---|
321 | SHARED_LIBRARY_STUFF extern const char *GUI_RestrictedRuntimeDebuggerMenuActions;
|
---|
322 | #endif
|
---|
323 | #ifdef VBOX_WS_MAC
|
---|
324 | /** Mac OS X: Holds restricted Runtime UI action types for 'Window' menu. */
|
---|
325 | SHARED_LIBRARY_STUFF extern const char *GUI_RestrictedRuntimeWindowMenuActions;
|
---|
326 | #endif
|
---|
327 | /** Holds restricted Runtime UI action types for Help menu. */
|
---|
328 | SHARED_LIBRARY_STUFF extern const char *GUI_RestrictedRuntimeHelpMenuActions;
|
---|
329 | /** Holds restricted Runtime UI visual-states. */
|
---|
330 | SHARED_LIBRARY_STUFF extern const char *GUI_RestrictedVisualStates;
|
---|
331 | /** Holds whether full screen visual-state is requested. */
|
---|
332 | SHARED_LIBRARY_STUFF extern const char *GUI_Fullscreen;
|
---|
333 | /** Holds whether seamless visual-state is requested. */
|
---|
334 | SHARED_LIBRARY_STUFF extern const char *GUI_Seamless;
|
---|
335 | /** Holds whether scaled visual-state is requested. */
|
---|
336 | SHARED_LIBRARY_STUFF extern const char *GUI_Scale;
|
---|
337 | #ifdef VBOX_WS_NIX
|
---|
338 | /** Holds whether legacy full-screen mode is requested. */
|
---|
339 | SHARED_LIBRARY_STUFF extern const char *GUI_Fullscreen_LegacyMode;
|
---|
340 | /** Holds whether internal machine-window names should be unique. */
|
---|
341 | SHARED_LIBRARY_STUFF extern const char *GUI_DistinguishMachineWindowGroups;
|
---|
342 | #endif /* VBOX_WS_NIX */
|
---|
343 | /** Holds whether guest-screen auto-resize according machine-window size is enabled. */
|
---|
344 | SHARED_LIBRARY_STUFF extern const char *GUI_AutoresizeGuest;
|
---|
345 | /** Prefix used by composite extra-data keys,
|
---|
346 | * which holds last guest-screen visibility status per screen-index. */
|
---|
347 | SHARED_LIBRARY_STUFF extern const char *GUI_LastVisibilityStatusForGuestScreen;
|
---|
348 | /** Prefix used by composite extra-data keys,
|
---|
349 | * which holds last guest-screen size-hint per screen-index. */
|
---|
350 | SHARED_LIBRARY_STUFF extern const char *GUI_LastGuestSizeHint;
|
---|
351 | /** Prefix used by composite extra-data keys,
|
---|
352 | * which holds host-screen index per guest-screen index. */
|
---|
353 | SHARED_LIBRARY_STUFF extern const char *GUI_VirtualScreenToHostScreen;
|
---|
354 | /** Holds whether automatic mounting/unmounting of guest-screens enabled. */
|
---|
355 | SHARED_LIBRARY_STUFF extern const char *GUI_AutomountGuestScreens;
|
---|
356 | #ifndef VBOX_WS_MAC
|
---|
357 | /** Holds whether mini-toolbar is enabled for full and seamless screens. */
|
---|
358 | SHARED_LIBRARY_STUFF extern const char *GUI_ShowMiniToolBar;
|
---|
359 | /** Holds whether mini-toolbar should auto-hide itself. */
|
---|
360 | SHARED_LIBRARY_STUFF extern const char *GUI_MiniToolBarAutoHide;
|
---|
361 | /** Holds mini-toolbar alignment. */
|
---|
362 | SHARED_LIBRARY_STUFF extern const char *GUI_MiniToolBarAlignment;
|
---|
363 | #endif /* !VBOX_WS_MAC */
|
---|
364 | /** Holds Runtime UI status-bar availability status. */
|
---|
365 | SHARED_LIBRARY_STUFF extern const char *GUI_StatusBar_Enabled;
|
---|
366 | /** Holds Runtime UI status-bar context-menu availability status. */
|
---|
367 | SHARED_LIBRARY_STUFF extern const char *GUI_StatusBar_ContextMenu_Enabled;
|
---|
368 | /** Holds restricted Runtime UI status-bar indicators. */
|
---|
369 | SHARED_LIBRARY_STUFF extern const char *GUI_RestrictedStatusBarIndicators;
|
---|
370 | /** Holds Runtime UI status-bar indicator order. */
|
---|
371 | SHARED_LIBRARY_STUFF extern const char *GUI_StatusBar_IndicatorOrder;
|
---|
372 | #ifdef VBOX_WS_MAC
|
---|
373 | /** Mac OS X: Holds whether Dock icon should be updated at runtime. */
|
---|
374 | SHARED_LIBRARY_STUFF extern const char *GUI_RealtimeDockIconUpdateEnabled;
|
---|
375 | /** Mac OS X: Holds guest-screen which Dock icon should reflect at runtime. */
|
---|
376 | SHARED_LIBRARY_STUFF extern const char *GUI_RealtimeDockIconUpdateMonitor;
|
---|
377 | /** Mac OS X: Holds whether Dock icon should have overlay disabled. */
|
---|
378 | SHARED_LIBRARY_STUFF extern const char *GUI_DockIconDisableOverlay;
|
---|
379 | #endif /* VBOX_WS_MAC */
|
---|
380 | /** Holds whether machine should pass CAD to guest. */
|
---|
381 | SHARED_LIBRARY_STUFF extern const char *GUI_PassCAD;
|
---|
382 | /** Holds the mouse capture policy. */
|
---|
383 | SHARED_LIBRARY_STUFF extern const char *GUI_MouseCapturePolicy;
|
---|
384 | /** Holds redefined guru-meditation handler type. */
|
---|
385 | SHARED_LIBRARY_STUFF extern const char *GUI_GuruMeditationHandler;
|
---|
386 | /** Holds whether machine should perform HID LEDs synchronization. */
|
---|
387 | SHARED_LIBRARY_STUFF extern const char *GUI_HidLedsSync;
|
---|
388 | /** Holds the scale-factor. */
|
---|
389 | SHARED_LIBRARY_STUFF extern const char *GUI_ScaleFactor;
|
---|
390 | /** Holds the scaling optimization type. */
|
---|
391 | SHARED_LIBRARY_STUFF extern const char *GUI_Scaling_Optimization;
|
---|
392 | /** Holds the font scale factor. */
|
---|
393 | SHARED_LIBRARY_STUFF extern const char *GUI_FontScaleFactor;
|
---|
394 | /** @} */
|
---|
395 |
|
---|
396 | /** @name Virtual Machine: Information dialog
|
---|
397 | * @{ */
|
---|
398 | /** Holds information-window geometry. */
|
---|
399 | SHARED_LIBRARY_STUFF extern const char *GUI_SessionInformationDialogGeometry;
|
---|
400 | /** @} */
|
---|
401 |
|
---|
402 | /** @name Guest Control UI related data
|
---|
403 | * @{ */
|
---|
404 | extern const char *GUI_GuestControl_FileManagerDialogGeometry;
|
---|
405 | extern const char *GUI_GuestControl_FileManagerVisiblePanels;
|
---|
406 | extern const char *GUI_GuestControl_ProcessControlSplitterHints;
|
---|
407 | extern const char *GUI_GuestControl_ProcessControlDialogGeometry;
|
---|
408 | /** @} */
|
---|
409 |
|
---|
410 | /** @name Soft Keyboard related data
|
---|
411 | * @{ */
|
---|
412 | extern const char *GUI_SoftKeyboard_DialogGeometry;
|
---|
413 | extern const char *GUI_SoftKeyboard_ColorTheme;
|
---|
414 | extern const char *GUI_SoftKeyboard_SelectedColorTheme;
|
---|
415 | extern const char *GUI_SoftKeyboard_SelectedLayout;
|
---|
416 | extern const char *GUI_SoftKeyboard_Options;
|
---|
417 | extern const char *GUI_SoftKeyboard_HideNumPad;
|
---|
418 | extern const char *GUI_SoftKeyboard_HideOSMenuKeys;
|
---|
419 | extern const char *GUI_SoftKeyboard_HideMultimediaKeys;
|
---|
420 | /** @} */
|
---|
421 |
|
---|
422 | /** @name File Manager options
|
---|
423 | * @{ */
|
---|
424 | extern const char *GUI_GuestControl_FileManagerOptions;
|
---|
425 | extern const char *GUI_GuestControl_FileManagerListDirectoriesFirst;
|
---|
426 | extern const char *GUI_GuestControl_FileManagerShowDeleteConfirmation;
|
---|
427 | extern const char *GUI_GuestControl_FileManagerShowHumanReadableSizes;
|
---|
428 | extern const char *GUI_GuestControl_FileManagerShowHiddenObjects;
|
---|
429 | /** @} */
|
---|
430 |
|
---|
431 | /** @name Virtual Machine: Close dialog
|
---|
432 | * @{ */
|
---|
433 | /** Holds default machine close action. */
|
---|
434 | SHARED_LIBRARY_STUFF extern const char *GUI_DefaultCloseAction;
|
---|
435 | /** Holds restricted machine close actions. */
|
---|
436 | SHARED_LIBRARY_STUFF extern const char *GUI_RestrictedCloseActions;
|
---|
437 | /** Holds last machine close action. */
|
---|
438 | SHARED_LIBRARY_STUFF extern const char *GUI_LastCloseAction;
|
---|
439 | /** Holds machine close hook script name as simple string. */
|
---|
440 | SHARED_LIBRARY_STUFF extern const char *GUI_CloseActionHook;
|
---|
441 | /** Holds whether machine should discard state on power off. */
|
---|
442 | SHARED_LIBRARY_STUFF extern const char *GUI_DiscardStateOnPowerOff;
|
---|
443 | /** @} */
|
---|
444 |
|
---|
445 | #ifdef VBOX_WITH_DEBUGGER_GUI
|
---|
446 | /** @name Virtual Machine: Debug UI
|
---|
447 | * @{ */
|
---|
448 | /** Holds whether debugger UI enabled. */
|
---|
449 | SHARED_LIBRARY_STUFF extern const char *GUI_Dbg_Enabled;
|
---|
450 | /** Holds whether debugger UI should be auto-shown. */
|
---|
451 | SHARED_LIBRARY_STUFF extern const char *GUI_Dbg_AutoShow;
|
---|
452 | /** @} */
|
---|
453 | #endif /* VBOX_WITH_DEBUGGER_GUI */
|
---|
454 |
|
---|
455 | /** @name Virtual Machine: Log-viewer
|
---|
456 | * @{ */
|
---|
457 | /** Holds log-viewer geometry. */
|
---|
458 | SHARED_LIBRARY_STUFF extern const char *GUI_LogWindowGeometry;
|
---|
459 | /** @} */
|
---|
460 | /** @name Virtual Machine: Log-viewer widget options
|
---|
461 | * @{ */
|
---|
462 | SHARED_LIBRARY_STUFF extern const char *GUI_LogViewerOptions;
|
---|
463 | /** Holds log-viewer wrap line flag. */
|
---|
464 | SHARED_LIBRARY_STUFF extern const char *GUI_LogViewerWrapLinesEnabled;
|
---|
465 | SHARED_LIBRARY_STUFF extern const char *GUI_LogViewerShowLineNumbersDisabled;
|
---|
466 | SHARED_LIBRARY_STUFF extern const char *GUI_LogViewerNoFontStyleName;
|
---|
467 | /** @} */
|
---|
468 |
|
---|
469 | /** @name Help Browser
|
---|
470 | * @{ */
|
---|
471 | SHARED_LIBRARY_STUFF extern const char *GUI_HelpBrowser_LastURLList;
|
---|
472 | SHARED_LIBRARY_STUFF extern const char *GUI_HelpBrowser_DialogGeometry;
|
---|
473 | SHARED_LIBRARY_STUFF extern const char *GUI_HelpBrowser_Bookmarks;
|
---|
474 | SHARED_LIBRARY_STUFF extern const char *GUI_HelpBrowser_ZoomPercentage;
|
---|
475 | /** @} */
|
---|
476 |
|
---|
477 | /** @name Manager UI: VM Activity Overview Related stuff
|
---|
478 | * @{ */
|
---|
479 | SHARED_LIBRARY_STUFF extern const char *GUI_VMActivityOverview_HiddenColumns;
|
---|
480 | SHARED_LIBRARY_STUFF extern const char *GUI_VMActivityOverview_ShowAllMachines;
|
---|
481 | /** @} */
|
---|
482 |
|
---|
483 | /** @name Medium Selector stuff
|
---|
484 | * @{ */
|
---|
485 | SHARED_LIBRARY_STUFF extern const char *GUI_MediumSelector_DialogGeometry;
|
---|
486 | /** @} */
|
---|
487 |
|
---|
488 | /** @name Old key support stuff.
|
---|
489 | * @{ */
|
---|
490 | /** Prepares obsolete keys map. */
|
---|
491 | SHARED_LIBRARY_STUFF QMultiMap<QString, QString> prepareObsoleteKeysMap();
|
---|
492 |
|
---|
493 | /** Holds the obsolete keys map. */
|
---|
494 | SHARED_LIBRARY_STUFF extern QMultiMap<QString, QString> g_mapOfObsoleteKeys;
|
---|
495 | /** @} */
|
---|
496 |
|
---|
497 | /** @name Font scaling factor min-max.
|
---|
498 | * @{ */
|
---|
499 | extern const int iFontScaleMin;
|
---|
500 | extern const int iFontScaleMax;
|
---|
501 | /** @} */
|
---|
502 | }
|
---|
503 |
|
---|
504 |
|
---|
505 | /** Extra-data meta definitions. */
|
---|
506 | class SHARED_LIBRARY_STUFF UIExtraDataMetaDefs : public QObject
|
---|
507 | {
|
---|
508 | Q_OBJECT;
|
---|
509 |
|
---|
510 | /* Menu related stuff: */
|
---|
511 | Q_ENUMS(MenuType);
|
---|
512 | Q_ENUMS(MenuApplicationActionType);
|
---|
513 | Q_ENUMS(MenuHelpActionType);
|
---|
514 | Q_ENUMS(RuntimeMenuMachineActionType);
|
---|
515 | Q_ENUMS(RuntimeMenuViewActionType);
|
---|
516 | Q_ENUMS(RuntimeMenuInputActionType);
|
---|
517 | Q_ENUMS(RuntimeMenuDevicesActionType);
|
---|
518 | #ifdef VBOX_WITH_DEBUGGER_GUI
|
---|
519 | Q_ENUMS(RuntimeMenuDebuggerActionType);
|
---|
520 | #endif
|
---|
521 | #ifdef VBOX_WS_MAC
|
---|
522 | Q_ENUMS(MenuWindowActionType);
|
---|
523 | #endif
|
---|
524 |
|
---|
525 | public:
|
---|
526 |
|
---|
527 | /** Common UI: Dialog types. */
|
---|
528 | enum DialogType
|
---|
529 | {
|
---|
530 | DialogType_Invalid = 0,
|
---|
531 | DialogType_VISOCreator = RT_BIT(0),
|
---|
532 | DialogType_BootFailure = RT_BIT(1),
|
---|
533 | DialogType_All = 0xFFFF
|
---|
534 | };
|
---|
535 | Q_ENUM(DialogType);
|
---|
536 |
|
---|
537 | /** Common UI: Menu types. */
|
---|
538 | enum MenuType
|
---|
539 | {
|
---|
540 | MenuType_Invalid = 0,
|
---|
541 | MenuType_Application = RT_BIT(0),
|
---|
542 | MenuType_Machine = RT_BIT(1),
|
---|
543 | MenuType_View = RT_BIT(2),
|
---|
544 | MenuType_Input = RT_BIT(3),
|
---|
545 | MenuType_Devices = RT_BIT(4),
|
---|
546 | #ifdef VBOX_WITH_DEBUGGER_GUI
|
---|
547 | MenuType_Debug = RT_BIT(5),
|
---|
548 | #endif
|
---|
549 | #ifdef VBOX_WS_MAC
|
---|
550 | MenuType_Window = RT_BIT(6),
|
---|
551 | #endif
|
---|
552 | MenuType_Help = RT_BIT(7),
|
---|
553 | MenuType_All = 0xFF
|
---|
554 | };
|
---|
555 |
|
---|
556 | /** Menu "Application": Action types. */
|
---|
557 | enum MenuApplicationActionType
|
---|
558 | {
|
---|
559 | MenuApplicationActionType_Invalid = 0,
|
---|
560 | #ifdef VBOX_WS_MAC
|
---|
561 | MenuApplicationActionType_About = RT_BIT(0),
|
---|
562 | #endif
|
---|
563 | MenuApplicationActionType_Preferences = RT_BIT(1),
|
---|
564 | #ifdef VBOX_GUI_WITH_NETWORK_MANAGER
|
---|
565 | MenuApplicationActionType_NetworkAccessManager = RT_BIT(2),
|
---|
566 | MenuApplicationActionType_CheckForUpdates = RT_BIT(3),
|
---|
567 | #endif
|
---|
568 | MenuApplicationActionType_ResetWarnings = RT_BIT(4),
|
---|
569 | MenuApplicationActionType_Close = RT_BIT(5),
|
---|
570 | MenuApplicationActionType_All = 0xFFFF
|
---|
571 | };
|
---|
572 |
|
---|
573 | /** Menu "Help": Action types. */
|
---|
574 | enum MenuHelpActionType
|
---|
575 | {
|
---|
576 | MenuHelpActionType_Invalid = 0,
|
---|
577 | MenuHelpActionType_Contents = RT_BIT(0),
|
---|
578 | MenuHelpActionType_WebSite = RT_BIT(1),
|
---|
579 | MenuHelpActionType_BugTracker = RT_BIT(2),
|
---|
580 | MenuHelpActionType_Forums = RT_BIT(3),
|
---|
581 | MenuHelpActionType_Oracle = RT_BIT(4),
|
---|
582 | MenuHelpActionType_OnlineDocumentation = RT_BIT(5),
|
---|
583 | #ifndef VBOX_WS_MAC
|
---|
584 | MenuHelpActionType_About = RT_BIT(6),
|
---|
585 | #endif
|
---|
586 | MenuHelpActionType_All = 0xFFFF
|
---|
587 | };
|
---|
588 |
|
---|
589 | /** Runtime UI: Menu "Machine": Action types. */
|
---|
590 | enum RuntimeMenuMachineActionType
|
---|
591 | {
|
---|
592 | RuntimeMenuMachineActionType_Invalid = 0,
|
---|
593 | RuntimeMenuMachineActionType_SettingsDialog = RT_BIT(0),
|
---|
594 | RuntimeMenuMachineActionType_TakeSnapshot = RT_BIT(1),
|
---|
595 | RuntimeMenuMachineActionType_InformationDialog = RT_BIT(2),
|
---|
596 | RuntimeMenuMachineActionType_FileManagerDialog = RT_BIT(3),
|
---|
597 | RuntimeMenuMachineActionType_GuestProcessControlDialog = RT_BIT(4),
|
---|
598 | RuntimeMenuMachineActionType_Pause = RT_BIT(5),
|
---|
599 | RuntimeMenuMachineActionType_Reset = RT_BIT(6),
|
---|
600 | RuntimeMenuMachineActionType_Detach = RT_BIT(7),
|
---|
601 | RuntimeMenuMachineActionType_SaveState = RT_BIT(8),
|
---|
602 | RuntimeMenuMachineActionType_Shutdown = RT_BIT(9),
|
---|
603 | RuntimeMenuMachineActionType_PowerOff = RT_BIT(10),
|
---|
604 | RuntimeMenuMachineActionType_LogDialog = RT_BIT(11),
|
---|
605 | RuntimeMenuMachineActionType_Nothing = RT_BIT(12),
|
---|
606 | RuntimeMenuMachineActionType_All = 0xFFFF
|
---|
607 | };
|
---|
608 |
|
---|
609 | /** Runtime UI: Menu "View": Action types. */
|
---|
610 | enum RuntimeMenuViewActionType
|
---|
611 | {
|
---|
612 | RuntimeMenuViewActionType_Invalid = 0,
|
---|
613 | RuntimeMenuViewActionType_Fullscreen = RT_BIT(0),
|
---|
614 | RuntimeMenuViewActionType_Seamless = RT_BIT(1),
|
---|
615 | RuntimeMenuViewActionType_Scale = RT_BIT(2),
|
---|
616 | #ifndef VBOX_WS_MAC
|
---|
617 | RuntimeMenuViewActionType_MinimizeWindow = RT_BIT(3),
|
---|
618 | #endif
|
---|
619 | RuntimeMenuViewActionType_AdjustWindow = RT_BIT(4),
|
---|
620 | RuntimeMenuViewActionType_GuestAutoresize = RT_BIT(5),
|
---|
621 | RuntimeMenuViewActionType_TakeScreenshot = RT_BIT(6),
|
---|
622 | RuntimeMenuViewActionType_Recording = RT_BIT(7),
|
---|
623 | RuntimeMenuViewActionType_RecordingSettings = RT_BIT(8),
|
---|
624 | RuntimeMenuViewActionType_StartRecording = RT_BIT(9),
|
---|
625 | RuntimeMenuViewActionType_VRDEServer = RT_BIT(10),
|
---|
626 | RuntimeMenuViewActionType_MenuBar = RT_BIT(11),
|
---|
627 | RuntimeMenuViewActionType_MenuBarSettings = RT_BIT(12),
|
---|
628 | #ifndef VBOX_WS_MAC
|
---|
629 | RuntimeMenuViewActionType_ToggleMenuBar = RT_BIT(13),
|
---|
630 | #endif
|
---|
631 | RuntimeMenuViewActionType_StatusBar = RT_BIT(14),
|
---|
632 | RuntimeMenuViewActionType_StatusBarSettings = RT_BIT(15),
|
---|
633 | RuntimeMenuViewActionType_ToggleStatusBar = RT_BIT(16),
|
---|
634 | RuntimeMenuViewActionType_Resize = RT_BIT(17),
|
---|
635 | RuntimeMenuViewActionType_Remap = RT_BIT(18),
|
---|
636 | RuntimeMenuViewActionType_Rescale = RT_BIT(19),
|
---|
637 | RuntimeMenuViewActionType_All = 0xFFFF
|
---|
638 | };
|
---|
639 |
|
---|
640 | /** Runtime UI: Menu "Input": Action types. */
|
---|
641 | enum RuntimeMenuInputActionType
|
---|
642 | {
|
---|
643 | RuntimeMenuInputActionType_Invalid = 0,
|
---|
644 | RuntimeMenuInputActionType_Keyboard = RT_BIT(0),
|
---|
645 | RuntimeMenuInputActionType_KeyboardSettings = RT_BIT(1),
|
---|
646 | RuntimeMenuInputActionType_SoftKeyboard = RT_BIT(2),
|
---|
647 | RuntimeMenuInputActionType_TypeCAD = RT_BIT(3),
|
---|
648 | #ifdef VBOX_WS_NIX
|
---|
649 | RuntimeMenuInputActionType_TypeCABS = RT_BIT(4),
|
---|
650 | #endif
|
---|
651 | RuntimeMenuInputActionType_TypeCtrlBreak = RT_BIT(5),
|
---|
652 | RuntimeMenuInputActionType_TypeInsert = RT_BIT(6),
|
---|
653 | RuntimeMenuInputActionType_TypePrintScreen = RT_BIT(7),
|
---|
654 | RuntimeMenuInputActionType_TypeAltPrintScreen = RT_BIT(8),
|
---|
655 | RuntimeMenuInputActionType_Mouse = RT_BIT(9),
|
---|
656 | RuntimeMenuInputActionType_MouseIntegration = RT_BIT(10),
|
---|
657 | RuntimeMenuInputActionType_TypeHostKeyCombo = RT_BIT(11),
|
---|
658 | RuntimeMenuInputActionType_All = 0xFFFF
|
---|
659 | };
|
---|
660 |
|
---|
661 | /** Runtime UI: Menu "Devices": Action types. */
|
---|
662 | enum RuntimeMenuDevicesActionType
|
---|
663 | {
|
---|
664 | RuntimeMenuDevicesActionType_Invalid = 0,
|
---|
665 | RuntimeMenuDevicesActionType_HardDrives = RT_BIT(0),
|
---|
666 | RuntimeMenuDevicesActionType_HardDrivesSettings = RT_BIT(1),
|
---|
667 | RuntimeMenuDevicesActionType_OpticalDevices = RT_BIT(2),
|
---|
668 | RuntimeMenuDevicesActionType_FloppyDevices = RT_BIT(3),
|
---|
669 | RuntimeMenuDevicesActionType_Audio = RT_BIT(4),
|
---|
670 | RuntimeMenuDevicesActionType_AudioOutput = RT_BIT(5),
|
---|
671 | RuntimeMenuDevicesActionType_AudioInput = RT_BIT(6),
|
---|
672 | RuntimeMenuDevicesActionType_Network = RT_BIT(7),
|
---|
673 | RuntimeMenuDevicesActionType_NetworkSettings = RT_BIT(8),
|
---|
674 | RuntimeMenuDevicesActionType_USBDevices = RT_BIT(9),
|
---|
675 | RuntimeMenuDevicesActionType_USBDevicesSettings = RT_BIT(10),
|
---|
676 | RuntimeMenuDevicesActionType_WebCams = RT_BIT(11),
|
---|
677 | RuntimeMenuDevicesActionType_SharedClipboard = RT_BIT(12),
|
---|
678 | RuntimeMenuDevicesActionType_DragAndDrop = RT_BIT(13),
|
---|
679 | RuntimeMenuDevicesActionType_SharedFolders = RT_BIT(14),
|
---|
680 | RuntimeMenuDevicesActionType_SharedFoldersSettings = RT_BIT(15),
|
---|
681 | RuntimeMenuDevicesActionType_InsertGuestAdditionsDisk = RT_BIT(16),
|
---|
682 | RuntimeMenuDevicesActionType_UpgradeGuestAdditions = RT_BIT(17),
|
---|
683 | RuntimeMenuDevicesActionType_Nothing = RT_BIT(18),
|
---|
684 | RuntimeMenuDevicesActionType_All = 0xFFFF
|
---|
685 | };
|
---|
686 |
|
---|
687 | #ifdef VBOX_WITH_DEBUGGER_GUI
|
---|
688 | /** Runtime UI: Menu "Debugger": Action types. */
|
---|
689 | enum RuntimeMenuDebuggerActionType
|
---|
690 | {
|
---|
691 | RuntimeMenuDebuggerActionType_Invalid = 0,
|
---|
692 | RuntimeMenuDebuggerActionType_Statistics = RT_BIT(0),
|
---|
693 | RuntimeMenuDebuggerActionType_CommandLine = RT_BIT(1),
|
---|
694 | RuntimeMenuDebuggerActionType_Logging = RT_BIT(2),
|
---|
695 | RuntimeMenuDebuggerActionType_GuestControlConsole = RT_BIT(3),
|
---|
696 | RuntimeMenuDebuggerActionType_All = 0xFFFF
|
---|
697 | };
|
---|
698 | #endif /* VBOX_WITH_DEBUGGER_GUI */
|
---|
699 |
|
---|
700 | #ifdef VBOX_WS_MAC
|
---|
701 | /** Menu "Window": Action types. */
|
---|
702 | enum MenuWindowActionType
|
---|
703 | {
|
---|
704 | MenuWindowActionType_Invalid = 0,
|
---|
705 | MenuWindowActionType_Minimize = RT_BIT(0),
|
---|
706 | MenuWindowActionType_Switch = RT_BIT(1),
|
---|
707 | MenuWindowActionType_All = 0xFFFF
|
---|
708 | };
|
---|
709 | #endif /* VBOX_WS_MAC */
|
---|
710 |
|
---|
711 |
|
---|
712 | /** VirtualBox Manager UI: Details element: "General" option types. */
|
---|
713 | enum DetailsElementOptionTypeGeneral
|
---|
714 | {
|
---|
715 | DetailsElementOptionTypeGeneral_Invalid = 0,
|
---|
716 | DetailsElementOptionTypeGeneral_Name = RT_BIT(0),
|
---|
717 | DetailsElementOptionTypeGeneral_OS = RT_BIT(1),
|
---|
718 | DetailsElementOptionTypeGeneral_Location = RT_BIT(2),
|
---|
719 | DetailsElementOptionTypeGeneral_Groups = RT_BIT(3),
|
---|
720 | DetailsElementOptionTypeGeneral_Default = 0xFFFB
|
---|
721 | };
|
---|
722 | Q_ENUM(DetailsElementOptionTypeGeneral);
|
---|
723 |
|
---|
724 | /** VirtualBox Manager UI: Details element: "System" option types. */
|
---|
725 | enum DetailsElementOptionTypeSystem
|
---|
726 | {
|
---|
727 | DetailsElementOptionTypeSystem_Invalid = 0,
|
---|
728 | DetailsElementOptionTypeSystem_RAM = RT_BIT(0),
|
---|
729 | DetailsElementOptionTypeSystem_CPUCount = RT_BIT(1),
|
---|
730 | DetailsElementOptionTypeSystem_CPUExecutionCap = RT_BIT(2),
|
---|
731 | DetailsElementOptionTypeSystem_BootOrder = RT_BIT(3),
|
---|
732 | DetailsElementOptionTypeSystem_ChipsetType = RT_BIT(4),
|
---|
733 | DetailsElementOptionTypeSystem_TpmType = RT_BIT(5),
|
---|
734 | DetailsElementOptionTypeSystem_Firmware = RT_BIT(6),
|
---|
735 | DetailsElementOptionTypeSystem_SecureBoot = RT_BIT(7),
|
---|
736 | DetailsElementOptionTypeSystem_Acceleration = RT_BIT(8),
|
---|
737 | DetailsElementOptionTypeSystem_Default = 0xFFFF
|
---|
738 | };
|
---|
739 | Q_ENUM(DetailsElementOptionTypeSystem);
|
---|
740 |
|
---|
741 | /** VirtualBox Manager UI: Details element: "Display" option types. */
|
---|
742 | enum DetailsElementOptionTypeDisplay
|
---|
743 | {
|
---|
744 | DetailsElementOptionTypeDisplay_Invalid = 0,
|
---|
745 | DetailsElementOptionTypeDisplay_VRAM = RT_BIT(0),
|
---|
746 | DetailsElementOptionTypeDisplay_ScreenCount = RT_BIT(1),
|
---|
747 | DetailsElementOptionTypeDisplay_ScaleFactor = RT_BIT(2),
|
---|
748 | DetailsElementOptionTypeDisplay_GraphicsController = RT_BIT(3),
|
---|
749 | DetailsElementOptionTypeDisplay_Acceleration = RT_BIT(4),
|
---|
750 | DetailsElementOptionTypeDisplay_VRDE = RT_BIT(5),
|
---|
751 | DetailsElementOptionTypeDisplay_Recording = RT_BIT(6),
|
---|
752 | DetailsElementOptionTypeDisplay_Default = 0xFFFF
|
---|
753 | };
|
---|
754 | Q_ENUM(DetailsElementOptionTypeDisplay);
|
---|
755 |
|
---|
756 | /** VirtualBox Manager UI: Details element: "Storage" option types. */
|
---|
757 | enum DetailsElementOptionTypeStorage
|
---|
758 | {
|
---|
759 | DetailsElementOptionTypeStorage_Invalid = 0,
|
---|
760 | DetailsElementOptionTypeStorage_HardDisks = RT_BIT(0),
|
---|
761 | DetailsElementOptionTypeStorage_OpticalDevices = RT_BIT(1),
|
---|
762 | DetailsElementOptionTypeStorage_FloppyDevices = RT_BIT(2),
|
---|
763 | DetailsElementOptionTypeStorage_Default = 0xFFFF
|
---|
764 | };
|
---|
765 | Q_ENUM(DetailsElementOptionTypeStorage);
|
---|
766 |
|
---|
767 | /** VirtualBox Manager UI: Details element: "Audio" option types. */
|
---|
768 | enum DetailsElementOptionTypeAudio
|
---|
769 | {
|
---|
770 | DetailsElementOptionTypeAudio_Invalid = 0,
|
---|
771 | DetailsElementOptionTypeAudio_Driver = RT_BIT(0),
|
---|
772 | DetailsElementOptionTypeAudio_Controller = RT_BIT(1),
|
---|
773 | DetailsElementOptionTypeAudio_IO = RT_BIT(2),
|
---|
774 | DetailsElementOptionTypeAudio_Default = 0xFFFF
|
---|
775 | };
|
---|
776 | Q_ENUM(DetailsElementOptionTypeAudio);
|
---|
777 |
|
---|
778 | /** VirtualBox Manager UI: Details element: "Network" option types. */
|
---|
779 | enum DetailsElementOptionTypeNetwork
|
---|
780 | {
|
---|
781 | DetailsElementOptionTypeNetwork_Invalid = 0,
|
---|
782 | DetailsElementOptionTypeNetwork_NotAttached = RT_BIT(0),
|
---|
783 | DetailsElementOptionTypeNetwork_NAT = RT_BIT(1),
|
---|
784 | DetailsElementOptionTypeNetwork_BridgedAdapter = RT_BIT(2),
|
---|
785 | DetailsElementOptionTypeNetwork_InternalNetwork = RT_BIT(3),
|
---|
786 | DetailsElementOptionTypeNetwork_HostOnlyAdapter = RT_BIT(4),
|
---|
787 | DetailsElementOptionTypeNetwork_GenericDriver = RT_BIT(5),
|
---|
788 | DetailsElementOptionTypeNetwork_NATNetwork = RT_BIT(6),
|
---|
789 | #ifdef VBOX_WITH_CLOUD_NET
|
---|
790 | DetailsElementOptionTypeNetwork_CloudNetwork = RT_BIT(7),
|
---|
791 | #endif /* VBOX_WITH_CLOUD_NET */
|
---|
792 | #ifdef VBOX_WITH_VMNET
|
---|
793 | DetailsElementOptionTypeNetwork_HostOnlyNetwork = RT_BIT(8),
|
---|
794 | #endif /* VBOX_WITH_VMNET */
|
---|
795 | DetailsElementOptionTypeNetwork_Default = 0xFFFF
|
---|
796 | };
|
---|
797 | Q_ENUM(DetailsElementOptionTypeNetwork);
|
---|
798 |
|
---|
799 | /** VirtualBox Manager UI: Details element: "Serial" option types. */
|
---|
800 | enum DetailsElementOptionTypeSerial
|
---|
801 | {
|
---|
802 | DetailsElementOptionTypeSerial_Invalid = 0,
|
---|
803 | DetailsElementOptionTypeSerial_Disconnected = RT_BIT(0),
|
---|
804 | DetailsElementOptionTypeSerial_HostPipe = RT_BIT(1),
|
---|
805 | DetailsElementOptionTypeSerial_HostDevice = RT_BIT(2),
|
---|
806 | DetailsElementOptionTypeSerial_RawFile = RT_BIT(3),
|
---|
807 | DetailsElementOptionTypeSerial_TCP = RT_BIT(4),
|
---|
808 | DetailsElementOptionTypeSerial_Default = 0xFFFF
|
---|
809 | };
|
---|
810 | Q_ENUM(DetailsElementOptionTypeSerial);
|
---|
811 |
|
---|
812 | /** VirtualBox Manager UI: Details element: "USB" option types. */
|
---|
813 | enum DetailsElementOptionTypeUsb
|
---|
814 | {
|
---|
815 | DetailsElementOptionTypeUsb_Invalid = 0,
|
---|
816 | DetailsElementOptionTypeUsb_Controller = RT_BIT(0),
|
---|
817 | DetailsElementOptionTypeUsb_DeviceFilters = RT_BIT(1),
|
---|
818 | DetailsElementOptionTypeUsb_Default = 0xFFFF
|
---|
819 | };
|
---|
820 | Q_ENUM(DetailsElementOptionTypeUsb);
|
---|
821 |
|
---|
822 | /** VirtualBox Manager UI: Details element: "SharedFolders" option types. */
|
---|
823 | enum DetailsElementOptionTypeSharedFolders
|
---|
824 | {
|
---|
825 | DetailsElementOptionTypeSharedFolders_Invalid = 0,
|
---|
826 | DetailsElementOptionTypeSharedFolders_Default = 0xFFFF
|
---|
827 | };
|
---|
828 | Q_ENUM(DetailsElementOptionTypeSharedFolders);
|
---|
829 |
|
---|
830 | /** VirtualBox Manager UI: Details element: "UserInterface" option types. */
|
---|
831 | enum DetailsElementOptionTypeUserInterface
|
---|
832 | {
|
---|
833 | DetailsElementOptionTypeUserInterface_Invalid = 0,
|
---|
834 | DetailsElementOptionTypeUserInterface_VisualState = RT_BIT(0),
|
---|
835 | DetailsElementOptionTypeUserInterface_MenuBar = RT_BIT(1),
|
---|
836 | DetailsElementOptionTypeUserInterface_StatusBar = RT_BIT(2),
|
---|
837 | DetailsElementOptionTypeUserInterface_MiniToolbar = RT_BIT(3),
|
---|
838 | DetailsElementOptionTypeUserInterface_Default = 0xFFFF
|
---|
839 | };
|
---|
840 | Q_ENUM(DetailsElementOptionTypeUserInterface);
|
---|
841 |
|
---|
842 | /** VirtualBox Manager UI: Details element: "Description" option types. */
|
---|
843 | enum DetailsElementOptionTypeDescription
|
---|
844 | {
|
---|
845 | DetailsElementOptionTypeDescription_Invalid = 0,
|
---|
846 | DetailsElementOptionTypeDescription_Default = 0xFFFF
|
---|
847 | };
|
---|
848 | Q_ENUM(DetailsElementOptionTypeDescription);
|
---|
849 | };
|
---|
850 |
|
---|
851 |
|
---|
852 | /** Common UI: GUI feature types. */
|
---|
853 | enum GUIFeatureType
|
---|
854 | {
|
---|
855 | GUIFeatureType_None = 0,
|
---|
856 | GUIFeatureType_NoSelector = RT_BIT(0),
|
---|
857 | #ifdef VBOX_WS_MAC
|
---|
858 | GUIFeatureType_NoUserElements = RT_BIT(1),
|
---|
859 | #else
|
---|
860 | GUIFeatureType_NoMenuBar = RT_BIT(1),
|
---|
861 | #endif
|
---|
862 | GUIFeatureType_NoStatusBar = RT_BIT(2),
|
---|
863 | GUIFeatureType_All = 0xFF
|
---|
864 | };
|
---|
865 |
|
---|
866 |
|
---|
867 | /** Common UI: Global settings page types. */
|
---|
868 | enum GlobalSettingsPageType
|
---|
869 | {
|
---|
870 | GlobalSettingsPageType_Invalid,
|
---|
871 | GlobalSettingsPageType_General,
|
---|
872 | GlobalSettingsPageType_Input,
|
---|
873 | #ifdef VBOX_GUI_WITH_NETWORK_MANAGER
|
---|
874 | GlobalSettingsPageType_Update,
|
---|
875 | #endif
|
---|
876 | GlobalSettingsPageType_Language,
|
---|
877 | GlobalSettingsPageType_Display,
|
---|
878 | #ifdef VBOX_GUI_WITH_NETWORK_MANAGER
|
---|
879 | GlobalSettingsPageType_Proxy,
|
---|
880 | #endif
|
---|
881 | GlobalSettingsPageType_Interface,
|
---|
882 | GlobalSettingsPageType_Max
|
---|
883 | };
|
---|
884 | Q_DECLARE_METATYPE(GlobalSettingsPageType);
|
---|
885 |
|
---|
886 |
|
---|
887 | /** Common UI: Machine settings page types. */
|
---|
888 | enum MachineSettingsPageType
|
---|
889 | {
|
---|
890 | MachineSettingsPageType_Invalid,
|
---|
891 | MachineSettingsPageType_General,
|
---|
892 | MachineSettingsPageType_System,
|
---|
893 | MachineSettingsPageType_Display,
|
---|
894 | MachineSettingsPageType_Storage,
|
---|
895 | MachineSettingsPageType_Audio,
|
---|
896 | MachineSettingsPageType_Network,
|
---|
897 | MachineSettingsPageType_Ports,
|
---|
898 | MachineSettingsPageType_Serial,
|
---|
899 | MachineSettingsPageType_USB,
|
---|
900 | MachineSettingsPageType_SF,
|
---|
901 | MachineSettingsPageType_Interface,
|
---|
902 | MachineSettingsPageType_Max
|
---|
903 | };
|
---|
904 | Q_DECLARE_METATYPE(MachineSettingsPageType);
|
---|
905 |
|
---|
906 |
|
---|
907 | /** Common UI: Shared Folder types. */
|
---|
908 | enum UISharedFolderType
|
---|
909 | {
|
---|
910 | UISharedFolderType_Machine,
|
---|
911 | UISharedFolderType_Console
|
---|
912 | };
|
---|
913 |
|
---|
914 |
|
---|
915 | /** Remote mode types. */
|
---|
916 | enum UIRemoteMode
|
---|
917 | {
|
---|
918 | UIRemoteMode_Any,
|
---|
919 | UIRemoteMode_On,
|
---|
920 | UIRemoteMode_Off
|
---|
921 | };
|
---|
922 | Q_DECLARE_METATYPE(UIRemoteMode);
|
---|
923 |
|
---|
924 |
|
---|
925 | /** Common UI: Wizard types. */
|
---|
926 | enum WizardType
|
---|
927 | {
|
---|
928 | WizardType_Invalid,
|
---|
929 | WizardType_NewVM,
|
---|
930 | WizardType_CloneVM,
|
---|
931 | WizardType_ExportAppliance,
|
---|
932 | WizardType_ImportAppliance,
|
---|
933 | WizardType_NewCloudVM,
|
---|
934 | WizardType_AddCloudVM,
|
---|
935 | WizardType_NewVD,
|
---|
936 | WizardType_CloneVD
|
---|
937 | };
|
---|
938 |
|
---|
939 |
|
---|
940 | /** Common UI: Wizard modes. */
|
---|
941 | enum WizardMode
|
---|
942 | {
|
---|
943 | WizardMode_Auto,
|
---|
944 | WizardMode_Basic,
|
---|
945 | WizardMode_Expert
|
---|
946 | };
|
---|
947 |
|
---|
948 |
|
---|
949 | /** Common UI: Color Theme types. */
|
---|
950 | enum UIColorThemeType
|
---|
951 | {
|
---|
952 | UIColorThemeType_Auto,
|
---|
953 | UIColorThemeType_Light,
|
---|
954 | UIColorThemeType_Dark,
|
---|
955 | };
|
---|
956 | Q_DECLARE_METATYPE(UIColorThemeType);
|
---|
957 |
|
---|
958 |
|
---|
959 | /** Tool item classes. */
|
---|
960 | enum UIToolClass
|
---|
961 | {
|
---|
962 | UIToolClass_Invalid,
|
---|
963 | UIToolClass_Global,
|
---|
964 | UIToolClass_Machine
|
---|
965 | };
|
---|
966 |
|
---|
967 |
|
---|
968 | /** Tool item types. */
|
---|
969 | enum UIToolType
|
---|
970 | {
|
---|
971 | UIToolType_Invalid,
|
---|
972 | /* Global types: */
|
---|
973 | UIToolType_Welcome,
|
---|
974 | UIToolType_Extensions,
|
---|
975 | UIToolType_Media,
|
---|
976 | UIToolType_Network,
|
---|
977 | UIToolType_Cloud,
|
---|
978 | UIToolType_CloudConsole,
|
---|
979 | UIToolType_VMActivityOverview,
|
---|
980 | /* Machine types: */
|
---|
981 | UIToolType_Error,
|
---|
982 | UIToolType_Details,
|
---|
983 | UIToolType_Snapshots,
|
---|
984 | UIToolType_Logs,
|
---|
985 | UIToolType_VMActivity,
|
---|
986 | UIToolType_FileManager
|
---|
987 | };
|
---|
988 | Q_DECLARE_METATYPE(UIToolType);
|
---|
989 |
|
---|
990 |
|
---|
991 | /** Contains stuff related to tools handling. */
|
---|
992 | namespace UIToolStuff
|
---|
993 | {
|
---|
994 | /** Returns whether passed @a enmType is of passed @a enmClass. */
|
---|
995 | SHARED_LIBRARY_STUFF bool isTypeOfClass(UIToolType enmType, UIToolClass enmClass);
|
---|
996 | }
|
---|
997 |
|
---|
998 |
|
---|
999 | /** Selector UI: Details-element types. */
|
---|
1000 | enum DetailsElementType
|
---|
1001 | {
|
---|
1002 | DetailsElementType_Invalid,
|
---|
1003 | DetailsElementType_General,
|
---|
1004 | DetailsElementType_System,
|
---|
1005 | DetailsElementType_Preview,
|
---|
1006 | DetailsElementType_Display,
|
---|
1007 | DetailsElementType_Storage,
|
---|
1008 | DetailsElementType_Audio,
|
---|
1009 | DetailsElementType_Network,
|
---|
1010 | DetailsElementType_Serial,
|
---|
1011 | DetailsElementType_USB,
|
---|
1012 | DetailsElementType_SF,
|
---|
1013 | DetailsElementType_UI,
|
---|
1014 | DetailsElementType_Description,
|
---|
1015 | DetailsElementType_Max
|
---|
1016 | };
|
---|
1017 | Q_DECLARE_METATYPE(DetailsElementType);
|
---|
1018 |
|
---|
1019 |
|
---|
1020 | /** Selector UI: Preview update interval types. */
|
---|
1021 | enum PreviewUpdateIntervalType
|
---|
1022 | {
|
---|
1023 | PreviewUpdateIntervalType_Disabled,
|
---|
1024 | PreviewUpdateIntervalType_500ms,
|
---|
1025 | PreviewUpdateIntervalType_1000ms,
|
---|
1026 | PreviewUpdateIntervalType_2000ms,
|
---|
1027 | PreviewUpdateIntervalType_5000ms,
|
---|
1028 | PreviewUpdateIntervalType_10000ms,
|
---|
1029 | PreviewUpdateIntervalType_Max
|
---|
1030 | };
|
---|
1031 |
|
---|
1032 |
|
---|
1033 | /** Selector UI: Disk encryption cipher types. */
|
---|
1034 | enum UIDiskEncryptionCipherType
|
---|
1035 | {
|
---|
1036 | UIDiskEncryptionCipherType_Unchanged,
|
---|
1037 | UIDiskEncryptionCipherType_XTS256,
|
---|
1038 | UIDiskEncryptionCipherType_XTS128,
|
---|
1039 | UIDiskEncryptionCipherType_Max
|
---|
1040 | };
|
---|
1041 | Q_DECLARE_METATYPE(UIDiskEncryptionCipherType);
|
---|
1042 |
|
---|
1043 |
|
---|
1044 | /** Runtime UI: Visual-state types. */
|
---|
1045 | enum UIVisualStateType
|
---|
1046 | {
|
---|
1047 | UIVisualStateType_Invalid = 0,
|
---|
1048 | UIVisualStateType_Normal = RT_BIT(0),
|
---|
1049 | UIVisualStateType_Fullscreen = RT_BIT(1),
|
---|
1050 | UIVisualStateType_Seamless = RT_BIT(2),
|
---|
1051 | UIVisualStateType_Scale = RT_BIT(3),
|
---|
1052 | UIVisualStateType_All = 0xFF
|
---|
1053 | };
|
---|
1054 | Q_DECLARE_METATYPE(UIVisualStateType);
|
---|
1055 |
|
---|
1056 |
|
---|
1057 | /** Runtime UI: Indicator types. */
|
---|
1058 | enum IndicatorType
|
---|
1059 | {
|
---|
1060 | IndicatorType_Invalid,
|
---|
1061 | IndicatorType_HardDisks,
|
---|
1062 | IndicatorType_OpticalDisks,
|
---|
1063 | IndicatorType_FloppyDisks,
|
---|
1064 | IndicatorType_Audio,
|
---|
1065 | IndicatorType_Network,
|
---|
1066 | IndicatorType_USB,
|
---|
1067 | IndicatorType_SharedFolders,
|
---|
1068 | IndicatorType_Display,
|
---|
1069 | IndicatorType_Recording,
|
---|
1070 | IndicatorType_Features,
|
---|
1071 | IndicatorType_Mouse,
|
---|
1072 | IndicatorType_Keyboard,
|
---|
1073 | IndicatorType_KeyboardExtension,
|
---|
1074 | IndicatorType_Max
|
---|
1075 | };
|
---|
1076 | Q_DECLARE_METATYPE(IndicatorType);
|
---|
1077 |
|
---|
1078 |
|
---|
1079 | /** Runtime UI: Machine close actions. */
|
---|
1080 | enum MachineCloseAction
|
---|
1081 | {
|
---|
1082 | MachineCloseAction_Invalid = 0,
|
---|
1083 | MachineCloseAction_Detach = RT_BIT(0),
|
---|
1084 | MachineCloseAction_SaveState = RT_BIT(1),
|
---|
1085 | MachineCloseAction_Shutdown = RT_BIT(2),
|
---|
1086 | MachineCloseAction_PowerOff = RT_BIT(3),
|
---|
1087 | MachineCloseAction_PowerOff_RestoringSnapshot = RT_BIT(4),
|
---|
1088 | MachineCloseAction_All = 0xFF
|
---|
1089 | };
|
---|
1090 | Q_DECLARE_METATYPE(MachineCloseAction);
|
---|
1091 |
|
---|
1092 |
|
---|
1093 | /** Runtime UI: Mouse capture policy types. */
|
---|
1094 | enum MouseCapturePolicy
|
---|
1095 | {
|
---|
1096 | MouseCapturePolicy_Default,
|
---|
1097 | MouseCapturePolicy_HostComboOnly,
|
---|
1098 | MouseCapturePolicy_Disabled
|
---|
1099 | };
|
---|
1100 |
|
---|
1101 |
|
---|
1102 | /** Runtime UI: Guru Meditation handler types. */
|
---|
1103 | enum GuruMeditationHandlerType
|
---|
1104 | {
|
---|
1105 | GuruMeditationHandlerType_Default,
|
---|
1106 | GuruMeditationHandlerType_PowerOff,
|
---|
1107 | GuruMeditationHandlerType_Ignore
|
---|
1108 | };
|
---|
1109 |
|
---|
1110 |
|
---|
1111 | /** Runtime UI: Scaling optimization types. */
|
---|
1112 | enum ScalingOptimizationType
|
---|
1113 | {
|
---|
1114 | ScalingOptimizationType_None,
|
---|
1115 | ScalingOptimizationType_Performance
|
---|
1116 | };
|
---|
1117 |
|
---|
1118 |
|
---|
1119 | #ifndef VBOX_WS_MAC
|
---|
1120 | /** Runtime UI: Mini-toolbar alignment. */
|
---|
1121 | enum MiniToolbarAlignment
|
---|
1122 | {
|
---|
1123 | MiniToolbarAlignment_Disabled,
|
---|
1124 | MiniToolbarAlignment_Bottom,
|
---|
1125 | MiniToolbarAlignment_Top
|
---|
1126 | };
|
---|
1127 | #endif /* !VBOX_WS_MAC */
|
---|
1128 |
|
---|
1129 |
|
---|
1130 | /** Runtime UI: Information-element types. */
|
---|
1131 | enum InformationElementType
|
---|
1132 | {
|
---|
1133 | InformationElementType_Invalid,
|
---|
1134 | InformationElementType_General,
|
---|
1135 | InformationElementType_System,
|
---|
1136 | InformationElementType_Preview,
|
---|
1137 | InformationElementType_Display,
|
---|
1138 | InformationElementType_Storage,
|
---|
1139 | InformationElementType_Audio,
|
---|
1140 | InformationElementType_Network,
|
---|
1141 | InformationElementType_Serial,
|
---|
1142 | InformationElementType_USB,
|
---|
1143 | InformationElementType_SharedFolders,
|
---|
1144 | InformationElementType_UI,
|
---|
1145 | InformationElementType_Description,
|
---|
1146 | InformationElementType_RuntimeAttributes,
|
---|
1147 | InformationElementType_StorageStatistics,
|
---|
1148 | InformationElementType_NetworkStatistics
|
---|
1149 | };
|
---|
1150 | Q_DECLARE_METATYPE(InformationElementType);
|
---|
1151 |
|
---|
1152 |
|
---|
1153 | /** Runtime UI: Maximum guest-screen size policy types.
|
---|
1154 | * @note This policy determines which guest-screen sizes we wish to
|
---|
1155 | * handle. We also accept anything smaller than the current size. */
|
---|
1156 | enum MaximumGuestScreenSizePolicy
|
---|
1157 | {
|
---|
1158 | /** Anything at all. */
|
---|
1159 | MaximumGuestScreenSizePolicy_Any,
|
---|
1160 | /** Anything up to a fixed size. */
|
---|
1161 | MaximumGuestScreenSizePolicy_Fixed,
|
---|
1162 | /** Anything up to host-screen available space. */
|
---|
1163 | MaximumGuestScreenSizePolicy_Automatic
|
---|
1164 | };
|
---|
1165 | Q_DECLARE_METATYPE(MaximumGuestScreenSizePolicy);
|
---|
1166 |
|
---|
1167 |
|
---|
1168 | /** Manager UI: VM Activity Overview Column types.
|
---|
1169 | * @note The first element must be 0 and the rest must be consecutive */
|
---|
1170 | enum VMActivityOverviewColumn
|
---|
1171 | {
|
---|
1172 | VMActivityOverviewColumn_Name = 0,
|
---|
1173 | VMActivityOverviewColumn_CPUGuestLoad,
|
---|
1174 | VMActivityOverviewColumn_CPUVMMLoad,
|
---|
1175 | VMActivityOverviewColumn_RAMUsedAndTotal,
|
---|
1176 | VMActivityOverviewColumn_RAMUsedPercentage,
|
---|
1177 | VMActivityOverviewColumn_NetworkUpRate,
|
---|
1178 | VMActivityOverviewColumn_NetworkDownRate,
|
---|
1179 | VMActivityOverviewColumn_NetworkUpTotal,
|
---|
1180 | VMActivityOverviewColumn_NetworkDownTotal,
|
---|
1181 | VMActivityOverviewColumn_DiskIOReadRate,
|
---|
1182 | VMActivityOverviewColumn_DiskIOWriteRate,
|
---|
1183 | VMActivityOverviewColumn_DiskIOReadTotal,
|
---|
1184 | VMActivityOverviewColumn_DiskIOWriteTotal,
|
---|
1185 | VMActivityOverviewColumn_VMExits,
|
---|
1186 | VMActivityOverviewColumn_Max
|
---|
1187 | };
|
---|
1188 |
|
---|
1189 | #endif /* !FEQT_INCLUDED_SRC_extradata_UIExtraDataDefs_h */
|
---|