summaryrefslogtreecommitdiff
path: root/ui/qt5/netsimplewifipage.hh
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-11-12 08:50:30 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-11-12 08:50:30 -0600
commitcbfd04436aef37291001b877af42b5b65753aed5 (patch)
tree6cb0b62a1ee4b5a4b73ef8c67f9adab7541a402a /ui/qt5/netsimplewifipage.hh
parentea764a8e965f3d50a11fb3e404d676944f7ec186 (diff)
downloadhorizon-cbfd04436aef37291001b877af42b5b65753aed5.tar.gz
horizon-cbfd04436aef37291001b877af42b5b65753aed5.tar.bz2
horizon-cbfd04436aef37291001b877af42b5b65753aed5.tar.xz
horizon-cbfd04436aef37291001b877af42b5b65753aed5.zip
Qt UI: Draft WiFi page
Diffstat (limited to 'ui/qt5/netsimplewifipage.hh')
-rw-r--r--ui/qt5/netsimplewifipage.hh30
1 files changed, 21 insertions, 9 deletions
diff --git a/ui/qt5/netsimplewifipage.hh b/ui/qt5/netsimplewifipage.hh
index 3ba3e6a..8545c94 100644
--- a/ui/qt5/netsimplewifipage.hh
+++ b/ui/qt5/netsimplewifipage.hh
@@ -1,3 +1,15 @@
+/*
+ * netsimplewifipage.hh - Definition of the UI.Network.Wireless 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 NETWORKSIMPLEWIRELESSPAGE_HH
#define NETWORKSIMPLEWIRELESSPAGE_HH
@@ -5,18 +17,18 @@
#include <QComboBox>
#include <QLineEdit>
-#include <QListView>
+#include <QListWidget>
-class NetworkSimpleWirelessPage : public HorizonWizardPage
-{
+class NetworkSimpleWirelessPage : public HorizonWizardPage {
public:
- NetworkSimpleWirelessPage(QWidget *parent = 0);
+ NetworkSimpleWirelessPage(QWidget *parent = nullptr);
- void initializePage();
+ void initializePage();
+ void doScan();
+ int nextId() const;
private:
- QComboBox *securityType;
- QLineEdit *ssidName, *passphrase;
- QListView *ssidListView;
+ QListWidget *ssidListView;
+ QLineEdit *passphrase;
};
-#endif // NETWORKSIMPLEWIRELESSPAGE_HH
+#endif /* !NETWORKSIMPLEWIRELESSPAGE_HH */