Bug 372560

Summary: Scale for rating images in list view
Product: [Applications] tellico Reporter: torte
Component: generalAssignee: Robby Stephenson <robby>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 3.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 3.0.1
Sentry Crash Report:
Attachments: Example view

Description torte 2016-11-16 21:59:18 UTC
Created attachment 102263 [details]
Example view

All ratings have the size of "*" see attachment.

Version 3.0
KDE Frameworks 5.26.0
Qt 5.6.1 (kompiliert gegen 5.6.1)
Das xcb Fenstersystem
Comment 1 Robby Stephenson 2017-01-15 21:36:22 UTC
Git commit fb572c22f8910257dd90dab9b0fe5070ed7f158c by Robby Stephenson.
Committed on 15/01/2017 at 21:33.
Pushed by rstephenson into branch 'master'.

Add a delegate to draw Ratings

Qt4 drew icons of list views of various widths, and apparently no longer
does. Instead of using an model icon, using a delegate to draw proper
stars for the Rating value.
FIXED-IN: 3.0.1

M  +4    -0    ChangeLog
M  +23   -0    src/detailedlistview.cpp
M  +1    -0    src/detailedlistview.h
M  +2    -0    src/gui/CMakeLists.txt
A  +67   -0    src/gui/ratingdelegate.cpp     [License: GPL (v2+)]
A  +43   -0    src/gui/ratingdelegate.h     [License: GPL (v2+)]
M  +1    -1    src/gui/ratingwidget.cpp
A  +70   -0    src/gui/starrating.cpp     [License: GPL (v2+)]
A  +64   -0    src/gui/starrating.h     [License: GPL (v2+)]
M  +1    -2    src/models/entrymodel.cpp

https://commits.kde.org/tellico/fb572c22f8910257dd90dab9b0fe5070ed7f158c