This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Doric/doric-Qt/example/doric/shader/DoricDraggableNode.h
2021-07-21 19:03:29 +08:00

24 lines
455 B
C++

#ifndef DORICDRAGGABLENODE_H
#define DORICDRAGGABLENODE_H
#include "DoricExport.h"
#include "shader/DoricStackNode.h"
class DORIC_EXPORT DoricDraggableNode : public DoricStackNode {
private:
QString onDragFunction;
public:
using DoricStackNode::DoricStackNode;
QQuickItem *build() override;
virtual void blend(QQuickItem *view, QString name, QJsonValue prop) override;
void onDrag(double x, double y);
};
#endif // DORICDRAGGABLENODE_H