[Bug 1430767] Re: Widgets that are disabled do not render themselves in the faded state

2015-06-18 Thread Kishore
related to https://bugreports.qt.io/browse/QTBUG-30034 -- 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 n

[Bug 1430767] Re: Widgets that are disabled do not render themselves in the faded state

2015-04-07 Thread Kishore
Strangely, even this makes it work as expected qDebug() << qapp.style(); qDebug() << qapp.palette().color(QPalette::Normal, QPalette::ButtonText) << qapp.palette().color(QPalette::Disabled, QPalette::ButtonText); QPalette palette(qapp.palette().color(QPalette::Button)); qapp.setPalette(palette);

[Bug 1430767] Re: Widgets that are disabled do not render themselves in the faded state

2015-04-06 Thread Kishore
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() <<