Highlight TOC items with a bold font
AbandonedPublic

Authored by rpanerai on Feb 2 2020, 12:19 PM.

Details

Reviewers
None
Group Reviewers
Okular
Summary

This patch modifies the way TOC items are highlighted.
Instead of decorating the item with an icon, its font gets emboldened.

Test Plan

Currently, TOC items are highlighted by decorating them with a right-arrow icon.
This makes them hard to identify at a first glance, especially with the breeze theme, where the right-arrow icon looks very similar to the collapsed handle in the QTreeView widget.

With this patch, TOC items are highlighted by emboldening their font.

The screenshots below, show the result of the patch.

Before

After

Diff Detail

Repository
R223 Okular
Lint
Lint Skipped
Unit
Unit Tests Skipped
rpanerai requested review of this revision.Feb 2 2020, 12:19 PM
rpanerai created this revision.
rpanerai created this object with visibility "rpanerai (Rodolfo Panerai)".
rpanerai changed the visibility from "rpanerai (Rodolfo Panerai)" to "Public (No Login Required)".
Restricted Application added a subscriber: okular-devel. ยท View Herald TranscriptFeb 2 2020, 12:21 PM
aacid added a subscriber: aacid.Feb 2 2020, 2:43 PM

Could you please discard this and submit it via a merge request in https://invent.kde.org/kde/okular ?

rpanerai abandoned this revision.Feb 3 2020, 5:42 PM

I am closing this, as suggested.
The progress of this patch can now be tracked through this merge request.