VirtualBox

source: vbox/trunk/src/VBox/Frontends/VirtualBox/src/wizards/clonevm/UIWizardCloneVMPageExpert.h@ 91035

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

FE/Qt: bugref:9996. Some more code cleaning

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.4 KB
Line 
1/* $Id: UIWizardCloneVMPageExpert.h 91035 2021-08-31 15:57:07Z vboxsync $ */
2/** @file
3 * VBox Qt GUI - UIWizardCloneVMPageExpert 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_UIWizardCloneVMPageExpert_h
19#define FEQT_INCLUDED_SRC_wizards_clonevm_UIWizardCloneVMPageExpert_h
20#ifndef RT_WITHOUT_PRAGMA_ONCE
21# pragma once
22#endif
23
24/* Local includes: */
25#include "UINativeWizardPage.h"
26#include "UIWizardCloneVMEditors.h"
27
28/* Forward declarations: */
29class UICloneVMAdditionalOptionsEditor;
30class UICloneVMCloneModeGroupBox;
31class UICloneVMCloneTypeGroupBox;
32class UICloneVMNamePathEditor;
33
34/* Expert page of the Clone Virtual Machine wizard: */
35class UIWizardCloneVMPageExpert : public UINativeWizardPage
36{
37 Q_OBJECT;
38
39public:
40
41 /* Constructor: */
42 UIWizardCloneVMPageExpert(const QString &strOriginalName, const QString &strDefaultPath,
43 bool fAdditionalInfo, bool fShowChildsOption, const QString &strGroup);
44
45private slots:
46
47 void sltCloneNameChanged(const QString &strCloneName);
48 void sltClonePathChanged(const QString &strClonePath);
49 void sltMACAddressClonePolicyChanged(MACAddressClonePolicy enmMACAddressClonePolicy);
50 void sltKeepDiskNamesToggled(bool fKeepDiskNames);
51 void sltKeepHardwareUUIDsToggled(bool fKeepHardwareUUIDs);
52
53private:
54
55 /* Translation stuff: */
56 void retranslateUi();
57
58 /* Prepare stuff: */
59 void initializePage();
60 void prepare(const QString &strOriginalName, const QString &strDefaultPath, bool fShowChildsOption);
61
62 /* Validation stuff: */
63 bool isComplete() const;
64 bool validatePage();
65
66 UICloneVMNamePathEditor *m_pNamePathGroupBox;
67 UICloneVMCloneTypeGroupBox *m_pCloneTypeGroupBox;
68 UICloneVMCloneModeGroupBox *m_pCloneModeGroupBox;
69 UICloneVMAdditionalOptionsEditor *m_pAdditionalOptionsGroupBox;
70 QString m_strGroup;
71};
72
73#endif /* !FEQT_INCLUDED_SRC_wizards_clonevm_UIWizardCloneVMPageExpert_h */
Note: See TracBrowser for help on using the repository browser.

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