Commit Graph

86 Commits

Author SHA1 Message Date
lxz 124068be0e
feat: add github action
add github action

Log:
Change-Id: I9c85c2fc33969c2c186a501a62ded98543ad5376
2020-11-10 13:37:05 +08:00
ck 5f6ab73182 fix: disable text color hard to read
针对QPalette::Text的disable状态在暗色主题下在dialog透明模糊时,如果后面有白色背景的应用几乎看不清文字的修复。修改方法是将原来混合颜色改成降低透明度,disable时透明度未原来的40%(来自设计的建议)

Log: 修复控制中心在白色背景下,开启屏幕的第一个屏幕名称看不清的问题
Bug: https://pms.uniontech.com/zentao/bug-view-53017.html
Change-Id: Id6ce0d4bacaa7755b5d108c484d7707760bd4a72
2020-11-10 09:06:02 +08:00
Robin Lee 0e9633f2e7 feat: Initial packit setup
This commit contains the specfile for building the official package for Fedora
with a Packit setup.

Ultimately, a unified specfile is targeted for Fedora and any other rpm-based
distributions, e.g. openEuler.

And Packit(https://packit.dev/) is a tool for maintaining specfile within
upstream source. It requires a simple config file(.packit.yaml).

Log:
Signed-off-by: Robin Lee <cheeselee@fedoraproject.org>
Change-Id: I59b00d9a21b1c00a337684e5a4e3c9b2354d79f2
Reviewed-on: http://gerrit.uniontech.com/c/dtkgui/+/8522
Reviewed-by: zhangjide <zhangjide@uniontech.com>
Tested-by: zhangjide <zhangjide@uniontech.com>
2020-10-23 08:56:23 +08:00
zccrs ea60f6b0bb fix: fallback to parent theme for the windowRadius property
支持读取windowRadius属性时fallback到上一级的theme主题

Change-Id: I78a801b6ee216139b9aaf5644731b7ac6390704c
Reviewed-on: http://gerrit.uniontech.com/c/dtkgui/+/8260
Reviewed-by: zhangjide <zhangjide@uniontech.com>
Reviewed-by: <mailman@uniontech.com>
Tested-by: zhangjide <zhangjide@uniontech.com>
Tested-by: <mailman@uniontech.com>
2020-10-21 17:54:39 +08:00
xmuli 6ae8f77d42 fix: Fix DToolTip control, also modified to rounded corner values.
The result is not as expected, not aesthetically pleasing, so it needs to be left alone.

Log:
Change-Id: I72624d44247d71e3eef8f9fddaddc94342c431a5
Reviewed-on: http://gerrit.uniontech.com/c/dtkgui/+/7957
Reviewed-by: zhangwengeng <xmulitech@gmail.com>
Reviewed-by: <mailman@uniontech.com>
Reviewed-by: chenke <chenke@uniontech.com>
Tested-by: <mailman@uniontech.com>
2020-10-20 09:07:15 +08:00
xmuli de1f742ede fix: Fix default display right angle
A call to `FETCH_PROPERTY("DTK/WindowRadius", windowRadius)` will return -1 by default, resulting in the right angle parameter. So the cup is fixed here.

Log:
Change-Id: I4988af2bdd0a57ae99d9c5562fe8ba6808de8700
Reviewed-on: http://gerrit.uniontech.com/c/dtkgui/+/7769
Reviewed-by: <mailman@uniontech.com>
Reviewed-by: chenke <chenke@uniontech.com>
Tested-by: <mailman@uniontech.com>
2020-10-16 15:55:14 +08:00
xmuli a3b9836b83 feat: Adding a Window Rounded Rectangle Interface
The deepin community version can change the window corner rounding size.

Log: The deepin community version can change the window corner rounding size.
Change-Id: I1e097bb30fd6ac6557dd255d1a70ee0e12a8c062
Reviewed-on: http://gerrit.uniontech.com/c/dtkgui/+/7495
Reviewed-by: <mailman@uniontech.com>
Reviewed-by: zhangjide <zhangjide@uniontech.com>
Reviewed-by: zhangyueqian <zhangyueqian@uniontech.com>
Tested-by: <mailman@uniontech.com>
2020-10-14 17:04:12 +08:00
ck e717fdaedd feat: dpalette添加打印信息输出
添加打印信息输出,方便调试,更新api.json

Log: DPalette添加打印日志支持
Change-Id: I92d779edd86717a4ab46d366c9be85fb005208df
Reviewed-on: http://gerrit.uniontech.com/c/dtkgui/+/5096
Reviewed-by: <mailman@uniontech.com>
Reviewed-by: chenke <chenke@uniontech.com>
Reviewed-by: caitongxun <caitongxun@uniontech.com>
Tested-by: <mailman@uniontech.com>
2020-09-16 17:34:02 +08:00
ck 6d92f7ee2d fix: lib未指定版本号时加载成了dev包
1.QLibrary未指定第二个参数时,会找到dev包,在非开发环境时会导致加载失败。现象是svg无法渲染(即应用无图标了)。2. 更新abi.json

Log: 修复加载lib包不对的问题(更新abi.json)
Change-Id: Ie210866e090e8b6a94af34fc6fbbbd76bd25b4ef
Reviewed-on: http://gerrit.uniontech.com/c/dtkgui/+/2599
Reviewed-by: <mailman@uniontech.com>
Reviewed-by: zhangjide <zhangjide@uniontech.com>
Tested-by: <mailman@uniontech.com>
2020-08-24 09:49:01 +08:00
chenbin 3d3f3de410 fix: 去除dsvgrenderer.cpp文件中INIT_FUNCTION产生的警告
修改类型转换方式,替换reinterpret_cast转换方式,增加decltype关键字进行转换以去除编译警告;并去除部分隐式转换造成的的编译警告

Log: 去除dsvgrenderer.cpp文件中的编译警告
Change-Id: I051ce3db25ba49f66f4be0d2347ea73da1ed81fd
Reviewed-on: http://gerrit.uniontech.com/c/dtkgui/+/2190
Reviewed-by: <mailman@uniontech.com>
Reviewed-by: zhangjide <zhangjide@uniontech.com>
Tested-by: <mailman@uniontech.com>
2020-08-18 14:12:49 +08:00
zccrs 76f129da63 refactor: remove libqt5x11extras5-dev depend
只在一个地方使用了QX11Info,但是却导致链接了一些X11的库
所以使用native接口调用移除了对QX11Info的依赖

Change-Id: Ia272e6bf9c50ba23c3fe9148c8c329660846d410
Reviewed-on: http://gerrit.uniontech.com/c/dtkgui/+/2131
Reviewed-by: <mailman@uniontech.com>
Reviewed-by: zhangjide <zhangjide@uniontech.com>
Tested-by: <mailman@uniontech.com>
2020-08-17 13:22:34 +08:00
zccrs 4c159f015d refactor: remove link the librsvg-2.0
将对librsvg的依赖改为使用QLibrary动态加载
增加了libdtkgui库的加载速度

Change-Id: Icfbfbc80f504c789cc313c27e204c5c84bea3695
Reviewed-on: http://gerrit.uniontech.com/c/dtkgui/+/2130
Reviewed-by: <mailman@uniontech.com>
Reviewed-by: zhangjide <zhangjide@uniontech.com>
Tested-by: <mailman@uniontech.com>
2020-08-17 12:34:16 +08:00
ck 94e6ed00f1 fix: dtk窗口隐藏再显示无法通过窗管菜单关闭
设置MotifFunction时,既设置了close又设置了FUNC_ALL,就会出现无法关闭的情况,kwin中有这样的判断逻辑

Log: 修复应用关闭到托盘后再次显示无法通过任务栏菜单关闭所有关闭
Task: https://pms.uniontech.com/zentao/bug-view-3391.html
Change-Id: Id35b905a55159631ee1cb46c8d69a8eac5ee1a6c
Reviewed-on: http://gerrit.uniontech.com/c/dtkgui/+/1856
Reviewed-by: zhangjide <zhangjide@uniontech.com>
Reviewed-by: <mailman@uniontech.com>
Tested-by: <mailman@uniontech.com>
2020-08-13 15:31:42 +08:00
ck a1d77d3f1d feat: add rpm spec
行业板打rpm包需要添加spec文件

Log: 支持rpm打包构建
Change-Id: I383acfb32526015f8a4f05c1ebd611b82df0cb10
Reviewed-on: http://gerrit.uniontech.com/c/dtkgui/+/1529
Tested-by: chenke <chenke@uniontech.com>
Reviewed-by: chenke <chenke@uniontech.com>
2020-08-11 15:38:34 +08:00
ck b227464a40 feat: 新增windowFromPoint接口
获取指定位置的窗口,需要自己释放内存

Log: 新增windowFromPoint接口
Bug: https://pms.uniontech.com/zentao/bug-view-30174.html
Change-Id: I26d8ba04d3497832312129a660c6d01ea8fd9e30
Reviewed-on: http://gerrit.uniontech.com/c/dtkgui/+/1158
Reviewed-by: chenke <chenke@uniontech.com>
Reviewed-by: zhangjide <zhangjide@uniontech.com>
Reviewed-by: <mailman@uniontech.com>
Tested-by: <mailman@uniontech.com>
2020-08-06 10:39:24 +08:00
ck 8219b171f3 fix: 加入symbols文件后有的架构打包失败
文件名改为 symbols.amd64 只在amd64 平台检查abi兼容

Log: 修复加入symbols文件后有的平台打包失败
2020-07-02 18:53:48 +08:00
ck 557caf63d3 fix: function name typo and default waitTime
修改接口的一个拼写错误,将原来的接口标记为废弃,默认等待时间和QLocalSocket 一致 3000ms

Log: 修改默认等待时间和接口拼写错误
Task: https://pms.uniontech.com/zentao/task-view-28124.html
2020-06-29 10:39:08 +08:00
lyym f774bfc4f2 abigail: 集成dabi的json文件到包中
通过json文件来对比检查EXPORT_SYMBOL的函数是否发生改变,在debian目录加入了之
前的版本生成的json文件用来和基于当前生成的做对比

Log: 加入用以对比检查EXPORT_SYMBOL的函数是否发生改变的json文件
Task: https://pms.uniontech.com/zentao/task-view-28032.html
2020-06-28 17:48:41 +08:00
ck b279354875 fix: delete symbols file
Log: symbols文件错误导致sw和i386编译失败。暂时删除。
2020-06-23 17:46:13 +08:00
chengyulong_cm ab57dd8dd0 add: add symbols file 2020-06-18 19:21:22 +08:00
chengyulong b5539b26fe fix: bug27468,注销PC后,打开语音记事本,打开两个语音记事本应用窗口
将语音记事本设置为开机启动后,重启或注销再重新登陆后在该应用程序自启动前可手动启动一个语音记事本导致会启动两个语音记事本,原因是在判断是否已经存在正在运行的语音记事本时等待QLocalSever通知时间太短,故此将原本等待100ms改为等待1000ms,增加一个设置等待时长的接口。增加等待时长可能会增加程序自启动的耗时。

Log: 修复语音记事本设置为开机启动后,重启或注销系统后可打开两个语音记事本的bug。
Bug: https://pms.uniontech.com/zentao/bug-view-27468.html
2020-06-17 18:19:59 +08:00
刘阳 c3e0ce45ca fix: lintian command check libdtkgui5*.deb occured error
使用 lintian 命令检查 deb 包报错;E: libdtkgui5: dbus-policy-excessively-broad。
2020-06-01 16:09:51 +08:00
zccrs 2582f298d6 refactor: disable dh_makeshlibs 2020-05-06 12:58:47 +08:00
zhangwengeng 17d1d6af12 license: switch to LGPLv3 license 2020-04-24 17:55:17 +08:00
zhangwengeng eb80c8d763 license: switch to LGPLv3 license 2020-04-24 16:52:09 +08:00
Gary Wang e0ff824d03 Release 5.1.2 2020-04-09 14:41:06 +08:00
sunkang 3543ab0ac6 feat:添加Launcher API接口
1.添加了测试用的demo
2020-02-21 15:08:56 +08:00
zccrs ea029575d8 hasComposite default value to true on non-x11 platform 2020-02-21 14:31:38 +08:00
justforlxz 66a653f465 fix: ldap user cannot use single instance
group scope use gid and user scope use uid
2020-02-20 09:44:57 +08:00
Ding Heng 2a62e855bc Update .gitlab-ci.yml 2020-01-08 10:44:36 +08:00
zhangwengeng f15f19b10c feat: Add ObviousBackground enum 2020-01-06 13:10:02 +08:00
zccrs d402053227 feat: add DGuiApplicationHelper::isXWindowPlatform 2019-12-30 20:08:13 +08:00
ck 91d3c11943 docs:add dfiledrag comments 2019-12-24 16:01:46 +08:00
wang 6b6efe32ea feat: 添加dthumbnailprovider注释 2019-12-24 13:45:53 +08:00
wang ab1f527976 feat: 添加dsvgrenderer类的注释 2019-12-23 14:23:37 +08:00
wang 3048443350 feat: 添加dnativesettings注释 2019-12-23 14:10:39 +08:00
wang e3ed72c652 feat: dplatformtheme注释 2019-12-23 14:10:04 +08:00
wang 896675cc75 feat: dregionmonitor注释 2019-12-22 11:46:12 +08:00
zccrs cca21c5e51 feat: add setDotsPerInch/dotsPerInch functions for DPlatformTheme 2019-12-19 23:04:15 +08:00
wang 9e57aa6736 feat: 修改调色板颜色 2019-12-18 14:37:03 +08:00
zccrs 512bf17e9f fix: adjust FrameBorder color of dark theme 2019-12-12 16:03:34 +08:00
zccrs 773b21d8d2 feat: add DRegionMonitor DSvgRenderer DThumbnailProvider
move from dtkwidget
2019-11-30 16:51:43 +08:00
zccrs 2d41615156 feat: add FrameShadowBorder color 2019-11-26 11:24:10 +08:00
zccrs d5e94c7d30 feat: add PlaceholderText color for DPalette 2019-11-23 10:33:37 +08:00
Ding Heng 705e9599b5 Update .gitlab-ci.yml 2019-11-18 10:05:26 +08:00
zccrs 1487cf4c56 refactor: use double of fontPointSize 2019-11-13 13:50:08 +08:00
zccrs ad9d83530e feat: add properties for DPlatformTheme
Qt/FontName
Qt/MonoFontName
Qt/FontPointSize
2019-11-11 16:12:37 +08:00
zccrs 54b7c79e6d feat: support instance process 2019-11-08 20:05:08 +08:00
zccrs 00a1e3e0e2 chore: adjust standard colors on ColorCompositing mode 2019-11-06 15:44:44 +08:00
wang 426bfac1ba feat: 添加 Dguiapplicationhelper 注释 2019-11-05 13:17:32 +08:00