6f96c947a
김태훈
GUI 0.1.4
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#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);
private:
QPixmap body;
QPixmap border;
QPixmap indicator;
int value;
int min;
int max;
};
#endif // INTERTEMPGAUGE_H
|