Bug 372560 - Scale for rating images in list view
Summary: Scale for rating images in list view
Status: RESOLVED FIXED
Alias: None
Product: tellico
Classification: Applications
Component: general (show other bugs)
Version: 3.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Robby Stephenson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-16 21:59 UTC by torte
Modified: 2017-01-15 21:36 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 3.0.1
Sentry Crash Report:


Attachments
Example view (4.05 KB, image/png)
2016-11-16 21:59 UTC, torte
Details

Note You need to log in before you can comment on or make changes to this bug.
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