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
502 B
28 lines
502 B
3 years ago
|
#ifndef GRAYMAP_H
|
||
|
#define GRAYMAP_H
|
||
|
|
||
|
#include "viewModel/utils/UsViewControl.h"
|
||
|
|
||
|
class GrayMap : public UsViewControl
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
US_PROPERTY_VIEW_ONLY(QString, name, "")
|
||
|
US_PROPERTY_VIEW_ONLY(QString, icon, "")
|
||
|
|
||
|
private:
|
||
|
QList<quint8> _grayMap;
|
||
|
QList<quint8> _knobData;
|
||
|
|
||
|
public:
|
||
|
GrayMap();
|
||
|
|
||
|
void init(QList<qint32> grayMap, quint32 number);
|
||
|
void init(QList<qint32> grayMap, QList<qint32> knobData, quint32 number);
|
||
|
|
||
|
QList<quint8> value();
|
||
|
QList<quint8> knobData();
|
||
|
};
|
||
|
|
||
|
#endif //GRAYMAP_H
|