VirtualBox

source: vbox/trunk/src/VBox/Frontends/VirtualBox/src/wizards/clonevd/UIWizardCloneVDVariantPage.h

Last change on this file was 103957, checked in by vboxsync, 2 months ago

FE/Qt. bugref:10622. Using new UITranslationEventListener in wizard page class hierarchy.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.3 KB
Line 
1/* $Id: UIWizardCloneVDVariantPage.h 103957 2024-03-20 13:41:59Z vboxsync $ */
2/** @file
3 * VBox Qt GUI - UIWizardCloneVDVariantPage class declaration.
4 */
5
6/*
7 * Copyright (C) 2006-2023 Oracle and/or its affiliates.
8 *
9 * This file is part of VirtualBox base platform packages, as
10 * available from https://www.virtualbox.org.
11 *
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation, in version 3 of the
15 * License.
16 *
17 * This program is distributed in the hope that it will be useful, but
18 * WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 * General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, see <https://www.gnu.org/licenses>.
24 *
25 * SPDX-License-Identifier: GPL-3.0-only
26 */
27
28#ifndef FEQT_INCLUDED_SRC_wizards_clonevd_UIWizardCloneVDVariantPage_h
29#define FEQT_INCLUDED_SRC_wizards_clonevd_UIWizardCloneVDVariantPage_h
30#ifndef RT_WITHOUT_PRAGMA_ONCE
31# pragma once
32#endif
33
34/* GUI includes: */
35#include "UINativeWizardPage.h"
36
37/* Forward declarations: */
38class QIRichTextLabel;
39class CMediumFormat;
40class UIDiskVariantWidget;
41
42class UIWizardCloneVDVariantPage : public UINativeWizardPage
43{
44 Q_OBJECT;
45
46public:
47
48 /** Constructs basic page. */
49 UIWizardCloneVDVariantPage();
50
51private slots:
52
53 void sltMediumVariantChanged(qulonglong uVariant);
54 /** Handles translation event. */
55 virtual void sltRetranslateUI() RT_OVERRIDE;
56
57private:
58
59 void prepare();
60
61 /** Prepares the page. */
62 virtual void initializePage() RT_OVERRIDE;
63
64 /** Returns whether the page is complete. */
65 virtual bool isComplete() const RT_OVERRIDE;
66 void setWidgetVisibility(const CMediumFormat &mediumFormat);
67
68 /** Holds the description label instance. */
69 QIRichTextLabel *m_pDescriptionLabel;
70 /** Holds the 'Dynamic' description label instance. */
71 QIRichTextLabel *m_pDynamicLabel;
72 /** Holds the 'Fixed' description label instance. */
73 QIRichTextLabel *m_pFixedLabel;
74 /** Holds the 'Split to 2GB files' description label instance. */
75 QIRichTextLabel *m_pSplitLabel;
76 UIDiskVariantWidget *m_pVariantWidget;
77};
78
79#endif /* !FEQT_INCLUDED_SRC_wizards_clonevd_UIWizardCloneVDVariantPage_h */
Note: See TracBrowser for help on using the repository browser.

© 2023 Oracle
ContactPrivacy policyTerms of Use