1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-26 17:58:43 -05:00

Merge pull request #1402 from srcejon/grey_disabled_widgets

Use grey text for disabled widgets
This commit is contained in:
Edouard Griffiths 2022-09-06 15:51:08 +02:00 committed by GitHub
commit 7919b3608e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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::LinkVisited, QColor(0,0xa0,0xa0).lighter());
palette.setColor(QPalette::Highlight, QColor(0xff, 0x8c, 0x00)); palette.setColor(QPalette::Highlight, QColor(0xff, 0x8c, 0x00));
palette.setColor(QPalette::HighlightedText, Qt::black); 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); qApp->setPalette(palette);
#if 0 #if 0