blob: 0a9a757356706af19cb417627b85429491816b34 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#ifndef THEME_H
#define THEME_H
#include <QtCore/qobject.h>
#include <QtCore/qrect.h>
namespace Utils {
class Theme : public QObject
{
Q_OBJECT
public:
explicit Theme(QObject *parent = nullptr);
enum Area {
TopLeft = 31,
BottomRight = 47
};
Q_ENUM(Area);
Q_INVOKABLE int index(Utils::Theme::Area area) const;
Q_INVOKABLE QRectF area(Utils::Theme::Area area) const;
};
}
#endif // THEME_H
|