2011-11-19 13:10:37 -05:00
|
|
|
/*
|
|
|
|
* wpa_gui - SignalBar class
|
|
|
|
* Copyright (c) 2011, Kel Modderman <kel@otaku42.de>
|
|
|
|
*
|
2012-07-02 13:48:24 -04:00
|
|
|
* This software may be distributed under the terms of the BSD license.
|
|
|
|
* See README for more details.
|
2011-11-19 13:10:37 -05:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef SIGNALBAR_H
|
|
|
|
#define SIGNALBAR_H
|
|
|
|
|
|
|
|
#include <QObject>
|
|
|
|
#include <QStyledItemDelegate>
|
|
|
|
|
|
|
|
class SignalBar : public QStyledItemDelegate
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
SignalBar(QObject *parent = 0);
|
|
|
|
~SignalBar();
|
|
|
|
|
|
|
|
virtual void paint(QPainter *painter,
|
|
|
|
const QStyleOptionViewItem &option,
|
|
|
|
const QModelIndex &index) const ;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* SIGNALBAR_H */
|