mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 15:45:46 +08:00
Ref T609, tristate LED showing if synced with simulator com
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user