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/doric/utils/DoricMouseAreaBridge.cpp

11 lines
342 B
C++
Raw Normal View History

2021-03-18 11:49:52 +08:00
#include "DoricMouseAreaBridge.h"
#include "shader/DoricViewNode.h"
2021-03-18 11:49:52 +08:00
DoricMouseAreaBridge::DoricMouseAreaBridge(QObject *parent) : QObject(parent) {}
void DoricMouseAreaBridge::onClick(qint64 pointer) {
QObject *object = (QObject *)(pointer);
DoricViewNode *viewNode = dynamic_cast<DoricViewNode *>(object);
qCritical() << viewNode;
2021-03-18 11:49:52 +08:00
}