UASQuickViewGaugeItem.h 439 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#ifndef UASQuickViewGaugeItem_H
#define UASQuickViewGaugeItem_H

#include "UASQuickViewItem.h"
#include <QLabel>
class UASQuickViewGaugeItem : public UASQuickViewItem
{
public:
    UASQuickViewGaugeItem(QWidget *parent=0);
    void setValue(double value);
    void setTitle(QString title);
protected:
    void resizeEvent(QResizeEvent *event);
private:
    QLabel *titleLabel;
    QLabel *valueLabel;
};

#endif // UASQuickViewGaugeItem_H