summaryrefslogblamecommitdiff
path: root/ui/qt5/netsimplewifipage.hh
blob: f199903b8178ab9dac018de9843081c6360346a2 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                           





                                    
                 
                    
                      
                      
 
                                                            
       
                                                         
 


                          
        


                              

                              

  
                                          
/*
 * 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

#include "horizonwizardpage.hh"

#include <QComboBox>
#include <QLabel>
#include <QLineEdit>
#include <QListWidget>
#include <QPushButton>

class NetworkSimpleWirelessPage : public HorizonWizardPage {
public:
    NetworkSimpleWirelessPage(QWidget *parent = nullptr);

    void initializePage();
    void doScan();
    int nextId() const;
private:
    QLabel *statusLabel;
    QPushButton *rescanButton;

    QListWidget *ssidListView;
    QLineEdit *passphrase;
};

#endif /* !NETWORKSIMPLEWIRELESSPAGE_HH */