fix: 修复退出全屏模式后菜单状态不同步的问题

重载 resizeEvent,根据窗口状态手动同步菜单状态。

Log: 修复退出全屏模式后菜单状态不同步的问题
This commit is contained in:
ut003880
2021-07-26 15:16:15 +08:00
parent 2f38b9dd76
commit 2453752bd7
6 changed files with 195 additions and 246 deletions

View File

@@ -3,18 +3,19 @@
#include <QObject>
#define DEFAULT_TITLE QObject::tr("SparkWebAppRuntime")
#define DEFAULT_URL QString("qrc:/help/help.html")
#define DEFAULT_WIDTH (1024)
#define DEFAULT_HEIGHT (768)
#define DEFAULT_TITLE QObject::tr("SparkWebAppRuntime")
//#define DEFAULT_URL QString("qrc:/help/help.html")
#define DEFAULT_URL QString("https://www.baidu.com")
#define DEFAULT_WIDTH (1024)
#define DEFAULT_HEIGHT (768)
#define DEFAULT_DESC QString()
#define DEFAULT_ICON QString()
#define DEFAULT_CFG QString()
#define DEFAULT_DESC QString()
#define DEFAULT_ICON QString()
#define DEFAULT_CFG QString()
#define DEFAULT_ROOT QString()
#define DEFAULT_PORT 0
#define DEFAULT_ROOT QString()
#define DEFAULT_PORT 0
#define CURRENT_VER (1.6)
#define CURRENT_VER (1.6)
#endif // GLOBALDEFINE_H