Add an initial Qt port.
[dhcpcd-ui] / src / dhcpcd-qt / dhcpcd-ssidmenu.h
1 #include <QWidget>
2
3 #include "dhcpcd.h"
4
5 class QRadioButton;
6 class QLabel;
7 class QProgressBar;
8
9 class DhcpcdSsidMenu : public QWidget
10 {
11         Q_OBJECT
12
13 public:
14         DhcpcdSsidMenu(QWidget *parent, DHCPCD_IF *ifp, DHCPCD_WI_SCAN *scan);
15         ~DhcpcdSsidMenu() {};
16
17 signals:
18         void selected(DHCPCD_IF *ifp, DHCPCD_WI_SCAN *scan);
19
20 private slots:
21         bool eventFilter(QObject *obj, QEvent *event);
22
23 private:
24         DHCPCD_IF *ifp;
25         DHCPCD_WI_SCAN *scan;
26
27         QRadioButton *button;
28         QLabel *licon;
29         QProgressBar *bar;
30 };