Example #1
0
void AbstractMeter::setMaximum(double i)
{
  if ( (i - m_minimum) > 0.00001 )
  {
    m_maximum = i;
    if (calcMaxMin()) updateWithBackground();
  }
}
void ChanWidgetLED::setColor(QColor i)
{
  m_color = i;
  updateWithBackground();
}
Example #3
0
void Led::setColor(QColor i)
{ 
  m_color = i; 
  updateWithBackground(); 
}
void ChanWidgetLED::setChecked(bool i)
{
  m_checked = i;
  updateWithBackground();
  checkChanged( m_checked );
}
Example #5
0
void Led::setChecked(bool i) 
{
  m_checked = i; 
  updateWithBackground();
  checkChanged( m_checked ); 
}