VirtualBox

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

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

FE/Qt: bugref:9996. Initialize clone mode correctly.

  • 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 90674 2021-08-13 09:58:57Z 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 QIRichTextLabel;
35class UICloneVMCloneModeGroupBox;
36
37// /* 3rd page of the Clone Virtual Machine wizard (base part): */
38// class UIWizardCloneVMPage3 : public UIWizardPageBase
39// {
40// protected:
41
42// /* Constructor: */
43// UIWizardCloneVMPage3(bool fShowChildsOption);
44
45// /* Stuff for 'cloneMode' field: */
46// KCloneMode cloneMode() const;
47// void setCloneMode(KCloneMode cloneMode);
48
49// /* Variables: */
50
51// /* Widgets: */
52// QRadioButton *m_pMachineRadio;
53// QRadioButton *m_pMachineAndChildsRadio;
54// QRadioButton *m_pAllRadio;
55// };
56
57/* 3rd page of the Clone Virtual Machine wizard (basic extension): */
58class UIWizardCloneVMPageBasic3 : public UINativeWizardPage
59{
60 Q_OBJECT;
61
62public:
63
64 /* Constructor: */
65 UIWizardCloneVMPageBasic3(bool fShowChildsOption);
66
67private slots:
68
69 void sltCloneModeChanged(KCloneMode enmCloneMode);
70
71private:
72
73 /* Translation stuff: */
74 void retranslateUi();
75
76 /* Prepare stuff: */
77 void initializePage();
78 void prepare();
79
80 /* Validation stuff: */
81 bool validatePage();
82
83 /* Widgets: */
84 QIRichTextLabel *m_pLabel;
85 UICloneVMCloneModeGroupBox *m_pCloneModeGroupBox;
86
87 bool m_fShowChildsOption;
88 QSet<QString> m_userModifiedParameters;
89};
90
91#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