accessibility improvements (#499)

This commit is contained in:
Volker Fischer 2020-08-10 22:12:46 +02:00
parent ad5537f887
commit a708a53cd0
2 changed files with 5 additions and 0 deletions

View file

@ -26,6 +26,8 @@
- replacing internal history graph functionality by external scripts/tools (#501) - replacing internal history graph functionality by external scripts/tools (#501)
- accessibility improvements (#499)
- bug fix: added more mutex in the server (should fix #480) - bug fix: added more mutex in the server (should fix #480)
- bug fix: --showallservers ping column sort is alphabetic (#201) - bug fix: --showallservers ping column sort is alphabetic (#201)

View file

@ -72,6 +72,7 @@ void CMultiColorLED::SetColor ( const ELightColor eNewColorFlag )
if ( eColorFlag != RL_RED ) if ( eColorFlag != RL_RED )
{ {
setPixmap ( BitmCubeRed ); setPixmap ( BitmCubeRed );
setAccessibleDescription ( tr ( "Red" ) );
eColorFlag = RL_RED; eColorFlag = RL_RED;
} }
break; break;
@ -81,6 +82,7 @@ void CMultiColorLED::SetColor ( const ELightColor eNewColorFlag )
if ( eColorFlag != RL_YELLOW ) if ( eColorFlag != RL_YELLOW )
{ {
setPixmap ( BitmCubeYellow ); setPixmap ( BitmCubeYellow );
setAccessibleDescription ( tr ( "Yellow" ) );
eColorFlag = RL_YELLOW; eColorFlag = RL_YELLOW;
} }
break; break;
@ -90,6 +92,7 @@ void CMultiColorLED::SetColor ( const ELightColor eNewColorFlag )
if ( eColorFlag != RL_GREEN ) if ( eColorFlag != RL_GREEN )
{ {
setPixmap ( BitmCubeGreen ); setPixmap ( BitmCubeGreen );
setAccessibleDescription ( tr ( "Green" ) );
eColorFlag = RL_GREEN; eColorFlag = RL_GREEN;
} }
break; break;