mirror of
https://github.com/Lurkki14/tuxclocker.git
synced 2024-11-25 01:30:18 -06:00
qt: add AssignableParametrizationData
This commit is contained in:
parent
a241c6fea6
commit
ebd13b4895
@ -0,0 +1,24 @@
|
||||
#pragma once
|
||||
|
||||
#include "AssignableData.h"
|
||||
#include "ReadableData.h"
|
||||
|
||||
#include <QMetaType>
|
||||
#include <QVector>
|
||||
|
||||
// Class for assignable editor to store data about parametrized assignables
|
||||
|
||||
class AssignableParametrizationData {
|
||||
private:
|
||||
bool m_active; // Should target be currently parametrized
|
||||
ReadableData m_parameterReadable; // Readable node that the recepient is parametrized from
|
||||
AssignableData m_controlledAssignable;
|
||||
std::chrono::milliseconds m_updateInterval;
|
||||
QVector <qreal> m_xVector;
|
||||
QVector <qreal> m_yVector;
|
||||
public:
|
||||
AssignableParametrizationData() {};
|
||||
AssignableParametrizationData(AssignableData &data) {m_controlledAssignable = data;}
|
||||
};
|
||||
|
||||
Q_DECLARE_METATYPE(AssignableParametrizationData);
|
Loading…
Reference in New Issue
Block a user