-
There is no reason to hardcode the mapping from theming color roles to QPalette roles, since such a mapping can be easily defined in the theme itself. I added optional color roles for each QPalette role. Themes that do not change the palette do not have to take care at all and themes that change the palette define only the QPalette roles they require. Change-Id: Id195052c96117b7a1a8d7d7d6acacd44e66e22f3 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
a30b9b6c