UASQuickViewItem.h 444 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#ifndef UASQUICKVIEWITEM_H
#define UASQUICKVIEWITEM_H

#include <QWidget>
#include <QLabel>
class UASQuickViewItem : public QWidget
{
    Q_OBJECT
public:
    explicit UASQuickViewItem(QWidget *parent = 0);
    void setValue(double value);
    void setTitle(QString title);
private:
    QLabel *titleLabel;
    QLabel *valueLabel;
16 17
protected:
    virtual void paintEvent(QPaintEvent *);
18
signals:
19

20
public slots:
21

22 23 24
};

#endif // UASQUICKVIEWITEM_H