URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=94f497f92961e4eb7b8a4081bcf7adaf6b2f63a6
Submitter: "Gerald Combs <gerald@xxxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark
Commits:
94f497f by Gerald Combs (gerald@xxxxxxxxxxxxx):
Qt: Use a lighter link color in dark mode.
Add ColorUtils::themeLinkBrush, which returns a readable link color in
dark mode. Use it in place of existing ...palette().link() calls.
Add ColorUtils::themeLinkStyle, which produces an HTML <style/> block
that lightens the link foreground color in dark mode. Use this to style
links in the about box and in elided labels.
Catch ApplicationPaletteChange events where needed.
Add dark theme / dark mode notes to the WSDG.
Ping-Bug: 15511
Change-Id: I92925bd997f97b155491f55a8c818f03549bc7f4
Reviewed-on: https://code.wireshark.org/review/33704
Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
Actions performed:
from cbcb50e Decoding of SMS contents when SMS over SMPP
add 94f497f Qt: Use a lighter link color in dark mode.
Summary of changes:
docbook/wsdg_src/WSDG_chapter_userinterface.adoc | 16 ++++++-
ui/qt/about_dialog.cpp | 57 ++++++++++++++++--------
ui/qt/about_dialog.h | 3 ++
ui/qt/models/astringlist_list_model.cpp | 4 +-
ui/qt/models/proto_tree_model.cpp | 2 +-
ui/qt/models/url_link_delegate.cpp | 4 +-
ui/qt/utils/color_utils.cpp | 31 +++++++++++++
ui/qt/utils/color_utils.h | 2 +
ui/qt/widgets/elided_label.cpp | 16 +++++++
ui/qt/widgets/elided_label.h | 3 +-
10 files changed, 114 insertions(+), 24 deletions(-)