This commit is contained in:
zhuzichu 2024-07-04 00:23:00 +08:00
parent 8d1ee6fc36
commit 5794d8d9ce
6 changed files with 29 additions and 27 deletions

View File

@ -143,22 +143,22 @@
<context>
<name>InitializrHelper</name>
<message>
<location filename="src/helper/InitializrHelper.cpp" line="69"/>
<location filename="src/helper/InitializrHelper.cpp" line="70"/>
<source>The name cannot be empty</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="src/helper/InitializrHelper.cpp" line="73"/>
<location filename="src/helper/InitializrHelper.cpp" line="74"/>
<source>The creation path cannot be empty</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="src/helper/InitializrHelper.cpp" line="78"/>
<location filename="src/helper/InitializrHelper.cpp" line="79"/>
<source>The path does not exist</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="src/helper/InitializrHelper.cpp" line="84"/>
<location filename="src/helper/InitializrHelper.cpp" line="85"/>
<source>%1 folder already exists</source>
<translation type="unfinished"></translation>
</message>

View File

@ -143,22 +143,22 @@
<context>
<name>InitializrHelper</name>
<message>
<location filename="src/helper/InitializrHelper.cpp" line="69"/>
<location filename="src/helper/InitializrHelper.cpp" line="70"/>
<source>The name cannot be empty</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="src/helper/InitializrHelper.cpp" line="73"/>
<location filename="src/helper/InitializrHelper.cpp" line="74"/>
<source>The creation path cannot be empty</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="src/helper/InitializrHelper.cpp" line="78"/>
<location filename="src/helper/InitializrHelper.cpp" line="79"/>
<source>The path does not exist</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="src/helper/InitializrHelper.cpp" line="84"/>
<location filename="src/helper/InitializrHelper.cpp" line="85"/>
<source>%1 folder already exists</source>
<translation type="unfinished">%1 </translation>
</message>

View File

@ -2,8 +2,9 @@
#include <QObject>
#include <QQmlApplicationEngine>
#include "stdafx.h"
#include "singleton.h"
#include "stdafx.h"
class AppInfo : public QObject {
Q_OBJECT
@ -13,5 +14,5 @@ private:
public:
SINGLETON(AppInfo)
Q_INVOKABLE [[maybe_unused]] void testCrash();
[[maybe_unused]] Q_INVOKABLE void testCrash();
};

View File

@ -13,7 +13,7 @@ class CircularReveal : public QQuickPaintedItem {
public:
explicit CircularReveal(QQuickItem *parent = nullptr);
void paint(QPainter *painter) override;
Q_INVOKABLE [[maybe_unused]] void start(int w, int h, const QPoint &center, int radius);
[[maybe_unused]] Q_INVOKABLE void start(int w, int h, const QPoint &center, int radius);
Q_SIGNAL void imageChanged();
Q_SIGNAL void animationFinished();
Q_SLOT void handleGrabResult();

View File

@ -17,7 +17,7 @@ private:
public:
SINGLETON(InitializrHelper)
~InitializrHelper() override;
Q_INVOKABLE [[maybe_unused]] void generate(const QString &name, const QString &path);
[[maybe_unused]] Q_INVOKABLE void generate(const QString &name, const QString &path);
Q_SIGNAL void error(const QString &message);
Q_SIGNAL void success(const QString &path);
};

View File

@ -1,25 +1,26 @@
#include <QtQml/qqmlextensionplugin.h>
#include <QApplication>
#include <QDir>
#include <QLoggingCategory>
#include <QNetworkProxy>
#include <QProcess>
#include <QQmlApplicationEngine>
#include <QQmlContext>
#include <QDir>
#include <QQuickWindow>
#include <QNetworkProxy>
#include <QSslConfiguration>
#include <QProcess>
#include <QtQml/qqmlextensionplugin.h>
#include <QLoggingCategory>
#include "Version.h"
#include "AppInfo.h"
#include "Version.h"
#include "helper/Log.h"
#include "src/component/CircularReveal.h"
#include "src/component/FileWatcher.h"
#include "src/component/FpsItem.h"
#include "src/component/OpenGLItem.h"
#include "src/helper/SettingsHelper.h"
#include "src/helper/InitializrHelper.h"
#include "src/helper/TranslateHelper.h"
#include "src/helper/Network.h"
#include "src/helper/SettingsHelper.h"
#include "src/helper/TranslateHelper.h"
#ifdef FLUENTUI_BUILD_STATIC_LIB
# if (QT_VERSION > QT_VERSION_CHECK(6, 2, 0))