[PATCH] usermanual.cpp: use default QWidget theme colors for text selections

Willem Ferguson willemferguson at zoology.up.ac.za
Tue Oct 13 08:24:21 PDT 2015


On 13/10/2015 17:06, Lubomir I. Ivanov wrote:

From: "Lubomir I. Ivanov" <neolit123 at gmail.com>

The default selection text/background colors (also when seaching)
are black/light-grey in QWebView, for some reason.

To solve the issue we pass a stylesheet that makes use of the
default palette's highlight() and highlightedText() from QWidget.

Fixes #797

Signed-off-by: Lubomir I. Ivanov <neolit123 at gmail.com>


Lubomir,

The one drawback that usermanual.cpp has is that one cannot (as far as I
know) go back to the previous screen. With the cross-referencing in the
text, I find a conventional browser much more helpful because I can use the
arrow button to go to the previous place in the text I was at. Is there any
cure for this in Qt?

Kind regards,
willem
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20151013/9cc8414a/attachment.html>


More information about the subsurface mailing list