This commit is contained in:
朱子楚\zhuzi
2024-03-24 22:12:20 +08:00
parent 0ca486dfa1
commit 9d06c6d1e9
6 changed files with 44 additions and 56 deletions

View File

@ -10,6 +10,20 @@
#include <QClipboard>
#include <QTranslator>
FluWindowRegister::FluWindowRegister(QObject *parent):QObject{parent}{
from(nullptr);
to(nullptr);
path("");
}
void FluWindowRegister::launch(const QJsonObject& argument){
FluApp::getInstance()->navigate(path(),argument,this);
}
void FluWindowRegister::onResult(const QJsonObject& data){
Q_EMIT result(data);
}
FluApp::FluApp(QObject *parent):QObject{parent}{
useSystemAppBar(false);
}