In my pure Qt application i added these lines of code
qDebug() << qapp.style();
qDebug() << qapp.palette().color(QPalette::Normal, QPalette::ButtonText) <<
qapp.palette().color(QPalette::Disabled, QPalette::ButtonText);
qapp.setPalette(qapp.style()->standardPalette());
qDebug() << qapp.palette().color(QPalette::Normal, QPalette::ButtonText) <<
qapp.palette().color(QPalette::Disabled, QPalette::ButtonText);
After which the colors are messed up but disabled widgets are
distinguisable. the terminal output of the above is:
Breeze::Style(0x8edd80, name = "breeze")
QColor(ARGB 1, 0.192157, 0.211765, 0.231373) QColor(ARGB 1, 0.192157, 0.211765,
0.231373)
QColor(ARGB 1, 0, 0, 0) QColor(ARGB 1, 0.415686, 0.407843, 0.392157)
As can be seen, in the first case, Normal and disabled have the same
color.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1430767
Title:
Widgets that are disabled do not render themselves in the faded state
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/breeze-qt4/+bug/1430767/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs