qmca  0.0.20
epicsdoubledisplay.cpp
Go to the documentation of this file.
1 #include "epicsdoubledisplay.h"
2 #include "epicsdouble.h"
3 
5  : QLabel(parent),
6  m_EpicsDouble(var)
7 {
8  connect(var, SIGNAL(valueChanged(double)), this, SLOT(valueChanged(double)));
9 
11  setToolTip(m_EpicsDouble->toolTip());
12 }
13 
15 {
16 }
17 
19 {
20  setNum(v);
21 }
double value()
EpicsDoubleDisplay(EpicsDouble *var, QWidget *parent=0)
void valueChanged(double v)
QString toolTip()
Definition: epicsobject.cpp:35
EpicsDouble * m_EpicsDouble