VirtualBox

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

Last change on this file since 76553 was 76553, checked in by vboxsync, 6 years ago

scm --update-copyright-year

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.0 KB
Line 
1/* $Id: UIWizardCloneVMPageBasic3.h 76553 2019-01-01 01:45:53Z vboxsync $ */
2/** @file
3 * VBox Qt GUI - UIWizardCloneVMPageBasic3 class declaration.
4 */
5
6/*
7 * Copyright (C) 2011-2019 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 __UIWizardCloneVMPageBasic3_h__
19#define __UIWizardCloneVMPageBasic3_h__
20#ifndef RT_WITHOUT_PRAGMA_ONCE
21# pragma once
22#endif
23
24/* GUI includes: */
25#include "UIWizardPage.h"
26
27/* COM includes: */
28#include "COMEnums.h"
29
30/* Forward declaration: */
31class QRadioButton;
32class QIRichTextLabel;
33
34/* 3rd page of the Clone Virtual Machine wizard (base part): */
35class UIWizardCloneVMPage3 : public UIWizardPageBase
36{
37protected:
38
39 /* Constructor: */
40 UIWizardCloneVMPage3(bool fShowChildsOption);
41
42 /* Stuff for 'cloneMode' field: */
43 KCloneMode cloneMode() const;
44 void setCloneMode(KCloneMode cloneMode);
45
46 /* Variables: */
47 bool m_fShowChildsOption;
48
49 /* Widgets: */
50 QRadioButton *m_pMachineRadio;
51 QRadioButton *m_pMachineAndChildsRadio;
52 QRadioButton *m_pAllRadio;
53};
54
55/* 3rd page of the Clone Virtual Machine wizard (basic extension): */
56class UIWizardCloneVMPageBasic3 : public UIWizardPage, public UIWizardCloneVMPage3
57{
58 Q_OBJECT;
59 Q_PROPERTY(KCloneMode cloneMode READ cloneMode WRITE setCloneMode);
60
61public:
62
63 /* Constructor: */
64 UIWizardCloneVMPageBasic3(bool fShowChildsOption);
65
66private:
67
68 /* Translation stuff: */
69 void retranslateUi();
70
71 /* Prepare stuff: */
72 void initializePage();
73
74 /* Validation stuff: */
75 bool validatePage();
76
77 /* Widgets: */
78 QIRichTextLabel *m_pLabel;
79};
80
81#endif // __UIWizardCloneVMPageBasic3_h__
82
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