KDEUI
kratingwidget.cpp
Go to the documentation of this file.
Utility class that draws a row of stars for a rating value.
Definition kratingpainter.h:51
void setAlignment(Qt::Alignment align)
The alignment of the stars in the drawing rect.
Definition kratingwidget.cpp:116
void setPixmap(const QPixmap &)
Set the pixap to be used to display a rating step.
Definition kratingwidget.cpp:63
void ratingChanged(unsigned int rating)
This signal is emitted when the rating is changed.
void setOnlyPaintFullSteps(bool)
Definition kratingwidget.cpp:197
void setHalfStepsEnabled(bool enabled)
If half steps are enabled (the default) then one rating step corresponds to half a star.
Definition kratingwidget.cpp:189
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Jul 20 2023 00:00:00 by doxygen 1.9.8 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Jul 20 2023 00:00:00 by doxygen 1.9.8 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.