VirtualBox

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

Last change on this file since 102493 was 98490, checked in by vboxsync, 20 months ago

FE/Qt: bugref:10322: Runtime UI: Reworking UIIndicatorsPool virtualization features indicator to move COM related logic to UISession.

  • 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.7 KB
Line 
1/* $Id: UIDetailsGenerator.h 98490 2023-02-07 12:11:07Z 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 "COMEnums.h"
40
41/* Forward declarations: */
42class CCloudMachine;
43class CConsole;
44class CFormValue;
45class CGuest;
46class CMachine;
47
48/** Details generation namespace. */
49namespace UIDetailsGenerator
50{
51 SHARED_LIBRARY_STUFF UITextTable generateMachineInformationGeneral(CMachine &comMachine,
52 const UIExtraDataMetaDefs::DetailsElementOptionTypeGeneral &fOptions);
53
54 SHARED_LIBRARY_STUFF UITextTable generateMachineInformationGeneral(CCloudMachine &comCloudMachine,
55 const UIExtraDataMetaDefs::DetailsElementOptionTypeGeneral &fOptions);
56 SHARED_LIBRARY_STUFF QString generateFormValueInformation(const CFormValue &comFormValue, bool fFull = false);
57
58 SHARED_LIBRARY_STUFF UITextTable generateMachineInformationSystem(CMachine &comMachine,
59 const UIExtraDataMetaDefs::DetailsElementOptionTypeSystem &fOptions);
60
61 SHARED_LIBRARY_STUFF UITextTable generateMachineInformationDisplay(CMachine &comMachine,
62 const UIExtraDataMetaDefs::DetailsElementOptionTypeDisplay &fOptions);
63
64 SHARED_LIBRARY_STUFF UITextTable generateMachineInformationStorage(CMachine &comMachine,
65 const UIExtraDataMetaDefs::DetailsElementOptionTypeStorage &fOptions,
66 bool fLink = true);
67
68 SHARED_LIBRARY_STUFF UITextTable generateMachineInformationAudio(CMachine &comMachine,
69 const UIExtraDataMetaDefs::DetailsElementOptionTypeAudio &fOptions);
70
71 SHARED_LIBRARY_STUFF UITextTable generateMachineInformationNetwork(CMachine &comMachine,
72 const UIExtraDataMetaDefs::DetailsElementOptionTypeNetwork &fOptions);
73
74 SHARED_LIBRARY_STUFF UITextTable generateMachineInformationSerial(CMachine &comMachine,
75 const UIExtraDataMetaDefs::DetailsElementOptionTypeSerial &fOptions);
76
77 SHARED_LIBRARY_STUFF UITextTable generateMachineInformationUSB(CMachine &comMachine,
78 const UIExtraDataMetaDefs::DetailsElementOptionTypeUsb &fOptions);
79
80 SHARED_LIBRARY_STUFF UITextTable generateMachineInformationSharedFolders(CMachine &comMachine,
81 const UIExtraDataMetaDefs::DetailsElementOptionTypeSharedFolders &fOptions);
82
83 SHARED_LIBRARY_STUFF UITextTable generateMachineInformationUI(CMachine &comMachine,
84 const UIExtraDataMetaDefs::DetailsElementOptionTypeUserInterface &fOptions);
85
86 SHARED_LIBRARY_STUFF UITextTable generateMachineInformationDescription(CMachine &comMachine,
87 const UIExtraDataMetaDefs::DetailsElementOptionTypeDescription &fOptions);
88
89 SHARED_LIBRARY_STUFF void acquireHardDiskStatusInfo(CMachine &comMachine, QString &strInfo,
90 bool &fAttachmentsPresent);
91
92 SHARED_LIBRARY_STUFF void acquireOpticalDiskStatusInfo(CMachine &comMachine, QString &strInfo,
93 bool &fAttachmentsPresent, bool &fAttachmentsMounted);
94
95 SHARED_LIBRARY_STUFF void acquireFloppyDiskStatusInfo(CMachine &comMachine, QString &strInfo,
96 bool &fAttachmentsPresent, bool &fAttachmentsMounted);
97
98 SHARED_LIBRARY_STUFF void acquireAudioStatusInfo(CMachine &comMachine, QString &strInfo,
99 bool &fAudioEnabled, bool &fEnabledOutput, bool &fEnabledInput);
100
101 SHARED_LIBRARY_STUFF void acquireNetworkStatusInfo(CMachine &comMachine, QString &strInfo,
102 bool &fAdaptersPresent, bool &fCablesDisconnected);
103
104 SHARED_LIBRARY_STUFF void acquireUsbStatusInfo(CMachine &comMachine, CConsole &comConsole,
105 QString &strInfo, bool &fUsbEnableds);
106
107 SHARED_LIBRARY_STUFF void acquireSharedFoldersStatusInfo(CMachine &comMachine, CConsole &comConsole, CGuest &comGuest,
108 QString &strInfo, bool &fFoldersPresent);
109
110 SHARED_LIBRARY_STUFF void acquireDisplayStatusInfo(CMachine &comMachine, QString &strInfo,
111 bool &fAcceleration3D);
112
113 SHARED_LIBRARY_STUFF void acquireRecordingStatusInfo(CMachine &comMachine, QString &strInfo,
114 bool &fRecordingEnabled);
115
116 SHARED_LIBRARY_STUFF void acquireFeaturesStatusInfo(CMachine &comMachine, QString &strInfo,
117 KVMExecutionEngine &enmEngine,
118 bool fNestedPagingEnabled, bool fUxEnabled,
119 KParavirtProvider enmProvider);
120
121 /** Holds the table row format 1. */
122 extern const QString e_strTableRow1;
123 /** Holds the table row format 2. */
124 extern const QString e_strTableRow2;
125 /** Holds the table row format 3. */
126 extern const QString e_strTableRow3;
127}
128
129#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