48 m_pulseTimer.setSingleShot(
true);
49 m_pulseTimer.setInterval(5);
50 connect(&m_pulseTimer, &QTimer::timeout,
this, &TorcNetworkButtonOutput::EndPulse);
55 return QStringList() << tr(
"Network button");
72 QMutexLocker locker(&
lock);
74 if (m_pulseTimer.isActive())
81 void TorcNetworkButtonOutput::StartTimer(
void)
83 if (!m_pulseTimer.isActive())
87 void TorcNetworkButtonOutput::EndPulse(
void)
89 QMutexLocker locker(&
lock);
virtual void SetValue(double Value) override