wangyixue
a69ed2efdc
chore: add export target support
...
Export target Dtk::Gui. Users can simply use target_link_libraries.
Log: add export target support
2022-12-29 09:52:49 +08:00
renbin
9dc1bb90d1
feat: Add image algorithms, ut and comment.
...
Add image algorithms, unit test cases, dox file comment and example.
Log: Add image algorithms, ut and comment.
2022-12-12 06:16:33 +00:00
ck
934be318be
feat: add DIcon
...
get pixmap of specified devicePixelRatio
Fix https://pms.uniontech.com/bug-view-162771.html
Log: none
Change-Id: I38b16c8402be74d1ef216faf7c77fa096282dadc
2022-11-17 13:54:12 +08:00
chenhongtao
09de488645
fix(coverage): add the option of compiler to generage gcda files
...
A mistake, the compile option is forgetton
Log: add compiler options to generage gcda files
2022-09-05 09:04:13 +00:00
chenhongtao
9dbff1eb87
fix(shell): fix recoveryshell to cmake
...
Now the configure file is cmake , then the shell should be cmake too
Log: fix recoveryshell
2022-09-02 08:28:53 +00:00
chenhongtao
750478f24e
feat(doc): add package libdtkgui-doc
...
build the package for doc
Log: build the pacakge of doc for dtkgui
2022-09-02 06:18:11 +00:00
ShootingStarDragons
7f227daf8a
feat(tocmake): tocmake
...
I change the source code from qmake to cmake. Move the files
which will be install to the /usr/include to $root/include, which will
help to mattern match and easylier to do install. and the change will
break the build of qmake
Log: from qmake to cmake
Influence: qmake is breaked
2022-08-17 16:59:12 +08:00
xzl
987b356f46
chore: adapt REUSE license header
...
修改版权声明
Log: 修改版权声明
2022-08-11 05:01:51 +00:00
ck
71b349d2c7
fix(build): 覆盖旧配方rc文件重复添加
...
util.pri 中添加过 RESOURCES,去掉重复添加的
Log: none
Influence: none
Change-Id: Ie576f712405dc9309c164324f745567603a74bbc
2022-07-19 10:22:35 +08:00
Chen Bin
503ac5d6b0
chore: fix typo
...
DPalette中存在错别字接口修复。
Log:
Influence: 使用dtkgui的应用的接口影响
Change-Id: I4622c7c9c40e2aa7f3924f332dbe9f20a0dfd9ac
2022-07-19 10:22:35 +08:00
zccrs
b40b8b42a8
feat: Add DIconTheme class
...
DIconTheme 提供从图标主题中查找 QIcon 的功能,与 QIcon::fromTheme
不同的是,DIconTheme 默认不会通过 Qt platform theme 进行图标加载,
而是直接创建内置图标引擎,或者是 XdgIconLoaderEngine,这样可以保证
在任何桌面环境下使用此接口的程序都能正确的查找到图标,这对 DTK 程序
而言非常重要,因为它们一般都还会依赖 DBuiltinIconEngine 提供的功能。
Log:
Influence: 无
Change-Id: I34ff035ffc7b3cfece780fe2676553638904a00d
2022-07-19 10:22:35 +08:00
AlexOne
55351686f0
chore: 按照要求修改单元测试生成文件名
...
按照要求修改单元测试生成文件名
Log:
Influence: none
Change-Id: I032d0f01fc9e11238b6e7a81bf08d62eb81074e0
2022-02-21 13:11:57 +08:00
AlexOne
24b51b64f2
chore: 修改单元测试生成目录
...
修改单元测试相关文件的目录结构
Log:
Influence: 单元测试目录结构
Change-Id: Idcd26a04e02fc16dd2f83ed6f3cddf6c87f4ba24
2022-02-18 11:11:17 +08:00
Ye ShanShan
a53f41135d
chore: 部分架构上单元测试打包错误
...
arm和mips架构,单元测试报munmap_chunk(): invalid pointer错误
Log:
Influence: 单元测试报错
Change-Id: Iff51f48a20c318b0fabc6f9fe14afc00f46cf4cc
2021-11-01 15:07:12 +08:00
ck
d2b41535cd
chore: 部分单元测试依赖窗口特效
...
windowmanager有些单元测试写的不合理,用来判断是否开启特效是否支持模糊的不能直接
断定为true. platformhandle部分接口需要有模糊支持才能成功。
Log:
Change-Id: I7a03d4954d23e0d96a560c20f9c5b155aa2f0713
(cherry picked from commit e3fe88eb0d )
2021-09-06 11:01:55 +08:00
ck
14a2e1a0e1
feat: 输出测试报告xml文件
...
增加测试用例输出成xml,便于后端获取测试报告数据
Log: UT输出xml报告数据
Change-Id: I313b9ed21d60b12021972dd1535b4ec5c01b79ac
2021-07-07 17:38:49 +08:00
wangpenga
ffab5edef0
fix: 单元测试内存泄露
...
修复单元测试中 dforeignwindow 的内存泄露。
Log:
Change-Id: I531c233c6496b9ea1e2f62185b86181d160753aa
2021-07-06 09:11:34 +08:00
Chen Bin
17b58b0bb7
chore: 单元测试文件增加copyright
...
补上单元测试文件遗漏的copyright
Log:
Change-Id: Ia678a90b33ea4bd7e70c6f4013d5ba1befccf9c9
(cherry picked from commit 06462b7dda026efa7d46d837f86951108c28bacb)
2021-07-02 11:37:24 +08:00
wangpenga
87b29bde2d
fix: unit test memory leak check failed due to AddressSanitizer.
...
添加参数使得内存检测的误报不影响单元测试结果生成。
环境变量和编译参数要配合使用。
Log:
Change-Id: I144217f1ac5116e94c58e0c065e24360deb427b9
2021-06-11 15:30:29 +08:00
AlexOne
0bc6f7572b
fix: unit test failed, due to QDataStream set qt version.
...
单元测试里面的 datastream 设置了 qt 版本号导致单元测试失败。
在qt5.11下ok,社区版默认qt5.15。读写不同版本出错。
Log: 修复社区版下单元测试失败的问题
Change-Id: I4693070762b653373bf5a4fcac4598fca69f8356
2021-06-07 20:16:51 +08:00
wangpenga
93724d74c1
fix: Add memory leak detection parameters
...
添加内存泄露检测参数
Log:
Change-Id: I40103596f81c92153f0b3bb437149e12d1b7b7f3
2021-06-04 15:48:00 +08:00
AlexOne
959c3ebc10
fix: eliminate warning
...
消除 if 语句缺少括号造成的警告
Log:
Change-Id: Ia52e5ad05313c8b860d51da6d160a51c5fa7dec2
2021-05-06 11:39:14 +08:00
Chen Bin
2161407cbc
feat: 添加gtest单元测试
...
1.增加部分文件的单元测试文件
2.提高单元测试覆盖率到70以上
Log: 新增dtkgui单元测试
Change-Id: Icd8e3702ece36f6af565e2b9453015218da35953
2021-03-24 15:39:22 +08:00
Chen Bin
6e3f7d497d
feat: 添加部分单元测试
...
1.添加项目内单元测试文件
2.修改部分源码以适应单元测试
Log: 提高dtkgui单元测试覆盖率到50以上
Change-Id: Ib3cf3ccadbefbc334883c175b0a9c47d1b8674d8
2021-03-12 17:45:13 +08:00
chengyulong
58e254702f
feat: 增加单元测试覆盖率
...
对项目目录结构进行优化,增加lcov计算单元测试覆盖率。
Log: 增加lcov计算单元测试覆盖率
Change-Id: I4454aee03a1dffb8e9bc443b967aa84e7dc57a60
2021-02-04 18:11:59 +08:00
justforlxz
278f960381
feat(DGuiApplicationHelper): add setAttribute function
...
Support the use of setAttribute function for some settings
Log:
Change-Id: I794e300d7bff1d4ce58527e39555f7addaf247df
2021-02-04 10:30:43 +08:00
chengyulong
13a42f4a9a
feat: 添加GTest测试单元
...
添加DRegionMonitor、DForeignWindow测试case
Log: 添加GTest测试
Change-Id: I46a680bb1baaec3616c238c0fac7797bdd1daecc
2021-01-18 14:48:44 +08:00