draggable demo
This commit is contained in:
21
doric-Qt/example/doric/shader/DoricDraggableNode.h
Normal file
21
doric-Qt/example/doric/shader/DoricDraggableNode.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#ifndef DORICDRAGGABLENODE_H
|
||||
#define DORICDRAGGABLENODE_H
|
||||
|
||||
#include "DoricExport.h"
|
||||
|
||||
#include "shader/DoricStackNode.h"
|
||||
|
||||
class DORIC_EXPORT DoricDraggableNode : public DoricStackNode {
|
||||
|
||||
private:
|
||||
QString onDrag;
|
||||
|
||||
public:
|
||||
using DoricStackNode::DoricStackNode;
|
||||
|
||||
QQuickItem *build() override;
|
||||
|
||||
virtual void blend(QQuickItem *view, QString name, QJsonValue prop) override;
|
||||
};
|
||||
|
||||
#endif // DORICDRAGGABLENODE_H
|
Reference in New Issue
Block a user