D21364: Indicate annotation color in annotation list
David Hurka
noreply at phabricator.kde.org
Thu May 23 17:14:27 BST 2019
davidhurka added a comment.
Nice, makes the list more intuitive. :) (Didn’t test this)
Three questions/suggestions:
- Assuming that captionForAnnotation() returns something more useful than “<annotation type> with Comment” (like “<annotation type>: <comment>”), should data() return an "okular" icon by default? If there is no data that can be shown in an icon, the horizontal space could be used for the comment instead.
- Maybe data() could return Annotation::icon(), where icon() is a virtual funtion which returns an appropriate, colored QIcon?
- Weren’t the list items ordered by y-position once?
REPOSITORY
R223 Okular
REVISION DETAIL
https://phabricator.kde.org/D21364
To: jangmarker, #okular
Cc: davidhurka, okular-devel, joaonetto, tfella, ngraham, darcyshen, aacid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20190523/2c4d0ec2/attachment.html>
More information about the Okular-devel
mailing list