preheattempgauge.h 523 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 val);
    void setMinimum(int minimum);
    void setMaximum(int maximum);

protected:
    void paintEvent(QPaintEvent *event);

protected:
    QPixmap body;
    QPixmap border;
    QPixmap indicator;

    int val;
    int min;
    int max;
};

#endif // INTERTEMPGAUGE_H