22 Commits

Author SHA1 Message Date
d197bd3a04 修复多个窗口共用同一个配置文件导致锁定的问题(https://gitee.com/spark-store-project/spark-web-app-runtime/issues/IA759Q) 2024-10-19 22:54:46 +08:00
zty199
faa613d671 feat: ISSUE #I62BVT 添加网页通知功能
WebEngineView 中添加 WebEngineView::present(std::unique_ptr<QWebEngineNotification> &newNotification) 函数,通过 DNotifySender 转发系统通知

Log: 添加网页通知功能,通知图片缓存在 /tmp 下;使用 DLogManager 生成日志;修复强制使用 DTK 平台插件异常问题
2022-12-19 09:31:32 +08:00
zty199
4a81898cd3 fix: 修复 UOS 上加载 RC 页面始终处于加载中的问题
页面加载始终未触发 loadFinished 信号,判断加载未完成

Log: 添加 loadProgressChanged 信号处理,加载进度到 100% 就显示页面;loadFinished 信号如果报错,在窗口中提示“加载存在错误”
2022-11-21 14:38:57 +08:00
zty199
1aed5532a3 feat: 限制同标题进程单例运行;网页链接调用浏览器打开
使用 DApplication::setSingleInstance,使用 标题_uid 创建进程锁,单例运行时新进程自动退出,并拉起原有进程主窗口显示;重写 QWebEnginePage,createWindow 时若链接与原来不同,则调用浏览器打开

Log: 支持单例运行;支持浏览器打开外部链接;修复访问深度论坛默认语言错误问题
2022-11-20 15:57:54 +08:00
ut003880
1db592eb50 feat: 标题栏菜单添加清除缓存按钮
特殊情况下会出现打开页面与预期不符的情况,需要清除缓存文件夹

Log: 标题栏菜单添加清除缓存按钮;整理代码;重新启用自定义关于窗口
2022-01-05 19:02:27 +08:00
e084d58377 修改: spark-webapp-runtime/main.cpp
修改:     spark-webapp-runtime/mainwindow.cpp
	修改:     spark-webapp-runtime/mainwindow.h
2021-12-29 23:24:26 +08:00
ut003880
2453752bd7 fix: 修复退出全屏模式后菜单状态不同步的问题
重载 resizeEvent,根据窗口状态手动同步菜单状态。

Log: 修复退出全屏模式后菜单状态不同步的问题
2021-07-26 15:16:15 +08:00
ut003880
2f38b9dd76 fix: 修复部分网页无法正常跳转的问题
对于网页打开方式为新窗口打开的网页进行修复
2021-07-22 12:44:49 +08:00
zty199
f6542879de Fix Bugs
Fix a bug when 'save as' file dialog is canceled, next download will be blocked.
2021-05-09 00:35:05 +08:00
77a999e22e Improve Features
Delete hint when switching between FullScreen and Windowed Mode;
Support closing MainWindow automatically when windowCloseRequested by
webpage.
2021-01-30 14:11:25 +08:00
8da4f87164 Improve Features
Using DDesktopServices::showFileItem() instead of calling
dde-file-manager directly in QProcess;
Delete useless QDebug info and headers include.
2020-12-16 18:58:00 +08:00
c412743642 Fix Bugs & Improve Features
Restrict downloading one file at a time;
Fix a bug if downloading second file, the progress bar won't show;
Support pause / resume / cancel download operation.
2020-12-01 15:15:47 +08:00
17bd206e18 Improve Features
Support tray icon;
Fix few bugs about confliction between fullscreen mode and fixsize
option.
2020-11-30 02:22:28 +08:00
3b54057d49 Update translation
Add missing translation.
2020-11-29 03:14:25 +08:00
4b3cc4276d Improve Features
Support run in Fullscreen mode;
Suppport "save as" when downloading files.
2020-11-29 03:02:11 +08:00
4a753259d3 Improve Features
Support downloading files from website directly;
Show DSpinner before webpage loading progress finished.
2020-11-28 04:26:30 +08:00
76dcf3a991 Fix Bugs
Fix a bug that project can't be compiled on UOS.
P.S. Add "include <QDebug>" in MainWindow.cpp
2020-11-23 12:41:55 +08:00
ea511893ba Improve Features
Support CommandLineParsers "--fix-size" and "--hide-buttons".
2020-11-21 22:25:20 +08:00
7d82812fc9 Improve Feature
Add options "Fix Size" and "Hide Buttons" in titlebar GUI menu.
P.S. Command Line settings is not included.
2020-11-21 18:52:35 +08:00
c826db09c1 Fix Bugs
Fix a bug when MainWindow is closed, AboutDialog still exists;
Resize Logo-Spark.png to 142x51.
2020-11-21 14:23:15 +08:00
e86473c650 Change window sizePolicy
Change window sizePolicy from setFixedSize to setMinimumSize;
Change icon name;
Update part of translation.
2020-11-18 20:59:26 +08:00
shenmo
c324f501bb fix名字不统一 2020-11-18 19:49:22 +08:00