VirtualBox

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

Last change on this file since 41399 was 41399, checked in by vboxsync, 13 years ago

FE/Qt: Clone Virtual Machine wizard: Removing group-boxes from basic mode.

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