| 1 | #ifndef PARTCOLOR_H |
| 2 | #define PARTCOLOR_H |
| 3 | #include <QObject> |
| 4 | #include <QColor> |
| 5 | |
| 6 | class PartColor : public QObject |
| 7 | { |
| 8 | Q_OBJECT |
| 9 | public: |
| 10 | explicit PartColor(QObject *parent); |
| 11 | static QString name(int part, bool dark=false); |
| 12 | static QColor color(int part, bool dark=false); |
| 13 | |
| 14 | signals: |
| 15 | |
| 16 | public slots: |
| 17 | }; |
| 18 | |
| 19 | #endif // PARTCOLOR_H |