I am new to PyQt too so we're starting from the same point so you can provide that code snippet yourself as well. You have two hints -- custom delegate and changing the widget's palette.