In Qt and specifically the QCalendarWidget the disabled(unclickable) dates by default have a grey background. However, I need to style those with a QSS file.
My problem is that I can't find the attribute in the Qt API. For example the items for selection and in general can be styled as such
QAbstractItemView {
color:#444;
alternate-background-color: #eee;
selection-background-color: #0F4A8C;
selection-color:#fff;
}
Any suggestion how could I set the background color of a disabled item?
This may work.
See also here http://doc.qt.io/qt-4.8/stylesheet-examples.html