↧
Answer by eyllanesc for PyQt Color Based CheckBox not setting model data
By default, the setData() method is called when the editor is closed since the commitData and closeEditor signal is emitted, that logic is implemented for certain default widgets but in the case of...
View ArticlePyQt Color Based CheckBox not setting model data
I am open to better alternatives, but what I got here is a checkbox that uses a color code of green and red instead of 'checked' and 'unchecked'. I am using this with a custom QStyledItemDelegate,...
View Article