Rating indicator
-
I was wondering if there is a rating indicator that I can use in an android application. something like "this one":http://harmattan-dev.nokia.com/docs/library//html/qt-components-extras/qt-components-meego-extrasratingindicator.html
Or I have to develop my own :(
I've found something in QML but it's not complete and I don't like it :( "Here its":http://developer.nokia.com/Community/Wiki/Custom_Rating_Indicator_using_Qt_Quick
Thanks in advance :) -
Hi,
There are no rating indicators in Qt. You can develop your own or download a 3rd-party one.
Study the links that you provided to learn how to make your own QML indicator.
If you want a C++ solution that works with the model-view framework, see "this":https://qt-project.org/doc/qt-5.1/qtwidgets/itemviews-stardelegate.html. It's very complex though -- I recommend a QML solution.
-
Hi Baso,
You can easily implement it by subclassing QSlider and drawing image or pixmap instead of the default line. As you slide over the slider it the slider will return values which you can use. Not a classy solution though.