范朋程
2d958dd670
chore: V23接口改造适配
...
V23接口改造适配
Log: V23接口改造适配
Influence: 无
Task: https://pms.uniontech.com/task-view-207483.html
Change-Id: Ide530c023ea41f86fad2e8001ec67f1afaa897ab
2022-12-06 14:40:35 +08:00
donghualin
c7826edd46
fix: 删除任务栏对libdframeworkdbus-dev库的依赖
...
1、删除项目中对libdframeworkdbus-dev库的依赖,通过使用xml2cpp的工具来自动生成dbus接口文件,在使用到dbus库的项目中包含生成文件的目录
2、修改相关服务中v20的接口(com.deepin...)为v23的接口(org.deepin...)
Log:
Influence: 打开控制中心,鼠标移动唤醒任务栏、加载插件等,观察相关功能是否正常
Task: https://pms.uniontech.com/task-view-182009.html
Change-Id: I960c849d06ed271ebbb9f8e479d9879967523581
2022-09-19 11:41:31 +00:00
chenjun
ba4e0943e7
fix: 修复日期时间插件在英文语言下计算绘制区域和实际绘制区域大小差异问题
...
英文语言下某些字体计算出的绘制区域和实际绘制区域大小会有差异,导致内容显示不全。使用horizontalAdvance和boundingRect
取其中最大值作为显示区域
Log: 修复英文环境下12小时时间制任务栏时间显示不全问题
Bug: https://pms.uniontech.com/zentao/bug-view-106879.html
Influence: 英文环境下12小时时间制任务栏时间日期正常显示
Change-Id: I88b2663e3906e1145008336c9540285443da1b87
2021-12-27 13:34:22 +08:00
songwentao
cc88ed7135
fix: 解决时间插件显示不全问题
...
curTimeSize()接口计算的时间控件大小和实际绘制出来的大小不一致,当字体大小调整后重新计算任务栏下各控件的实际大小,可解决当前显示不全问题.
Log: 修复时间插件显示不全问题
Bug: https://pms.uniontech.com/zentao/bug-view-90894.html
Change-Id: I2fb9062e985403105f3835646b884838384b970b
2021-09-08 14:27:12 +08:00
qiuchangxing
68d97efca6
chore: 给bug修复对应的修改过的代码添加注释
...
给bug修复对应的修改过的代码添加注释,方便代码维护
Log: 给bug修复对应的修改过的代码添加注释
Change-Id: I8a7c582e348613fb3c5f150227cbe9f2a03ac8b9
2021-05-20 09:22:01 +08:00
yanghongwei
dba894f1d4
fix: 修复任务栏日期插件显示贴近底部问题
...
在不同字体以及不同大小下,日期显示位置不美观,特殊处理部分字体
Log: 修复任务栏日期插件显示不美观问题
Bug: https://pms.uniontech.com/zentao/bug-view-79942.html
Change-Id: Ie79b0c2ff6ce706868d9b0633ddecc1d83f6394f
2021-05-19 16:13:20 +08:00
yanghongwei
d3fec481cc
fix: 修复任务栏日期插件显示贴近底部问题
...
日期显示位置太贴近任务栏底部,不美观,将日期上调
Log: 修复任务栏日期插件显示贴近底部问题,稍微上调
Bug: https://pms.uniontech.com/zentao/bug-view-79942.html
Change-Id: I4fa87c5acbea3ed4034392b0bce17fbfcf7de922
2021-05-18 22:49:18 +08:00
Fan PengCheng
5b552ae39a
fix: 修复修改日期点击确认后左下角日期突然变小的问题
...
藏语字体情况下,绘制文本对齐方式会异常,目前采用居中绘制加向中间偏移的方式达成效果
Log: 修复日期在藏语下显示不正确的问题
Bug: https://pms.uniontech.com/zentao/bug-view-78847.html
Change-Id: Ib5c9d8dc2a0575c6667c894eeb657e51fd247c24
2021-05-13 17:12:07 +08:00
qiuchangxing
923f3da995
fix: 修复藏语系统下任务栏日期插件界面显示异常
...
时间绘制区域未做判断,当时间字体占的高度大于时间rect一半时,时间不能完全显示,部分被切割,添加判断时间字体占的高度大于时间rect一半时,时间字体设置为时间rect一半减1,时间就可以完整显示了,任务栏左或右侧显示同理
Log: 修复藏语系统下任务栏日期插件界面时间不能完整显示
Bug: https://pms.uniontech.com/zentao/bug-view-68763.html
Change-Id: Ic1c6975d029408be72cb6669398adf34a32a64b4
2021-04-27 19:52:45 +09:00
Fan PengCheng
943f66c1fc
Merge branch 'maintain/5.2' into master
...
Change-Id: I9ee5876b424d2100d4a3589aebecb52918a0eb3c
# Conflicts:
# frame/util/multiscreenworker.cpp
# frame/util/multiscreenworker.h
2021-04-25 09:49:39 +08:00
qiuchangxing
0eb877e733
fix: 修复藏语系统下任务栏日期插件界面显示异常
...
时间绘制区域未做判断,当时间字体占的高度大于任务栏高度的一半时,时间不能完全显示,部分被切割,添加判断时间字体占的高度大于任务栏高度的一半减2时,时间字体要调小,直到时间字体占的高度小于任务栏高度的一半减2,时间就可以完整显示了
Log: 修复藏语系统下任务栏日期插件界面时间不能完整显示
Bug: https://pms.uniontech.com/zentao/bug-view-68763.html
Change-Id: Ia341da17cbc47ab73ad9332c31434c4f9f91497a
2021-04-21 17:53:31 +09:00
chenjun
e31eb53f2b
fix: 根据com.deepin.daemon.Timedate接口的TimeUpdate信号刷新时间日期插件的布局
...
在控制中心手动设置当前时间后,任务栏插件大小未更新,造成内容显示不全,连接com.deepin.daemon.Timedate接口的
TimeUpdate信号刷新时间日期插件的布局
Log: 修复12小时制任务栏时间显示不全问题
Bug: https://pms.uniontech.com/zentao/bug-view-67911.html
Change-Id: I12e3d4b2e21decbec819f1739eb5b5cffb1e2c6c
2021-03-23 13:14:48 +08:00
Zhang Qipeng
acbf68cca3
fix: 时间插件显示异常
...
任务栏参数变化时,时间插件没有同步刷新布局。
Log: 修复时间插件显示异常的问题。
Bug: https://pms.uniontech.com/zentao/bug-view-59013.html
Bug: https://pms.uniontech.com/zentao/bug-view-60340.html
Bug: https://pms.uniontech.com/zentao/bug-view-59126.html
Change-Id: I6df9a6155dcff38758ef06b2ca12826761037fab
2021-01-08 13:33:56 +08:00
chenwei
b01ed5c347
fix: 修复任务栏时间显示不完整的bug
...
字符长度改变,控件大小未更新
Log: 设置短时间为09:40,任务栏的时间显示不对
Bug: https://pms.uniontech.com/zentao/bug-view-57609.html
Change-Id: I31da80c427f191285506f5bfcaf3fb359332b5e9
2020-12-18 14:32:53 +08:00
Zhang Qipeng
a9f403fbee
fix: 时间插件返回大小错误
...
在切换任务栏位置时时间插件返回的大小有问题。
Log: 修复时间插件显示不完整的问题。
Change-Id: I84c3004728f725fc81e6c46ee1f6817c778fa589
2020-12-17 20:52:54 +08:00
聂成
12902b935a
fix: 更改任务栏界面的时间显示格式
...
任务栏界面时间格式根据控制中心设置来显示
Log: 更改任务栏界面的时间显示格式
Bug: https://pms.uniontech.com/zentao/bug-view-41038.html
Change-Id: I8c165a69dab971cff8860ace5ebc7838a736340c
Reviewed-on: http://gerrit.uniontech.com/c/dde-dock/+/1242
Reviewed-by: niecheng <niecheng@uniontech.com>
Reviewed-by: <mailman@uniontech.com>
Reviewed-by: wangwei <wangwei@uniontech.com>
Tested-by: <mailman@uniontech.com>
2020-08-05 10:06:10 +08:00
聂成
77eae531b7
feat: 更改任务栏界面的时间显示格式
...
任务栏界面时间格式根据控制中心设置来显示
Log: 更改任务栏界面的时间显示格式
Task: https://pms.uniontech.com/zentao/task-view-30918.html
Change-Id: I35c47685c2efbe8f12afdc9a2bb5bb59f4b5324e
Reviewed-on: http://gerrit.uniontech.com/c/dde-dock/+/932
Reviewed-by: <mailman@uniontech.com>
Reviewed-by: niecheng <niecheng@uniontech.com>
Reviewed-by: wangwei <wangwei@uniontech.com>
Tested-by: <mailman@uniontech.com>
2020-07-30 18:03:18 +08:00
范朋程
ee83bb1cba
fix(cppcheck): cppcheck检查
...
静态代码检查,按照提示修改了所有合理的警告内容,部分内容为cppcheck误报,不处理
Log: 按照静态代码检查工具给出的结果进行修改
2020-06-16 13:54:23 +08:00
wangxuwen
0889159f74
feat(dde-dock): update the datetime plugin display for bug 15631
2020-03-13 12:16:29 +08:00
wangxuwen
c18b22d398
feat(dde-dock): modified the date plugin for task 15768
2020-03-04 15:50:48 +08:00
wangxuwen
fd6cfa7842
feat(dde-dock): change the date plugin style for task 15768
2020-03-04 14:05:38 +08:00
chenzhe
36376dfbd1
fix(dock):Font set to 20, incomplete date display in taskbar efficient mode
...
字体设置到20,任务栏高效模式下日期显示不完整 for bug:12080
2020-01-13 18:01:26 +08:00
shaojun
2994f04022
feat(plugin):show date min height
2019-11-19 11:27:10 +08:00
wangxuwen
b5bba30e16
fixed(dock): fixed bug 5541
2019-11-06 17:30:58 +08:00
shaojun
fee1dc4919
feat(datetime):only show time,tow line to display 12hour
2019-11-05 16:44:17 +08:00
shaojun
0a033a3f60
feat(datetime):change text color to BrightText
2019-09-26 16:35:36 +08:00
shaojun
3cfbc502f0
feat:add mainpanelcontrol spliter and delete tray spliter
2019-09-17 13:16:26 +08:00
shaojun
398b88afd3
feat(plugin):different colors under different theme
2019-09-17 13:16:26 +08:00
shaojun
6fefd68e88
feat(datetime):adjust sizehint while font change
2019-09-12 17:07:23 +08:00
shaojun
bb00071d5b
feat(datetime):when dock on left and right,time font size fit to dock
2019-09-12 17:07:23 +08:00
shaojun
2224cca64e
feat(plugin):plugin layout error on close window effect
2019-09-10 15:58:34 +08:00
shaojun
c112e33bef
feat(plugin):plugin layout
2019-09-06 14:45:00 +08:00
wangxuwen
2797bab749
feat(dock): correct the date dispaly
2019-09-04 18:18:22 +08:00
shaojun
9d169bf64c
feat(datetime):change datetime font and format
2019-09-03 09:37:24 +08:00
shaojun
01500100b9
feat:datetime plugin format changed
2019-08-19 14:57:11 +08:00
justforlxz
55c4c74a82
refactor: use QWidget::devicePixelRatio to replace QApplication::devicePixelRatio
...
插入新屏幕后,新屏幕的缩放是1,切换为复制模式后如果继续使用QApplication::devicePixelRatio会导致
显示错误,统一换成QWidget::devicePixelRatio或QScreen::devicePixelRatio。
2019-04-23 18:27:40 +08:00
listenerri
fcb2c8563e
Merge branch 'dev/refactor-plugins-mouse' into merge-dev/refactor-plugins-mouse
...
Change-Id: I03089593b793de20d8400449812bfdc9e4e83ecb
2019-01-07 09:47:51 +08:00
listenerri
395de03ee6
fix: time not display in fashion mode when using some special language
...
https://github.com/linuxdeepin/internal-discussion/issues/691
Change-Id: I86b298651e19ddea3b1eb4283705fc5f1c22679d
2018-12-26 10:20:12 +08: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
2d925fe74e
fix: date-time plugin enable status
...
Change-Id: I155423b46683393396ef07e39b28545abc3a3676
2018-11-21 09:07:58 +08:00
justfortest16162215
fc5135ea74
Fix: in fashion mode, the dock shows AM instead of PM at 12 pm.
...
Change-Id: I86cc2985c0f2a6b863684ad9cce8c5c2ba5140c5
2018-02-15 09:43:01 +08:00
石博文
133b711d1f
update license
...
Change-Id: I9df92e43b79f7c2b3688b595f80df7b3a7bb7ed2
2018-02-07 11:52:47 +08:00
石博文
1aa5922f80
datetime: support hide plugin
...
Change-Id: If39a7f316be13fb9d541fc5e5691cee33d1584cd
2017-10-23 13:36:16 +08:00
石博文
71ccbcef83
update license
...
Change-Id: I90da53ccbbd08d5195469fdfe6ff98fc630d0b34
2017-09-18 14:33:44 +08:00
石博文
4c5aaa2233
support hidpi for plugins icon
...
Change-Id: I265c12b3de13f832ecacfa2f79db4da4ab92363a
2017-09-15 11:23:43 +08:00
石博文
0584380b20
datetime: add am/pm tips on 24 hour format
...
Change-Id: I51affb6a5a59492cfd8804b3766a29d107d20aa5
2017-06-26 15:51:39 +08:00
石博文
11dcf0178c
datetime: default 24 hour format
...
Change-Id: I778ca0efc37c9fb9985dc10b96b277cc05283604
2017-04-06 16:53:16 +08:00
石博文
007650cf2c
show 24 hour format on tips
...
Change-Id: Id9beed7e99fd281c1989091ca7ec075ab0bf4598
2017-03-31 16:48:49 +08:00
石博文
b416d4572d
datetime: support 12 hour format display
...
Change-Id: Ied625ac784a59ff235050cea6e9d0660986824d4
2017-03-30 16:48:34 +08:00
Hualet Wang
192c4f92d1
Remove unnecessary i18n entries
...
Change-Id: I834f150011cf0cda60549406209585eb72facf91
2016-12-27 14:26:47 +08:00