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.
24 lines
325 B
24 lines
325 B
#ifndef KNOB_H
|
|
#define KNOB_H
|
|
|
|
#include <QObject>
|
|
|
|
#include "viewModel/utils/AutoProperty.h"
|
|
|
|
class Knob : public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
US_PROPERTY_CUSTOM_SETTER_INTERNAL(int, posX, 0)
|
|
US_PROPERTY_CUSTOM_SETTER_INTERNAL(int, posY, 0)
|
|
|
|
public:
|
|
Knob();
|
|
|
|
QPoint getPos();
|
|
|
|
signals:
|
|
void knobDataReady();
|
|
};
|
|
|
|
#endif //KNOB_H
|
|
|