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/DoricSliderBridge.cpp

12 lines
369 B
C++
Raw Normal View History

2021-06-01 19:30:37 +08:00
#include "DoricSliderBridge.h"
#include "shader/slider/DoricSliderNode.h"
DoricSliderBridge::DoricSliderBridge(QObject *parent) : QObject(parent) {}
void DoricSliderBridge::onPageSlided(QString pointer) {
QObject *object = (QObject *)(pointer.toULongLong());
DoricSliderNode *sliderNode = dynamic_cast<DoricSliderNode *>(object);
sliderNode->onPageSlided();
}