Ref T609, tristate LED showing if synced with simulator com

This commit is contained in:
Klaus Basan
2019-04-20 01:03:53 +02:00
parent 90373c3a34
commit 2d654e2fef
7 changed files with 51 additions and 13 deletions

View File

@@ -163,12 +163,18 @@ namespace BlackGui
this->setLed();
}
void CLedWidget::setTriStateToolTip(const QString &triState)
void CLedWidget::setTriStateToolTip(const QString &triStateTooltip)
{
m_tooltipTriState = triState;
m_tooltipTriState = triStateTooltip;
this->setLed();
}
void CLedWidget::setTriStateValues(CLedWidget::LedColor color, const QString &tooltip)
{
m_tooltipTriState = tooltip;
m_colorTriState = color;
}
void CLedWidget::setOnColor(LedColor color)
{
if (color == m_colorOn) return;