wangyixue
6588a86d71
chore: update changelog
...
Release 5.6.12.
2023-06-25 16:38:19 +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
ck
dd10f593b7
chore: bump version to 5.6.11
...
update changelog
2023-05-08 15:07:16 +08:00
ck
5327c027c3
chore: update to 5.6.10
...
Log: update changelog
2023-04-17 17:27:00 +08:00
ck
99e450c1cd
chore: update to 5.6.9
...
Log: update changelog
2023-04-03 10:28:08 +08:00
ck
a3677d4bbf
chore: install meta file
...
1. move `dconfig_meta_files` to src/CMakeLists.txt
2. add to debian install files
2023-04-03 10:07:03 +08:00
wangyixue
419e11629b
chore: update changelog
...
Bump version to 5.6.8.
2023-02-22 15:44:58 +08:00
wangyixue
cca33d94c8
chore: update changelog
...
Release 5.6.6.
Log: update changelog
2023-02-21 11:58:30 +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
ck
78cb5939ea
chore: update changelog
...
update changelog
Log: update changelog
Influence: none
Change-Id: I67b88d621e4bda0dad68519f04e90e5e362ea6c9
2023-02-02 16:04:51 +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
ck
6a8bbff79e
chore: update changelog
...
update changelog
Log: update changelog
Influence: none
Change-Id: Ib5b8e6af0bde8751ab75d179af18021ea8b3d144
2023-01-10 10:29:46 +08: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
ck
edd51cbd8a
chore: update changelog
...
update changelog
Log: update changelog
Influence: none
Change-Id: I98f818c3f64b509dce012024da2a7f98400e2a2b
2022-12-12 17:49:34 +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
ck
b1a1654f69
chore: update changelog
...
5.6.2.2
Log: none
Influence: none
2022-11-30 11:54:26 +08: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
ck
d1188cf35b
fix(build): invalid digit "8" in octal constant
...
when BUILD_VERSION start with 0 was recognized as octal
Log:
Influence: debian build
Change-Id: Ic71784120cacd66f763a72f38937fc0d99fb0454
2022-08-18 13:13:56 +08: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
Wang Zichong
c58b078b79
chore: build doxygen documentation
...
追加基于 doxygen 的文档构建
Log:
2022-08-09 07:58:58 +00:00
Cloud
20fd72d9d3
fix: build failed when the .git folder exist
...
build failed when the .git folder exist
Log: fix build failed when the .git folder exist
2022-07-25 08:58:53 +00:00
ck
a479eaa5a8
chore: update changelog
...
update changelog
Log: update changelog
Influence: none
Change-Id: Iefda76009421210bfb0132576e973757407fafd4
2022-07-19 10:22:35 +08:00
ck
4976a77764
chore: update changelog
...
update changelog
Log: update changelog
Influence: none
Change-Id: I6ba374db79ab7e5448317008cf97f26c5ba23b29
2022-07-19 10:22:35 +08:00
ck
3cba7f1fce
chore: update changelog version
...
update verion to 5.6.1
Log: none
Influence: none
Change-Id: I39e316f1e556d2fe67fc68bce5bcf2a303f25cbd
2022-07-19 10:22:35 +08:00
wang fei
0f52bb9546
chore: 更新changelog
...
develop/snipe 分支更新changelog 到 5.6.0.1
Log:
Influence: changelog
Change-Id: I4da222f8d3b65b85acb3d507acff51c219453aa1
2022-07-19 10:22:35 +08:00
ck
7eefcfe8ae
fix(build): can't build with source format '3.0 (quilt)'
...
debian: switch packaging format from "quilt" to "native"
Log:
Influence: build
Change-Id: I2fdda4245fcc0e467b9d815c846d791791950b3f
2022-07-19 10:22:35 +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
2b30030af2
feat: 根据DCI标准添加DDciIcon类
...
DDciIcon 类为 Dci 文件和 Dci 图标资源提供了一个
严格标准的图标实例。通过将标准的 DCI 图标文件或图标
数据解析成可添加到 Dtk 控件中的图标资源。通常的这类
标准的图标资源都包含{ 深浅主题、图标状态、以及不同类
型 }。该类将根据当前需要的状态,将对应的图标展现出来。
DDciIcon 所需要的原始数据文件最少需要一个 Normal
状态下的图标资源,否则此 Icon 将被视为是空图标。对于
有不同状态的图标资源,DDciIcon 在绘制时会优选选择使
用其自带的内容,但对于目标状态和图标状态不同的图标资源,
其绘制会根据画笔的前景色进行统一处理。
针对图标种类,DDciIcon 存储一个当前图标的变量,如果在
绘制时未指定目标图标种类,则会获取默认的当前图标种类变量
进行绘制,默认的当前图标种类为 TextType,不同的图标种
类其绘制方式也不一样,种类包含{ TextType、ActionType、
IconType }。详细描述请查阅DTK相关文档。
Log:
Influence: 无
Change-Id: Ia85d64e0885674d8b8ff8c17587f3781ac54d6b2
(cherry picked from commit 62f7b1d290841372a6dbe6e03a034bec093febb6)
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
Wang Penga
8350799750
feat: 添加获取特效开关的接口
...
专有设备性能优化,需要获取环境变量判断当前是否开启了特效。
Log:
Change-Id: I674091c0580edeb5600cdc27ac0c40d3c76908b8
2021-10-15 15:33:16 +08:00
wangpenga
b1c55d7fa4
chore: update abi json file
...
按照新的规则要求更新abi文件。
Log:
Change-Id: Ia7c771466a66b445aa7bf5b64f75a57e2973902d
2021-06-22 17:03:36 +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
sunkang
63f1ce54b4
fix: 适配dtkgui多版本共存的处理
...
1. 删除src/dbus/com.deepin.dtk.FileDrag.conf 文件,此文件转移到libdtkcommon中
Log:
Change-Id: I9346141589524a209f31e8b195dfe0721778d23e
(cherry picked from commit 2a11ae19920829a411e4faabec8cbc56e50b654b)
2021-03-01 19:08:19 +08:00
ck
7925668a88
fix: 添加dtkcommon的依赖
...
gui添加dtkcommon依赖
Log: 修复gerrit打包失败,添加dtkcommon依赖
Change-Id: I4f866862f67697995446f54d6a269bdf07b3d22e
2021-02-25 13:27:14 +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
zccrs
d2ff5d299c
fix: 取消废弃paletteType
...
补充paletteType属性的定义,将其与themeType的含义分开,跟
最初设计的一样,paletteType仅和setPaletteType设置过的值
有关,在上次重构代码的基础上只废弃setThemeType接口。
上次重构的提交:2d18a7955d9540e2b8cd735cb3ef962f495cbb3f
Log:
Change-Id: I0df74f1f1654870e49a715dea496f5013dea67a7
2021-01-25 15:14:52 +08:00
chengyulong
13a42f4a9a
feat: 添加GTest测试单元
...
添加DRegionMonitor、DForeignWindow测试case
Log: 添加GTest测试
Change-Id: I46a680bb1baaec3616c238c0fac7797bdd1daecc
2021-01-18 14:48:44 +08:00
zccrs
43075064f8
refactor: 使DGuiApplication跟随QGuiApplication对象销毁
...
DGuiApplication中有大量的内容与QGuiApplication绑定, 因此
需要在QGuiApplication销毁时清理当前的实例, 以便当一个新的
QGuiApplication被创建时可以正常使用DGuiApplication. 主要
是为了支持在程序运行期间销毁并重新创建QGuiApplication对象
的场景, 如在deepin-turbo的booster中会预先创建一个
QGuiApplication对象(主要是预加载数据), 之后可能会删除这个
对象, 当booster开始加载一个程序时, 在程序的代码中会再次创建
QGuiApplication对象.
另外修复在非dxcb插件环境下使用DGuiApplicationHelper::applicationTheme
时可能会陷入死循环.
Log:
Change-Id: I169235cae8fd802805de6757f4e2668e65f7dfc9
2021-01-14 17:22:21 +08:00
zccrs
357df725cb
refactor: 重构DFontManager类
...
不再提instance方法获取单例对象, 程序级别的DFontManager
转移到DGuiApplicationHelper中提供.
重构DFontManager类, 删除一些无用信号, 提供直接指定baseFont
的属性.
Log:
Change-Id: I7591acbb0b1223ae1ad4b0b8d7e0c4bbeb3b4035
2021-01-11 17:17:02 +08:00
zccrs
2d18a7955d
refactor: 整理DTK程序调色板相关的代码逻辑
...
简化程序自定义调色板与DPlatformTheme的关系, 当使用
setApplicationPalette或setThemeType自定义调色板之后,
将不再考虑DPlatformTheme中设置的themeName等属性.
废弃了paletteType属性, 避免在使用上跟themeType
产生误解.
废弃了窗口级别的DPlatformTheme相关接口, 只允许使用
sytemTheme获取系统级别的平台主题信息, 另外将applicationTheme
等价于systemTheme, 程序和窗口级别主题设置不再允许通过
DPlatformTheme从外部获取, 在实际需求中, 在程序内部
按需实现自定义即可.
Log:
Change-Id: Ideea8673bb3bdec44a8978c9f4556a971c4723b5
2021-01-04 13:26:45 +08:00
zccrs
a4faf581f3
feat: add Q_GADGET for DPalette
...
允许在Qt元对象系统中使用DPalette, 同QPalette可用于qml中.
Log:
Change-Id: I10ca98b98800336d0584420ceb461ac197f84b97
2021-01-04 13:15:09 +08:00
sunkang
550a8c58ea
fix: 修复example生成的临时desktop文件没有删除导致的启动器显示问题
...
修复example生成的临时desktop文件没有删除导致的启动器显示问题
Log:
Change-Id: Iae77bed7fa3ab15ddfb76a95318e11e527d0ea7e
2020-12-30 13:51:48 +08:00
sunkang
8389d05326
feat: 新增一个函数用于判断当前桌面环境是否是平板电脑
...
添加一个函数用于判断当前桌面是否是平板电脑的环境
Log:
Change-Id: Icb8d76f12d5f0df3146a33a9dbd91b384049af46
2020-12-29 17:51:30 +08:00
zccrs
6f0a551492
feat: 支持设置wm class name
...
用于在窗口创建之前设置WM_CLASS属性,只适用于x11平台
Log:
Change-Id: I19b978ef811ec00cce0791811a7a41b5eb1bded9
2020-12-25 16:10:23 +08:00
sunkang
f18578db58
fix: 修复fontGenericPixelSize属性在QML中使用类型不能识别和字体属性变化信号没有发射的问题
...
1. fontGenericPixelSize属性使用的quint16在qml中赋值出现不能识别的问题,这里统一修改为int类型
2. 修复系统字体大小变化后没有发射字体变化信号的问题
Log:
Change-Id: I8e7298f9f820d973ec8f03eb495beb67ae72a30d
2020-12-24 16:59:27 +08:00
pengwenhao
a0e0513540
feat: add interface for set wallpaper effect parameters
...
添加对于kwin壁纸特效参数设置接口
log: 添加对于kwin壁纸特效参数设置接口
Change-Id: I26e4191d0922dbf07919a1922ca0ce864322cc4f
2020-12-23 09:47:11 +08:00
sunkang
a9423da236
feat: 新增DFontManager类,用于字体的管理
...
新增DFontManager类用于字体的管理,方便字体的设置和获取
Log:
Change-Id: I97f70b8837196a89c7bfb95ac87d37d6682ae549
2020-12-22 17:24:03 +08:00
sunkang
47b80d5a1d
fix: registerInstanceCreator函数标记为废弃
...
因为DApplicationHelper继承 DGuiApplicationHelper的缘故,所以需要registerInstanceCreator
函数初始化 DGuiApplicationHelper类,用于实现单例模式,现在DApplicationHelper标记为废弃(推荐使用
DPaletteHelper类), 相应的这个函数标记为废弃
Log:
Change-Id: I401eb4cadc6abd008b90a109cf2bc20203ee57fa
2020-12-22 09:35:55 +08:00
zccrs
910230573b
feat: add DWindowManagerHelper::setWmWindowTypes
...
提供更丰富的接口用于为窗口设置WM提供的窗口类型
x11平台下的窗口类型来源: https://specifications.freedesktop.org/wm-spec/1.3/ar01s05.html
Log:
Change-Id: I843564394526a8c1041826174f84e98fae9c1ea0
2020-12-21 20:15:30 +08:00
chengyulong
16d8bf2dee
fix: 修改DRegionMonitorPrivate的CursorEnter和CursorLeave错误的问题
...
修改DRegionMonitorPrivate的信号CursorEnter和CursorLeave与dbus相同。
Log: 修改DRegionMonitorPrivate的CursorEnter和CursorLeave错误的问题
Change-Id: Ib5c6d9301e96c431e73c51ce46d48b8f621bddc7
2020-12-07 11:16:53 +08:00
chengyulong
c244347686
fix: DRegionMonitor优化,增加设置监听鼠标移动、鼠标按键、键盘按键事件的接口
...
DRegionMonitor因为需要调用dbus,监听鼠标移动影响性能,新增设置监听鼠标移动、鼠标按键、键盘按键的接口。增加cursorEnter、cursorLeave信号。监听全屏区域时调用RegisterArea。增加WatchedFlags的鼠标中键、上下滚动flag
Log: DRegionMonitor优化,增加设置监听鼠标移动、鼠标按键、键盘按键事件的接口
Task: https://pms.uniontech.com/zentao/task-view-45197.html
Change-Id: Id2df84097d3e7e39df37176e23fbf4383612d24d
2020-11-27 13:57:29 +08:00
ck
a238a9466a
feat: 重载dh_makeshlibs
...
安装时依赖dtk的版本号要不小于构建时的版本,需要系统部改脚本支持
Log: 修改打包规则
Change-Id: I7b6ce39ab64270072f05e8360c0ca6ebf7727ca6
2020-11-23 13:12:47 +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
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
ck
8219b171f3
fix: 加入symbols文件后有的架构打包失败
...
文件名改为 symbols.amd64 只在amd64 平台检查abi兼容
Log: 修复加入symbols文件后有的平台打包失败
2020-07-02 18:53:48 +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
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
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
Chris Xiong
6286dceb20
feat: add classes for advanced inter-process drag and drop support.
2019-09-24 14:29:02 +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