KWidgetsAddons
kratingwidget.h
void setAlignment(Qt::Alignment align)
The alignment of the stars in the drawing rect.
Definition kratingwidget.cpp:74
void ratingChanged(int rating)
This signal is emitted when the rating is changed.
void setHalfStepsEnabled(bool enabled)
If half steps are enabled (the default) then one rating step corresponds to half a star.
Definition kratingwidget.cpp:122
QFrame(QWidget *parent, Qt::WindowFlags f)
virtual void paintEvent(QPaintEvent *) override
virtual QSize sizeHint() const const override
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
Q_SIGNALSQ_SIGNALS
Q_SLOTSQ_SLOTS
QObject * parent() const const
typedef Alignment
LayoutDirection
QWidget(QWidget *parent, Qt::WindowFlags f)
enabled
layoutDirection
virtual void leaveEvent(QEvent *event)
virtual void mouseMoveEvent(QMouseEvent *event)
virtual void mousePressEvent(QMouseEvent *event)
virtual void resizeEvent(QResizeEvent *event)
size
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:58 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:58 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.