You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
490 B
28 lines
490 B
3 years ago
|
#ifndef TINTMAP_H
|
||
|
#define TINTMAP_H
|
||
|
|
||
|
#include "viewModel/utils/UsViewControl.h"
|
||
|
#include "viewModel/bMode/display/tint/BaseTintMap.h"
|
||
|
|
||
|
class TintMap : public UsViewControl
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
US_PROPERTY_VIEW_ONLY(QString, name, "")
|
||
|
US_PROPERTY_VIEW_ONLY(QString, displayColor, "")
|
||
|
|
||
|
private:
|
||
|
QList<BaseTintMap> _tintMap;
|
||
|
|
||
|
public:
|
||
|
TintMap();
|
||
|
~TintMap() override;
|
||
|
|
||
|
void init(QList<QList<qint32> > tint);
|
||
|
|
||
|
QString toString(qint32 index);
|
||
|
QList<QList<quint8> > value();
|
||
|
};
|
||
|
|
||
|
#endif //TINTMAP_H
|