FluentUI/src/WindowHelper.cpp
朱子楚\zhuzi a7e8a5e4cf update
2023-06-28 02:28:34 +08:00

21 lines
413 B
C++

#include "WindowHelper.h"
#include "FluRegister.h"
WindowHelper::WindowHelper(QObject *parent)
: QObject{parent}
{
}
void WindowHelper::initWindow(QQuickWindow* window){
this->window = window;
}
QVariant WindowHelper::createRegister(QQuickWindow* window,const QString& path){
FluRegister *p = new FluRegister(window);
p->from(window);
p->path(path);
return QVariant::fromValue(p);
}