VirtualBox

source: vbox/trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvd/UIWizardNewVDSizeLocationPage.h

Last change on this file was 104037, checked in by vboxsync, 3 months ago

FE/Qt: Fixing build (some missing includes).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.2 KB
Line 
1/* $Id: UIWizardNewVDSizeLocationPage.h 104037 2024-03-25 13:28:11Z vboxsync $ */
2/** @file
3 * VBox Qt GUI - UIWizardNewVDSizeLocationPage 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_newvd_UIWizardNewVDSizeLocationPage_h
29#define FEQT_INCLUDED_SRC_wizards_newvd_UIWizardNewVDSizeLocationPage_h
30#ifndef RT_WITHOUT_PRAGMA_ONCE
31# pragma once
32#endif
33
34/* Qt includes: */
35#include <QSet>
36
37/* GUI includes: */
38#include "UINativeWizardPage.h"
39
40/* Forward declarations: */
41class UIMediumSizeAndPathGroupBox;
42
43class SHARED_LIBRARY_STUFF UIWizardNewVDSizeLocationPage : public UINativeWizardPage
44{
45 Q_OBJECT;
46
47public:
48
49 UIWizardNewVDSizeLocationPage(const QString &strDefaultName, const QString &strDefaultPath, qulonglong uDefaultSize);
50
51private slots:
52
53 void sltSelectLocationButtonClicked();
54 void sltMediumSizeChanged(qulonglong uSize);
55 void sltMediumPathChanged(const QString &strPath);
56 virtual void sltRetranslateUI() RT_OVERRIDE RT_FINAL;
57
58private:
59
60 virtual void initializePage() RT_OVERRIDE RT_FINAL;
61 virtual bool isComplete() const RT_OVERRIDE RT_FINAL;
62 virtual bool validatePage() RT_OVERRIDE RT_FINAL;
63 void prepare();
64
65 UIMediumSizeAndPathGroupBox *m_pMediumSizePathGroup;
66 qulonglong m_uMediumSizeMin;
67 qulonglong m_uMediumSizeMax;
68 QString m_strDefaultName;
69 QString m_strDefaultPath;
70 qulonglong m_uDefaultSize;
71 QSet<QString> m_userModifiedParameters;
72};
73
74
75#endif /* !FEQT_INCLUDED_SRC_wizards_newvd_UIWizardNewVDSizeLocationPage_h */
Note: See TracBrowser for help on using the repository browser.

© 2023 Oracle
ContactPrivacy policyTerms of Use