summaryrefslogtreecommitdiff
path: root/ui/qt5/partitiondiskpage.hh
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-02-14 13:30:05 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-02-14 13:30:05 -0600
commitdbadd242be012ff684620bd80f689fc8a541f762 (patch)
treead78452394e966723ed4475d0a188248039208dd /ui/qt5/partitiondiskpage.hh
parent7cce0e9d14e7e94dd13bda65ebbffc019c38760c (diff)
downloadhorizon-dbadd242be012ff684620bd80f689fc8a541f762.tar.gz
horizon-dbadd242be012ff684620bd80f689fc8a541f762.tar.bz2
horizon-dbadd242be012ff684620bd80f689fc8a541f762.tar.xz
horizon-dbadd242be012ff684620bd80f689fc8a541f762.zip
Qt UI: Add Disk Selection screen
Diffstat (limited to 'ui/qt5/partitiondiskpage.hh')
-rw-r--r--ui/qt5/partitiondiskpage.hh29
1 files changed, 29 insertions, 0 deletions
diff --git a/ui/qt5/partitiondiskpage.hh b/ui/qt5/partitiondiskpage.hh
new file mode 100644
index 0000000..fc85926
--- /dev/null
+++ b/ui/qt5/partitiondiskpage.hh
@@ -0,0 +1,29 @@
+/*
+ * partitiondiskpage.hh - Definition of the UI.Partition.Install.UserPrompt page
+ * horizon-qt5, the Qt 5 user interface for
+ * Project Horizon
+ *
+ * Copyright (c) 2020 Adélie Linux and contributors. All rights reserved.
+ * This code is licensed under the AGPL 3.0 license, as noted in the
+ * LICENSE-code file in the root directory of this repository.
+ *
+ * SPDX-License-Identifier: AGPL-3.0-only
+ */
+
+#ifndef PARTITIONDISKPAGE_HH
+#define PARTITIONDISKPAGE_HH
+
+#include "horizonwizardpage.hh"
+
+#include <QListWidget>
+
+class PartitionDiskPage : public HorizonWizardPage {
+public:
+ PartitionDiskPage(QWidget *parent = nullptr);
+ void initializePage() override;
+ bool isComplete() const override;
+private:
+ QListWidget *diskChooser;
+};
+
+#endif /* !PARTITIONDISKPAGE_HH */