No, this doesn't work because the settings made to the painter are only local.
When the painting is done (as in being performed), the actual style is used and your changes to the painter are lost.
Unless, of course, you do the painting of the text directly in the delegate.
Like the italics, set the color in the option. Then it will work as the style makes use of the option (or should make use of it)
Bookmarks