mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2025-07-04 17:15:29 +08:00
update
This commit is contained in:
@ -4,6 +4,7 @@
|
||||
#include <QObject>
|
||||
#include <QWindow>
|
||||
#include <QJsonObject>
|
||||
#include "FramelessView.h"
|
||||
#include "stdafx.h"
|
||||
|
||||
class FluApp : public QObject
|
||||
@ -12,6 +13,7 @@ class FluApp : public QObject
|
||||
Q_PROPERTY_AUTO(QString,initialRoute);
|
||||
Q_PROPERTY_AUTO(bool,isDark);
|
||||
Q_PROPERTY_AUTO(QJsonObject,routes);
|
||||
|
||||
public:
|
||||
|
||||
static FluApp *getInstance();
|
||||
@ -24,7 +26,9 @@ public:
|
||||
|
||||
Q_INVOKABLE void setAppWindow(QWindow *window);
|
||||
|
||||
Q_INVOKABLE void getWIdByWindow(QWindow *window);
|
||||
Q_SIGNAL void windowReady(FramelessView *view);
|
||||
|
||||
Q_INVOKABLE bool equalsWindow(FramelessView *view,QWindow *window);
|
||||
|
||||
private:
|
||||
static FluApp* m_instance;
|
||||
|
Reference in New Issue
Block a user