1 /*
2  * wpa_gui - SignalBar class
3  * Copyright (c) 2011, Kel Modderman <kel@otaku42.de>
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