Commit Graph

24 Commits

Author SHA1 Message Date
zhangkun 806457e8bc feat: Adapt to TreeLand's Titlebar protocol
Resolve the issues of DTK application crashing and dual title bar in treeland.

Log: Adapt to TreeLand's Titlebar protocol
Task: https://pms.uniontech.com/task-view-365811.html
2024-10-21 15:59:26 +08:00
Zhang Dingyuan 2dae5b2e82 chore: add extra cmake modules
as title

Log:
2024-08-29 13:25:29 +08:00
Zhang Dingyuan b2c91d0c2e chore: add build dep
as title

Log:
2024-08-29 13:25:29 +08:00
ck 9e0396c5e6 fix: debian build failed
invalid-profile-name-in-build-profiles-field nobin (in section for libdtkgui5-bin)
2024-01-04 09:46:19 +08:00
ck eef2f42fea chore: find qhelpgenerator from property
depends qttools5-dev or qt6-tools-dev
add Build-Profiles to ignore package build
(dpkg-buildpackage --build-profiles=nodoc)
2023-09-22 11:36:32 +08:00
ck b211db014e chore: add DtkBuildHelper depends
dtkcommon-dev >= 5.6.16
2023-08-21 14:08:54 +08:00
ck dcede1f96d chore: Adapt Qt6 && Dtk6 compilation
Since xdgiconloader is not adapted to Qt6, libxdg is disabled by default when compiling Dtk6
Do not install dconfig file in dtkgui to avoid conficts with dtk6gui
C++ 17 by default
DVERSION ==> DTK_VERSION
cmake_minimum_required 3.13
tools install to CMAKE_INSTALL_LIBEXECDIR
2023-06-19 13:13:09 +08:00
zccrs 66ab7451f2 feat: Support animation for DDciIcon
See also https://github.com/linuxdeepin/deepin-specifications/pull/1,
This implementation complies with the specification by DSG on animation
dci's icons.

New class: DDciIconImage DDciIconImagePlayer DDciIconPlayer
2023-02-14 13:17:17 +08:00
renbin 5ca5df6ccf feat: Support RAW image formats.
1. Dynamically load libraw.so to support RAW image fomats.
2. Improve some implementations, Update unit cases and docs.
3. Move image-handler from folder example to tool.

Log: Support RAW image formats.
Influence: Add build dependency libraw-dev.
2023-02-02 02:33:30 +00:00
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 2600e5ea59 feat: Add the DImagehandler class.
Add the DImagehandler class, provide functions such as reading image,
rotating image, getting image metadata. DImagehandler dynamically load
libfreeimage to support extended image formats.

Log: Add the DImagehandler class.
Influence: Add build dependency libfreeimage-dev.
2022-12-12 06:16:33 +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
Chen Bin e9c615b5dc feat: Add the webp plugin dependence
DCI icons need the support of webp plugin when parsing
some icons, otherwise the images will not be displayed
normally.

Log:
Influence: Dtkgui dependence
Change-Id: I9c4a780dc23fdf2e96c9e23e6580b4efd56f695b
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
Chen Bin 2161407cbc feat: 添加gtest单元测试
1.增加部分文件的单元测试文件
2.提高单元测试覆盖率到70以上

Log: 新增dtkgui单元测试
Change-Id: Icd8e3702ece36f6af565e2b9453015218da35953
2021-03-24 15:39:22 +08:00
ck 307f0e94ff fix: 完善dtkgui依赖dtkcommon
libdtdtkgui5依赖libdtkcommon, 因为filedrag的dbus配置文件移动到dtkcommon中

Log: 新增dtkcommon依赖
Change-Id: Ib5bc516a932b3883b624cb1bc02243b7959aeb9c
2021-03-03 10:11:59 +08:00
ck 7925668a88 fix: 添加dtkcommon的依赖
gui添加dtkcommon依赖

Log: 修复gerrit打包失败,添加dtkcommon依赖
Change-Id: I4f866862f67697995446f54d6a269bdf07b3d22e
2021-02-25 13:27:14 +08:00
chengyulong 13a42f4a9a feat: 添加GTest测试单元
添加DRegionMonitor、DForeignWindow测试case

Log: 添加GTest测试
Change-Id: I46a680bb1baaec3616c238c0fac7797bdd1daecc
2021-01-18 14:48:44 +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 ea029575d8 hasComposite default value to true on non-x11 platform 2020-02-21 14:31:38 +08:00
zccrs 773b21d8d2 feat: add DRegionMonitor DSvgRenderer DThumbnailProvider
move from dtkwidget
2019-11-30 16:51:43 +08:00
zccrs c97868c5cf refactor: update the package version to 5.0.0 2019-09-03 09:01:34 +08:00
zccrs 31c859a0f6 feat: add debian package 2019-07-29 17:30:57 +08:00