summaryrefslogtreecommitdiff
path: root/ui/qt5/pkgcustom.hh
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-14 12:57:55 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-14 12:57:55 -0600
commit217893db033788ed0770927141e27990762fefb4 (patch)
tree635bd9eab52052526f0718af8c85941692e296b0 /ui/qt5/pkgcustom.hh
parentdf550933fb33ad6ed8bbbf7559afa1f6d797ac85 (diff)
downloadhorizon-217893db033788ed0770927141e27990762fefb4.tar.gz
horizon-217893db033788ed0770927141e27990762fefb4.tar.bz2
horizon-217893db033788ed0770927141e27990762fefb4.tar.xz
horizon-217893db033788ed0770927141e27990762fefb4.zip
Qt UI: Implement custom package selection
Diffstat (limited to 'ui/qt5/pkgcustom.hh')
-rw-r--r--ui/qt5/pkgcustom.hh29
1 files changed, 29 insertions, 0 deletions
diff --git a/ui/qt5/pkgcustom.hh b/ui/qt5/pkgcustom.hh
new file mode 100644
index 0000000..27d2cd2
--- /dev/null
+++ b/ui/qt5/pkgcustom.hh
@@ -0,0 +1,29 @@
+/*
+ * pkgcustom.hh - Definition of the UI.Packages.Custom page
+ * horizon-qt5, the Qt 5 user interface for
+ * Project Horizon
+ *
+ * Copyright (c) 2019 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 PKGCUSTOM_HH
+#define PKGCUSTOM_HH
+
+#include "horizonwizardpage.hh"
+#include "pkgmodel.hh"
+#include <QLabel>
+
+class PkgCustomPage : public HorizonWizardPage {
+public:
+ PkgCustomPage(QWidget *parent = nullptr);
+ void initializePage();
+private:
+ QLabel *pkgDescLabel;
+ PkgItemModel *model;
+};
+
+#endif /* !PKGCUSTOM_HH */