mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-10-31 15:07:12 -04:00
Use grey text for disabled widgets
This commit is contained in:
parent
3bfca073fd
commit
5eee2f01ba
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user