VirtualBox

source: vbox/trunk/src/VBox/Frontends/VirtualBox/src/wizards/clonevd/UIWizardCloneVDPageExpert.h@ 41372

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

FE/Qt: Wizards rework: 1. Better NLS for all the wizards, 2. Removing (reworking, cleanup required) welcome pages, 3. Removing (hiding, cleanup required) summary pages.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Date Revision Author Id
File size: 2.5 KB
Line 
1/** @file
2 *
3 * VBox frontends: Qt4 GUI ("VirtualBox"):
4 * UIWizardCloneVDPageExpert class declaration
5 */
6
7/*
8 * Copyright (C) 2006-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 __UIWizardCloneVDPageExpert_h__
20#define __UIWizardCloneVDPageExpert_h__
21
22/* Local includes: */
23#include "UIWizardCloneVDPageBasic1.h"
24#include "UIWizardCloneVDPageBasic2.h"
25#include "UIWizardCloneVDPageBasic3.h"
26#include "UIWizardCloneVDPageBasic4.h"
27
28/* Expert page of the Clone Virtual Hard Drive wizard: */
29class UIWizardCloneVDPageExpert : public UIWizardPage,
30 public UIWizardCloneVDPage1,
31 public UIWizardCloneVDPage2,
32 public UIWizardCloneVDPage3,
33 public UIWizardCloneVDPage4
34{
35 Q_OBJECT;
36 Q_PROPERTY(CMedium sourceVirtualDisk READ sourceVirtualDisk WRITE setSourceVirtualDisk);
37 Q_PROPERTY(CMediumFormat mediumFormat READ mediumFormat WRITE setMediumFormat);
38 Q_PROPERTY(qulonglong mediumVariant READ mediumVariant WRITE setMediumVariant);
39 Q_PROPERTY(QString mediumPath READ mediumPath);
40 Q_PROPERTY(qulonglong mediumSize READ mediumSize);
41
42public:
43
44 /* Constructor: */
45 UIWizardCloneVDPageExpert(const CMedium &sourceVirtualDisk);
46
47protected:
48
49 /* Wrapper to access 'this' from base part: */
50 UIWizardPage* thisImp() { return this; }
51 /* Wrapper to access 'wizard-field' from base part: */
52 QVariant fieldImp(const QString &strFieldName) const { return UIWizardPage::field(strFieldName); }
53
54private slots:
55
56 /* Source virtual-disk stuff: */
57 void sltHandleSourceDiskChange();
58 void sltHandleOpenSourceDiskClick();
59
60 /* Medium format stuff: */
61 void sltMediumFormatChanged();
62
63 /* Location editor stuff: */
64 void sltSelectLocationButtonClicked();
65
66private:
67
68 /* Translation stuff: */
69 void retranslateUi();
70
71 /* Prepare stuff: */
72 void initializePage();
73
74 /* Validation stuff: */
75 bool isComplete() const;
76 bool validatePage();
77};
78
79#endif // __UIWizardCloneVDPageExpert_h__
80
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