7 Q_DECLARE_METATYPE(dbr_gr_double)
10 : QDoubleSpinBox(parent),
13 qRegisterMetaType<dbr_gr_double>();
15 connect(
this, SIGNAL(editingFinished()),
this, SLOT(changeEpicsDouble()));
16 connect(m_EpicsDouble, SIGNAL(valueChanged(
double)),
this, SLOT(setValue(
double)));
17 connect(m_EpicsDouble, SIGNAL(valueGraphicChanged(dbr_gr_double)),
18 this, SLOT(setGraphicValue(dbr_gr_double)));
20 printf(
"EpicsDoubleInput::EpicsDoubleInput (%s -> %g)\n",
21 qPrintable(m_EpicsDouble->pvName()),m_EpicsDouble->value());
23 setValue(m_EpicsDouble->value());
24 setToolTip(m_EpicsDouble->toolTip());
38 double lowlim = val.lower_disp_limit;
39 double hilim = val.upper_disp_limit;