1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-25 01:18:38 -05:00

Use grey text for disabled widgets

This commit is contained in:
Jon Beniston 2022-09-06 10:27:58 +01:00
parent 3bfca073fd
commit 5eee2f01ba

View File

@ -73,6 +73,10 @@ static int runQtApplication(int argc, char* argv[], qtwebapp::LoggerWithFile *lo
palette.setColor(QPalette::LinkVisited, QColor(0,0xa0,0xa0).lighter());
palette.setColor(QPalette::Highlight, QColor(0xff, 0x8c, 0x00));
palette.setColor(QPalette::HighlightedText, Qt::black);
palette.setColor(QPalette::Disabled, QPalette::WindowText, Qt::gray);
palette.setColor(QPalette::Disabled, QPalette::Text, Qt::gray);
palette.setColor(QPalette::Disabled, QPalette::ButtonText, Qt::gray);
qApp->setPalette(palette);
#if 0