Commit Graph

207 Commits

Author SHA1 Message Date
chenhongtao cf02413fc9 chore: update changelog
Log: update to 5.6.6
2023-02-13 16:15:48 +08:00
ck 818a7f5541 chore: update changelog
update changelog
Log: update changelog
Influence: none

Change-Id: Ic7059641a79d7e6970c556e8882d3293b733ea62
2023-02-02 16:02:00 +08:00
wangyixue d6b55d4121 refactor(cmake): improve cmake and add new feature
* remove redundant "dtkwidget" in include directory;
 * improve cmake, modify some variable names, use file() to collect
 source files for scalability;
 * add full target_link_libraries support.

Log: add full target_link_libraries support
Influence: all projects who include headers directly by path
2023-01-18 11:22:46 +08:00
ck 116aab61ea chore: update changelog
update changelog

Log: update changelog
Influence: none
Change-Id: I5c21fd35617b305dcaf508895175e01ef5621f3c
2023-01-16 10:14:50 +08:00
ck 2cc522ffb8 chore: update changelog
update changelog

Log: update changelog
Influence: none
Change-Id: I09b426137a57ebb94a23f31d8a1b67973cf42c7d
2022-12-12 17:50:18 +08:00
ck a0483c9fb3 chore: update changelog
5.6.2.2

Log: none
Influence: none
2022-11-30 12:13:19 +08:00
chenhongtao 849dad5b1c chore(optionname): change optionname to better one
change the option name

now can use cmake command "ctest" to run tests

Log: change option name and etc
2022-09-02 06:06:00 +00:00
chenhongtao 656e293fad feat(doc): add package libdtkwidget-doc
build the package for doc

Log: build the package of doc for dtkwidget
2022-08-29 05:26:42 +00:00
chenhongtao f80f48076e feat(cmake): to cmake
from qmake to cmake

Log: tocmake
2022-08-19 17:18:33 +08:00
ck c9f7ac46b7 fix(build): invalid digit "8" in octal constant
when BUILD_VERSION start with 0 was recognized as octal

Log:
Influence: debian build
Change-Id: Iad52d8f5622bf9035132242c0fb578e6e8d16992
2022-08-18 13:13:05 +08:00
Stallman Wang d563343e45
fix: build failed when the .git folder exist (#136) 2022-07-27 11:46:15 +08:00
ck c41fdded54 chore: update changelog
update changelog

Log: update changelog
Influence: none
Change-Id: Icc274d75ceddc5bc93f7abb82fce8c320676ee98
2022-07-19 10:56:30 +08:00
ck a0f310f32c chore: update changelog
update changelog

Log: update changelog
Influence: none
Change-Id: I34dc0a957e93e33fbc03819e6ed0e0dcc9f6b6d1
2022-07-19 10:56:30 +08:00
wang fei 9e65390e76 chore: 更新changelog
develop/snipe 分支更新changelog 到 5.6.0.1

Log:
Influence: changelog
Change-Id: Ie5893e610e0584bd56e1f5695f5c10248ad37cfb
2022-07-19 10:56:30 +08:00
wang fei 1bca99b5db chore: 更新changelog
develop/snipe 分支更新changelog 到 5.5.42.1

Log:
Influence: changelog
Change-Id: I1e564861b4c7a2e72d3b2b258bd80b4b6c69aeb9
2022-07-19 10:56:30 +08:00
Gary Wang 26509c3480 chore: build doxygen documentation
追加基于 doxygen 的文档构建

Log:
2022-07-08 05:03:33 +00:00
Wang Penga e5bebed8d4 feat: 添加 DPasswordEdit 的复制剪切控制接口
添加copy、cut的接口以打开或关闭lineedit的复制剪切功能。
默认passwordedit不禁用复制剪切,需要应用自行调用。

Log:
Task: https://pms.uniontech.com/zentao/task-view-86148.html
Change-Id: I88512e8bb584d018e7a79f8a94e7807d8061cc9a
2021-10-12 12:28:52 +08:00
Chen Bin 6f74c6e92f chore: 废弃类预处理宏增加项目名称
对用于防止重复包含的预处理宏增加项目名称的唯一性
标识,多项目同时编译是会出现某一项目文件无法参与
编译的情况。由于有命名空间作为不同类作用域的限定
,因此删除预处理宏不会对作用域产生影响。

Log:
Change-Id: I6dabbbf8f5434ebcc5499a96f34d0b2f083d1470
2021-08-24 13:20:17 +08:00
ck 1b2cdb2175 feat: 添加 libqt5widget5 版本限制
新增libqt5widget5的版本限制,防止应用出现符号缺失的报错 (QListView的触屏接口)

Log:
Change-Id: I84ea43cbac6027e78f02aba3df7b53314feaad27
2021-08-13 13:52:20 +08:00
Chen Bin 8c08c3aaa5 feat: 新增自动化名称检测类
新增对自动化名称检测的类,目前该类实现对控件
的AccessibleName和ViewItem的AccessibleText进
行检测。
不存在名称程序将退出,并提示具体位置。

Log:
Change-Id: I5813a0a5389201d37a8ffede76895d394691f5a1
2021-08-05 11:29:11 +08:00
wangpenga 5f5ff85a8d feat: 使用 designer 插件方式创建 ui 布局
添加插件代码使 dtk 的ui控件在 qt designer 里面能够被拖拽布局。
编译出来的插件要安装到 /usr/lib/x86_64-linux-gnu/qt5/plugins/designer 目录下。

Log:
Change-Id: I13264255de86943d821db3436f049bc7b7aa1ea5
2021-07-09 15:25:59 +08:00
Chen Bin 10c78c5761 feat: dtkwidget支持一包多依赖
1.使用dtkcommon的qmake配置函数,使dtkwidget能够同时支持
5和5.5等多个版本。
2. 修改control中的依赖文件,master上只依赖5的版本。

Log:
Change-Id: I63b3d3dbc4373c87af495b49696b96a297424ddc
2021-06-29 18:41:04 +08:00
chenbin b736f66962 Merge "feat: Merge branch 'maintain/5.5' into master" 2021-06-29 15:38:27 +08:00
wangpeng f50d6bb999 fix(Dialog): 使该类中输入控件不受虚拟键盘遮挡
对DDialog DsettingsDialog控件添加不受虚拟键盘遮挡.

Log:
Bug: https://pms.uniontech.com/zentao/bug-view-80052.html
Change-Id: I983e950305bea304ccc45e60b161e1b8879e281d
2021-06-29 11:18:19 +08:00
Chen Bin 65484b7b20 feat: Merge branch 'maintain/5.5' into master
合并maintain/5.5分支到master分支

Log:
Change-Id: Id143dce697599e5581c9c74e561776c1705d1ead
2021-06-28 17:29:35 +08:00
wangpeng 9e6c75518f fix: 去除api.json中的冲突代码
去除api.json中的冲突代码

Log:
Change-Id: If3357e69d3509d80684a7db9cdab9e88cd3175f9
2021-06-24 16:48:50 +08:00
wangpeng f00010ce02 fix: 去除api.json中的冲突代码
去除api.json中的冲突代码

Log:
Change-Id: Ibd9d4ab4f5d76e8554168c74a5d33b3067d135b1
2021-06-24 13:16:22 +08:00
wangfei f3eb0a1a22 fix: buttonbox的按钮之间有分割线
将buttonbox中按钮border的颜色设置为透明

Log:
Bug: https://pms.uniontech.com/zentao/bug-view-84144.html
Change-Id: Ic3211ca4d1a15a3023d3d97a51afc78952c981b2
(cherry picked from commit f1047ae456)
2021-06-23 16:02:49 +08:00
wangfei d2f7283325 fix: buttonbox的按钮之间有分割线
将buttonbox中按钮border的颜色设置为透明

Log:
Bug: https://pms.uniontech.com/zentao/bug-view-84144.html
Change-Id: Ic3211ca4d1a15a3023d3d97a51afc78952c981b2
(cherry picked from commit f1047ae456)
2021-06-23 16:02:34 +08:00
wangpenga 8fb7b54555 chore: update abi json file
按照新的规则要求更新abi文件。

Log:
Change-Id: Ib75ac668d845ba572deef886ae808e285e759b24
2021-06-22 16:55:30 +08:00
wangpenga fff1817d77 feat: install dtkwidget example application.
把 dtkwidget 的示例程序打包安装到指定路径。

Log:
Change-Id: I20061429633f61ae7c363b5b7407f812778d8a12
(cherry picked from commit 4ebefc9151)
2021-06-21 17:49:43 +08:00
wangpenga 4ebefc9151 feat: install dtkwidget example application.
把 dtkwidget 的示例程序打包安装到指定路径。

Log:
Change-Id: I20061429633f61ae7c363b5b7407f812778d8a12
2021-06-21 14:25:14 +08:00
wangpenga 5ddf19d1db feat: Add API to solve the shortcut problem
添加接口处理快捷键被拦截的问题
添加用户自定义处理接口:
    handleHelpAction
    handleAboutAction
    handleQuitAction

Log:
Change-Id: I194d4a6ca8b93dd000ed34ac32e99bd4cf5d3953
2021-06-09 13:25:14 +08:00
wangpenga b6e01ec19c fix: eliminate cppchecked errors/warnings
消除cppcheck测试的错误、警告

Log:
Change-Id: I66c82ea542fa5aa3d862c68150d3d3ef167a4d76
(cherry picked from commit 31e921dd81)
2021-05-31 16:49:23 +08:00
wangpenga 31e921dd81 fix: Unit test error eliminate
消除单元测试的错误、警告

Log: 
Change-Id: I66c82ea542fa5aa3d862c68150d3d3ef167a4d76
2021-05-31 13:32:13 +08:00
ck 2ab80273b0 fix: set target dtkwidget5.5
编译生成名和例子依赖改成dtkwidget5.5

Log:
Change-Id: I7d65ded1ca75261256ed97380bc6183bf0185a3a
2021-04-28 14:26:15 +08:00
AlexOne 82bbc6fb20 fix: Compiler warning due to missing keyword "override"
missing keyword "override"

Log:
Issue: https://github.com/linuxdeepin/dtkwidget/issues/71
Change-Id: I3edf76890126bb81977d03f2600670a230f7f367
2021-04-16 17:08:30 +08:00
wangpeng f91e7ccad0 fix: 修复dbackgroundgroup子控件设置背景色无效
dbackgroundgroup控件内设置了setBackgroundRole()函数,
此函数会将dbackgroundgroup的调色板传递给所有子控件.

Log:
Change-Id: Idc4e68fd846e2c1be9f68503bef35502fbaf724b
2021-04-07 17:44:55 +08:00
刘阳 22055f0efe chore: master分支依赖5.5版本
因为widget依赖core和gui的一些新功能在maintain/5.5分支,需要master分支保持和5.5分支的兼容,如果以后dtk有了5.6分支,同样需要和5.6保持兼容,依次类推。

Log:
Change-Id: I8759390077cb722954463d18a3fd7ddc6550ef15
2021-03-19 11:48:53 +08:00
ck ad8fa62b06 feat: build with dtkwidget5.5
dtkwidget5.5相关文件修改,改包名版本为5.5(libdtkwidget5.5/lidtkwidget5.5-dev/libdtkwidget5.5-bin)

Log: 修改生成包名
Change-Id: Ib6300d2217c58a9a4a0bebd34424297cf00b6ecb
2021-03-09 17:58:17 +08:00
chenbin 6cb767f408 feat: DMPRISControl增加属性CanShowInUI对全局播放的控制
部分应用在某些情况下需要防止DMPRISControl对其功能的控制,添加一个dbus属性
使应用能够通过此属性判断是否需要全局控制应用播放等功能。

Log: DMPRISControl添加忽略全局控制的属性
Change-Id: I72b351c2d2d48c47c923766b01e475bb997d37d9
2021-03-09 16:03:39 +08:00
niezixuan 65bedd0312 feat: DIconButton添加小红点
实现当有新版本或有新信息时,在DIconButton上按图标大小50x50时,小红点大小6x6,距离右边和上面8个像素的比例添加小红点的功能

Log: 在DIconButton右上角添加小红点
Task: https://pms.uniontech.com/zentao/task-view-53850.html
Change-Id: Ic7fb9f4fb52feecb494992add36e616ee1c84f0e
2021-03-09 15:50:42 +08:00
niezixuan 99f403a9a1 feat: 为DToolButton添加设置对齐方式的接口
通过setAlignment接口将DToolButton的对齐方式设置为左对齐、居中或右对齐,默认为左对齐
增加alignment接口,如果setAlignment设置成功则返回当前对齐方式,否则返回Qt::AlignLeft

Log: DToolButton添加设置对齐方式的接口
Bug: https://pms.uniontech.com/zentao/bug-view-58410.html
Change-Id: I670f4e6d3d44fe3d2f893e39e26117d40ee52a14
2021-03-09 15:21:13 +08:00
sunkang 9d956a0a64 feat: 新增对DTitleBar和DMainWindow的平板模式处理
平板模式下,DMainWindow没有最大,最小,关闭按钮

Log: 平板模式下主窗口显示"更多"按钮,去掉最大,最小,以及关闭按钮
Task: https://pms.uniontech.com/zentao/story-view-7782.html

Change-Id: I450e98e88f228e292f20d6d20f0c5fb66f87dbee
2021-03-09 14:40:06 +08:00
pengwenhao ecb18f71f6 add: set window wallpaper interface
添加设置窗口壁纸接口
log: 添加设置窗口壁纸接口

Change-Id: Ie4bcb8fd857c295f797a73752462d8e5ac2df107
Signed-off-by: pengwenhao <pengwenhao@uniontech.com>
2021-03-09 13:46:15 +08:00
zccrs c69cf239df feat: 在DApplication中增加适配虚拟键盘的接口
1. 更改DStyle的策略,开启在点击输入框后就主动调起虚拟键盘的策略
2. 修复DMainWindow在自适应虚拟键盘时标题栏的阴影控件位置错误
3. 为DMainWindow默认开启对虚拟键盘的支持
4. 在DApplication中增加几个用于为窗口自动适配虚拟键盘区域的接口

Log: DTK程序支持自动调起虚拟键盘、输入控件自适应虚拟键盘的区域
Change-Id: I9aeb2b03db2959960932203277b7c9c6094ba0df
2021-03-09 13:03:56 +08:00
sunkang 115aeb028f fix: DApplicationHelper已经废弃,使用DPaletteHelper替换DApplicationHelper类
1.在代码中使用DPaletteHelper类替换了DApplicationHelper类
2.修复响应系统字体改变信号无效的问题

Log:

Change-Id: Ibb80718a57baba388f7122c41e984f7fcc63e872
2021-03-09 12:11:20 +08:00
sunkang 48d669cdbf feat: 新增DPaletteHelper类, 用于代替DApplicationHelper
1.实现上DPaletteHelper和DApplicationHelper的接口保持了一致,
基类改为了QObject
2.优化实现 init_createHelper 函数

Log:

Change-Id: Ib7864a991f311fc7341775f89da9b40f94bee759
2021-03-09 10:00:16 +08:00
sunkang 91886f836c feat: 适配dtkwidget的多版本共存
1. 添加libdtkcommon安装包依赖,适配dtkwidget的多版本共存

Log:

Change-Id: Ia1436cb6a3f9e5a837a45d9b02e41daa0fb11ded
(cherry picked from commit 8b0b405e21d34cc3107a5610b0c261c7053bd4dc)
2021-03-02 11:17:20 +08:00
chenbin 88f33c9a80 feat: DMPRISControl增加属性CanShowInUI对全局播放的控制
部分应用在某些情况下需要防止DMPRISControl对其功能的控制,添加一个dbus属性
使应用能够通过此属性判断是否需要全局控制应用播放等功能。

Log: DMPRISControl添加忽略全局控制的属性
Change-Id: I72b351c2d2d48c47c923766b01e475bb997d37d9
2021-02-23 09:39:58 +08:00