On 7 October 2015 at 16:21, Tomaz Canabrava <[email protected]> wrote: > So.. I think I have a code that can be used for that, it's in the tag > editor and it tries to select the right colors based on theme. Lubomir, try > to get that code and see if it works for the texts >
since i'm out solutions where Qt returns the correct colors, and didn't really want to use the color adjustment code you pointed out, i approached the issue with custom drawing of the highlighted background and skipping the drawControl() call. it now looks like the small tag color backgrounds (or the kmessagewidget background). please, take a look at the recent patch: [PATCH] modeldelegates.cpp: add custom highlight drawing in location items if you think this isn't appropriate we can look at color adjustments, but that can be a bit volatile with values closer to the set thresholds. lubomir -- _______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
