preheattempgauge.h 527 Bytes
#ifndef INTERTEMPGAUGE_H
#define INTERTEMPGAUGE_H

#include <QWidget>
#include <QPixmap>

class PreheatTempGauge : public QWidget
{
    Q_OBJECT
public:
    explicit PreheatTempGauge(QWidget *parent = 0);

signals:

public slots:
    void setValue(int value);
    void setMinimum(int minimum);
    void setMaximum(int maximum);

protected:
    void paintEvent(QPaintEvent *event);

protected:
    QPixmap body;
    QPixmap border;
    QPixmap indicator;

    int value;
    int min;
    int max;
};

#endif // INTERTEMPGAUGE_H