Grey out effect in QRadioButton delegate
Unsolved
General and Desktop
-
Hi all,
Based on
QStyleOption[Button]
and this example I've made a QRadioButton delegate derived from QStyledItemDelegate class.What I want is to give "grey out" effect when the item is disabled, like the effect that radio button widget has when it is disabled. Is it possible through
paint
?Thank you
-
@crizos said in Grey out effect in QRadioButton delegate:
Is it possible through paint?
No, you need a QIcon for this: https://doc.qt.io/qt-5/qicon.html#making-classes-that-use-qicon