mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Unify icon metrics
Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
72b256de62
commit
32ab2b34d3
9 changed files with 72 additions and 70 deletions
|
@ -7,11 +7,6 @@ enum StarConfig {
|
|||
TOTALSTARS = 5
|
||||
};
|
||||
|
||||
struct StarMetrics {
|
||||
int size;
|
||||
int spacing;
|
||||
};
|
||||
|
||||
class StarWidget : public QWidget {
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
@ -22,7 +17,6 @@ public:
|
|||
|
||||
static const QImage& starActive();
|
||||
static const QImage& starInactive();
|
||||
static const StarMetrics& metrics();
|
||||
|
||||
signals:
|
||||
void valueChanged(int stars);
|
||||
|
@ -45,7 +39,6 @@ private:
|
|||
|
||||
static QImage activeStar;
|
||||
static QImage inactiveStar;
|
||||
static StarMetrics imgMetrics;
|
||||
};
|
||||
|
||||
#endif // STARWIDGET_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue