split project with app & doric module
This commit is contained in:
17
doric-Qt/example/doric/utils/DoricMouseAreaBridge.h
Normal file
17
doric-Qt/example/doric/utils/DoricMouseAreaBridge.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef DORICMOUSEAREABRIDGE_H
|
||||
#define DORICMOUSEAREABRIDGE_H
|
||||
|
||||
#include <QObject>
|
||||
#include <QVariant>
|
||||
|
||||
class DoricMouseAreaBridge : public QObject {
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit DoricMouseAreaBridge(QObject *parent = nullptr);
|
||||
|
||||
Q_INVOKABLE
|
||||
void onClick(QString pointer);
|
||||
signals:
|
||||
};
|
||||
|
||||
#endif // DORICMOUSEAREABRIDGE_H
|
Reference in New Issue
Block a user