Home | History | Annotate | Line # | Download | only in wpa_gui-qt4
      1  1.1  christos /*
      2  1.1  christos  * wpa_gui - SignalBar class
      3  1.1  christos  * Copyright (c) 2011, Kel Modderman <kel (at) otaku42.de>
      4  1.1  christos  *
      5  1.1  christos  * This software may be distributed under the terms of the BSD license.
      6  1.1  christos  * See README for more details.
      7  1.1  christos  */
      8  1.1  christos 
      9  1.1  christos #ifndef SIGNALBAR_H
     10  1.1  christos #define SIGNALBAR_H
     11  1.1  christos 
     12  1.1  christos #include <QObject>
     13  1.1  christos #include <QStyledItemDelegate>
     14  1.1  christos 
     15  1.1  christos class SignalBar : public QStyledItemDelegate
     16  1.1  christos {
     17  1.1  christos 	Q_OBJECT
     18  1.1  christos 
     19  1.1  christos public:
     20  1.1  christos 	SignalBar(QObject *parent = 0);
     21  1.1  christos 	~SignalBar();
     22  1.1  christos 
     23  1.1  christos 	virtual void paint(QPainter *painter,
     24  1.1  christos 			   const QStyleOptionViewItem &option,
     25  1.1  christos 			   const QModelIndex &index) const ;
     26  1.1  christos };
     27  1.1  christos 
     28  1.1  christos #endif /* SIGNALBAR_H */
     29