VirtualBox

source: vbox/trunk/src/VBox/Frontends/VirtualBox/src/globals/UIDetailsGenerator.h@ 103977

Last change on this file since 103977 was 103803, checked in by vboxsync, 9 months ago

FE/Qt. bugref:10618. Splitting COMEnums.h file into individual enum header files.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
  • Property svn:mergeinfo set to (toggle deleted branches)
    /branches/VBox-3.0/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserItemMachine.h58652,​70973
    /branches/VBox-3.2/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserItemMachine.h66309,​66318
    /branches/VBox-4.0/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserItemMachine.h70873
    /branches/VBox-4.1/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserItemMachine.h74233
    /branches/VBox-4.2/src/VBox/Frontends/VirtualBox/src/selector/graphics/details/UIGDetailsElement.h91503-91504,​91506-91508,​91510,​91514-91515,​91521
    /branches/VBox-4.3/src/VBox/Frontends/VirtualBox/src/selector/graphics/details/UIGDetailsElement.h91223
    /branches/VBox-4.3/trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/details/UIGDetailsElement.h91223
    /branches/dsen/gui/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserItemMachine.h79076-79078,​79089,​79109-79110,​79112-79113,​79127-79130,​79134,​79141,​79151,​79155,​79157-79159,​79193,​79197
    /branches/dsen/gui2/src/VBox/Frontends/VirtualBox/src/selector/graphics/details/UIGDetailsElement.h79562-79569,​79572-79573,​79578,​79581-79582,​79590-79591,​79598-79599,​79602-79603,​79605-79606,​79632,​79635,​79637,​79644
    /branches/dsen/gui3/src/VBox/Frontends/VirtualBox/src/selector/graphics/details/UIGDetailsElement.h79645-79692
    /trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserItemMachine.h79225,​79271
File size: 6.9 KB
Line 
1/* $Id: UIDetailsGenerator.h 103803 2024-03-12 11:15:18Z vboxsync $ */
2/** @file
3 * VBox Qt GUI - UIDetailsGenerator declaration.
4 */
5
6/*
7 * Copyright (C) 2012-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_globals_UIDetailsGenerator_h
29#define FEQT_INCLUDED_SRC_globals_UIDetailsGenerator_h
30#ifndef RT_WITHOUT_PRAGMA_ONCE
31# pragma once
32#endif
33
34/* GUI includes: */
35#include "UIExtraDataDefs.h"
36#include "UITextTable.h"
37
38/* COM includes: */
39#include "KParavirtProvider.h"
40#include "KVMExecutionEngine.h"
41
42/* Forward declarations: */
43class CCloudMachine;
44class CConsole;
45class CFormValue;
46class CGuest;
47class CMachine;
48class CNetworkAdapter;
49
50/** Details generation namespace. */
51namespace UIDetailsGenerator
52{
53 SHARED_LIBRARY_STUFF UITextTable generateMachineInformationGeneral(CMachine &comMachine,
54 const UIExtraDataMetaDefs::DetailsElementOptionTypeGeneral &fOptions);
55
56 SHARED_LIBRARY_STUFF UITextTable generateMachineInformationGeneral(CCloudMachine &comCloudMachine,
57 const UIExtraDataMetaDefs::DetailsElementOptionTypeGeneral &fOptions);
58 SHARED_LIBRARY_STUFF QString generateFormValueInformation(const CFormValue &comFormValue, bool fFull = false);
59
60 SHARED_LIBRARY_STUFF UITextTable generateMachineInformationSystem(CMachine &comMachine,
61 const UIExtraDataMetaDefs::DetailsElementOptionTypeSystem &fOptions);
62
63 SHARED_LIBRARY_STUFF UITextTable generateMachineInformationDisplay(CMachine &comMachine,
64 const UIExtraDataMetaDefs::DetailsElementOptionTypeDisplay &fOptions);
65
66 SHARED_LIBRARY_STUFF UITextTable generateMachineInformationStorage(CMachine &comMachine,
67 const UIExtraDataMetaDefs::DetailsElementOptionTypeStorage &fOptions,
68 bool fLink = true);
69
70 SHARED_LIBRARY_STUFF UITextTable generateMachineInformationAudio(CMachine &comMachine,
71 const UIExtraDataMetaDefs::DetailsElementOptionTypeAudio &fOptions);
72
73 SHARED_LIBRARY_STUFF UITextTable generateMachineInformationNetwork(CMachine &comMachine,
74 const UIExtraDataMetaDefs::DetailsElementOptionTypeNetwork &fOptions);
75
76 SHARED_LIBRARY_STUFF UITextTable generateMachineInformationSerial(CMachine &comMachine,
77 const UIExtraDataMetaDefs::DetailsElementOptionTypeSerial &fOptions);
78
79 SHARED_LIBRARY_STUFF UITextTable generateMachineInformationUSB(CMachine &comMachine,
80 const UIExtraDataMetaDefs::DetailsElementOptionTypeUsb &fOptions);
81
82 SHARED_LIBRARY_STUFF UITextTable generateMachineInformationSharedFolders(CMachine &comMachine,
83 const UIExtraDataMetaDefs::DetailsElementOptionTypeSharedFolders &fOptions);
84
85 SHARED_LIBRARY_STUFF UITextTable generateMachineInformationUI(CMachine &comMachine,
86 const UIExtraDataMetaDefs::DetailsElementOptionTypeUserInterface &fOptions);
87
88 SHARED_LIBRARY_STUFF UITextTable generateMachineInformationDescription(CMachine &comMachine,
89 const UIExtraDataMetaDefs::DetailsElementOptionTypeDescription &fOptions);
90
91 SHARED_LIBRARY_STUFF void acquireHardDiskStatusInfo(CMachine &comMachine, QString &strInfo,
92 bool &fAttachmentsPresent);
93
94 SHARED_LIBRARY_STUFF void acquireOpticalDiskStatusInfo(CMachine &comMachine, QString &strInfo,
95 bool &fAttachmentsPresent, bool &fAttachmentsMounted);
96
97 SHARED_LIBRARY_STUFF void acquireFloppyDiskStatusInfo(CMachine &comMachine, QString &strInfo,
98 bool &fAttachmentsPresent, bool &fAttachmentsMounted);
99
100 SHARED_LIBRARY_STUFF void acquireAudioStatusInfo(CMachine &comMachine, QString &strInfo,
101 bool &fAudioEnabled, bool &fEnabledOutput, bool &fEnabledInput);
102
103 SHARED_LIBRARY_STUFF void acquireNetworkStatusInfo(CMachine &comMachine, QString &strInfo,
104 bool &fAdaptersPresent, bool &fCablesDisconnected);
105
106 SHARED_LIBRARY_STUFF void acquireUsbStatusInfo(CMachine &comMachine, CConsole &comConsole,
107 QString &strInfo, bool &fUsbEnableds);
108
109 SHARED_LIBRARY_STUFF void acquireSharedFoldersStatusInfo(CMachine &comMachine, CConsole &comConsole, CGuest &comGuest,
110 QString &strInfo, bool &fFoldersPresent);
111
112 SHARED_LIBRARY_STUFF void acquireDisplayStatusInfo(CMachine &comMachine, QString &strInfo,
113 bool &fAcceleration3D);
114
115 SHARED_LIBRARY_STUFF void acquireRecordingStatusInfo(CMachine &comMachine, QString &strInfo,
116 bool &fRecordingEnabled);
117
118 SHARED_LIBRARY_STUFF void acquireFeaturesStatusInfo(CMachine &comMachine, QString &strInfo,
119 KVMExecutionEngine &enmEngine,
120 bool fNestedPagingEnabled, bool fUxEnabled,
121 KParavirtProvider enmProvider);
122
123 SHARED_LIBRARY_STUFF QString summarizeGenericProperties(const CNetworkAdapter &comAdapter);
124
125 /** Holds the table row format 1. */
126 extern const QString e_strTableRow1;
127 /** Holds the table row format 2. */
128 extern const QString e_strTableRow2;
129 /** Holds the table row format 3. */
130 extern const QString e_strTableRow3;
131}
132
133#endif /* !FEQT_INCLUDED_SRC_globals_UIDetailsGenerator_h */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette