VirtualBox

source: vbox/trunk/src/VBox/Frontends/VirtualBox/src/wizards/clonevm/UIWizardCloneVMPageBasic3.h@ 90661

Last change on this file since 90661 was 90661, checked in by vboxsync, 4 years ago

FE/Qt: bugref:9996. Resoting the parameter connections of clone vm wizard.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.3 KB
Line 
1/* $Id: UIWizardCloneVMPageBasic3.h 90661 2021-08-12 13:25:55Z vboxsync $ */
2/** @file
3 * VBox Qt GUI - UIWizardCloneVMPageBasic3 class declaration.
4 */
5
6/*
7 * Copyright (C) 2011-2020 Oracle Corporation
8 *
9 * This file is part of VirtualBox Open Source Edition (OSE), as
10 * available from http://www.virtualbox.org. This file is free software;
11 * you can redistribute it and/or modify it under the terms of the GNU
12 * General Public License (GPL) as published by the Free Software
13 * Foundation, in version 2 as it comes in the "COPYING" file of the
14 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16 */
17
18#ifndef FEQT_INCLUDED_SRC_wizards_clonevm_UIWizardCloneVMPageBasic3_h
19#define FEQT_INCLUDED_SRC_wizards_clonevm_UIWizardCloneVMPageBasic3_h
20#ifndef RT_WITHOUT_PRAGMA_ONCE
21# pragma once
22#endif
23
24/* Qt includes: */
25#include <QSet>
26
27/* GUI includes: */
28#include "UINativeWizardPage.h"
29
30/* COM includes: */
31#include "COMEnums.h"
32
33/* Forward declaration: */
34class QRadioButton;
35class QIRichTextLabel;
36class UICloneVMCloneModeGroupBox;
37
38// /* 3rd page of the Clone Virtual Machine wizard (base part): */
39// class UIWizardCloneVMPage3 : public UIWizardPageBase
40// {
41// protected:
42
43// /* Constructor: */
44// UIWizardCloneVMPage3(bool fShowChildsOption);
45
46// /* Stuff for 'cloneMode' field: */
47// KCloneMode cloneMode() const;
48// void setCloneMode(KCloneMode cloneMode);
49
50// /* Variables: */
51
52// /* Widgets: */
53// QRadioButton *m_pMachineRadio;
54// QRadioButton *m_pMachineAndChildsRadio;
55// QRadioButton *m_pAllRadio;
56// };
57
58/* 3rd page of the Clone Virtual Machine wizard (basic extension): */
59class UIWizardCloneVMPageBasic3 : public UINativeWizardPage
60{
61 Q_OBJECT;
62
63public:
64
65 /* Constructor: */
66 UIWizardCloneVMPageBasic3(bool fShowChildsOption);
67
68private slots:
69
70 void sltCloneModeChanged(KCloneMode enmCloneMode);
71
72private:
73
74 /* Translation stuff: */
75 void retranslateUi();
76
77 /* Prepare stuff: */
78 void initializePage();
79 void prepare();
80
81 /* Validation stuff: */
82 bool validatePage();
83
84 /* Widgets: */
85 QIRichTextLabel *m_pLabel;
86 UICloneVMCloneModeGroupBox *m_pCloneModeGroupBox;
87
88 bool m_fShowChildsOption;
89 QSet<QString> m_userModifiedParameters;
90};
91
92#endif /* !FEQT_INCLUDED_SRC_wizards_clonevm_UIWizardCloneVMPageBasic3_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