26 Commits

Author SHA1 Message Date
chenhongtao
3365365b56 chore: fix use system icon first
Log:
2023-11-23 07:39:51 +00:00
chenhongtao
919a2b5a49 feat: use system battery icon first
Log:
2023-11-22 03:22:23 +00:00
tsic404
2f185bf3ce chore: resolve v23 merge conflicts
log:
2023-02-16 15:08:28 +08:00
donghualin
35b4788180 fix: 修复高缩放率下图标显示异常的问题
设置qApp的Qt::AA_UseHighDpiPixmaps属性为true,设置高分屏支持

Log: 修复高缩放率下图标显示异常的问题
Influence: 设置高缩放率,观察任务栏图标显示
Bug: https://gerrit.uniontech.com/c/dde-network-core/+/180802
Change-Id: I76b6621c405c4a01d39b68817fe920f8e6671609
2022-12-19 15:05:53 +08:00
donghualin
7b11668d04 fix: 插件适配不同主题图标
实现根据主题返回不同图标的接口

Log:
Influence: 切换主题,观察任务栏的图标和控制中心个性化中的图标是否发生了变化
Task: https://pms.uniontech.com/task-view-222025.html
Change-Id: Ib5420a963da4d5f6b4ed7c3e4927890bd80118e4
2022-12-02 13:51:58 +08:00
caixr23
3e26d6ca35
fix: 修复任务栏图标模糊问题 (#729)
高分屏支持设置错误

Log: 修复任务栏图标模糊问题
Bug: https://pms.uniontech.com/bug-view-174459.html
Influence: 缩放后任务栏-各插件图标,右键菜单图标
2022-11-30 08:46:54 +00:00
Robert
0427e19b72
chore: adapt license and copyright (#680)
Modify project to pass the REUSE check

Log: Modify project to pass the REUSE check
Task: https://pms.uniontech.com/task-view-185215.html
Change-Id: Ie954cf985f16c1a243bfc912aa7458c6e85ce9de
2022-09-06 11:36:55 +08:00
donghualin
751fef14be feat: 电池插件适配任务栏最新接口
增加icon接口,外部收到该接口后会进行展示

Log:
Influence: 任务栏-快捷设置区域电池插件图标
Task: https://pms.uniontech.com/task-view-110309.html
Change-Id: Ibf6f482a54266aaf48c70c0849133da7af49945c
2022-05-25 13:10:33 +08:00
donghualin
2ee4b0c25d perf: 格式化代码并对部分类解偶
删除AppSnapshot类中对com.deepin.dde.daemon.Dock接口的调用,并通过DBus的方式来调用相关的接口

Log:
Influence: 任务栏
Task: https://pms.uniontech.com/zentao/task-view-95700.html
Change-Id: Ie8e48111ee9094813b002a0809cd6ba53aae9586
2022-01-05 14:00:26 +08:00
范朋程
94fe84a2fb fix(power): 电池图标显示异常问题
deepin-icon-theme中的电量图标,电量为90时给出的图标名与其他图标命名规则不一致导致,
目前任务栏中放置一套默认图标,放置出问题.同时,图标包也在更新

Log: 修复电量图标显示异常问题
Bug: https://pms.uniontech.com/zentao/bug-view-34462.html
2020-06-27 17:53:36 +08:00
范朋程
d0b1e3550d fix(power): 电池图标需求变更
按照新需求确定一下电池电量每个阶段对应的图标,增加一个满电时电源插入时的电量图标

Log: 电池图标需求变更
Bug: https://pms.uniontech.com/zentao/bug-view-34462.html
2020-06-23 16:39:26 +08:00
范朋程
ee83bb1cba fix(cppcheck): cppcheck检查
静态代码检查,按照提示修改了所有合理的警告内容,部分内容为cppcheck误报,不处理

Log: 按照静态代码检查工具给出的结果进行修改
2020-06-16 13:54:23 +08:00
范朋程
e87294f77e fix(compilewarning): 解决部分编译告警
编译过程中会由告警信息,目前绝大部分已修复,但DImageButton类因为暂无完全替代的类,还未处理

Log: 解决部分编译告警
2020-06-12 21:04:22 +08:00
范朋程
ac6a590b37 Merge tag '5.1.0.12' into uos
# Conflicts:
#	frame/util/docksettings.cpp
#	frame/util/docksettings.h
#	frame/window/mainwindow.cpp
2020-06-05 17:17:36 +08:00
fpc_diesel
7a731315ab feat:gsettings control power display 2020-05-26 14:40:11 +08:00
fpc_diesel
39aa633787 feat:add battery display 2020-05-18 16:05:13 +08:00
wangxuwen
f9b1f84ff0 fixed(dde-dock): change the power icon for bug 13208 2020-02-26 16:41:31 +08:00
shaojun
6ffbf9e39f fixed(tray):tray pos error
偶尔会出现托盘图标错位的问题
2019-12-14 20:12:18 +08:00
shaojun
15e28e0d0e feat(power plugin):dock mini size change dark icon 2019-10-11 12:24:11 +08:00
shaojun
70c40c5206 feat(power):power icon size changed 2019-10-09 14:29:40 +08:00
justforlxz
2e7a4e6fa9
refactor(power): use onBattery to replace batteryState to check is used battery 2019-06-13 15:08:24 +08:00
Carlo Alberto Barbano
4dfd6cabc4 Fix battery icon not updating when charging
Use property BatteryState instead of OnBattery which does not update
when the battery is plugged into a power source (tried on a Matebook D
14).
Battery is considered charging if BatteryState is 1 (charging) or
4 (fully charged).

Change-Id: I5a0cf7bf8ee4cd313af885322d1edb67868c555a
2019-05-06 12:19:28 +02:00
listenerri
7a5501e53d feat: update plugin API version
Note:

1. add a new function in PluginProxyInterface for set applet widget
visible from  a plugin.

2. remove requestContextMenu function from PluginProxyInterface,
cause's the context menu should be handled in Dock, it is enough for
a plugin to simply provide menu data and handle callbacks with
functions itemContextMenu and invokedMenuItem in PluginsItemInterface

https://github.com/linuxdeepin/internal-discussion/issues/646

Change-Id: Ic4af4eee138e87911ff5b18ccbbb0c3f7187ac4d
2018-12-18 11:28:36 +08:00
listenerri
16f10b665c fix: tray icon do not change after system icon theme has changed
https://tower.im/projects/e4ae1ad0b5d5497fb4b7c14fe2d2efbf/todos/d9725c7eddce0c87e5ef5f1939d1964a/

Change-Id: Id094f51c7426f321a1628fdd5e3128d6356c9353
2018-12-07 16:59:06 +08:00
listenerri
d1fa536406 fix: tray icon pixmap align
Change-Id: Idb017b7706d8f3eb13ebc90dc517a5c174642d03
2018-11-20 19:46:34 +08:00
listenerri
b689dbece2 refactor: tray plugin
- tray plugin support load dock plugin as system trays
- move network,sound,power plugins out of tray plugin, keepin them still be plugins

Change-Id: I03463ef55a9abc9823c1b9f7d9c95b00158e63ed
2018-11-15 17:37:05 +08:00