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/utils/DoricDraggableBridge.h

19 lines
371 B
C
Raw Permalink Normal View History

2021-06-02 11:26:11 +08:00
#ifndef DORICDRAGGABLEBRIDGE_H
#define DORICDRAGGABLEBRIDGE_H
#include <QObject>
#include <QVariant>
#include "DoricExport.h"
class DORIC_EXPORT DoricDraggableBridge : public QObject {
Q_OBJECT
public:
explicit DoricDraggableBridge(QObject *parent = nullptr);
Q_INVOKABLE
void onDrag(QString pointer, double x, double y);
};
#endif // DORICDRAGGABLEBRIDGE_H