mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-23 00:18:37 -05:00
Merge pull request #1402 from srcejon/grey_disabled_widgets
Use grey text for disabled widgets
This commit is contained in:
commit
7919b3608e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user