xref: /aosp_15_r20/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/signalbar.h (revision 03f9172ca588f91df233974f4258bab95191f931)
1 /*
2  * wpa_gui - SignalBar class
3  * Copyright (c) 2011, Kel Modderman <[email protected]>
4  *
5  * This software may be distributed under the terms of the BSD license.
6  * See README for more details.
7  */
8 
9 #ifndef SIGNALBAR_H
10 #define SIGNALBAR_H
11 
12 #include <QObject>
13 #include <QStyledItemDelegate>
14 
15 class SignalBar : public QStyledItemDelegate
16 {
17 	Q_OBJECT
18 
19 public:
20 	SignalBar(QObject *parent = 0);
21 	~SignalBar();
22 
23 	virtual void paint(QPainter *painter,
24 			   const QStyleOptionViewItem &option,
25 			   const QModelIndex &index) const ;
26 };
27 
28 #endif /* SIGNALBAR_H */
29