May be in the future I have to make some more changes in my list. That's why I have to subclass QStyledDelegate. So I have to change the font in the paint method.