Miam-Player  0.8.0
A nice music player
starswidget.h
Go to the documentation of this file.
1 #ifndef STARSWIDGET_H
2 #define STARSWIDGET_H
3 
4 #include "starrating.h"
5 #include <QWidget>
6 
12 class StarsWidget : public QWidget
13 {
14  Q_OBJECT
15 private:
16  StarRating _starRating;
17 
18 public:
19  explicit StarsWidget(QWidget *parent = nullptr);
20 
21 protected:
22  virtual void paintEvent(QPaintEvent *) override;
23 };
24 
25 #endif // STARSWIDGET_H
virtual void paintEvent(QPaintEvent *) override
Definition: starswidget.cpp:11
StarsWidget(QWidget *parent=nullptr)
Definition: starswidget.cpp:6
The StarRating class is reusing the example provided with Qt Framework.
Definition: starrating.h:56
The StarsWidget class.
Definition: starswidget.h:12