Commit Graph

193 Commits

Author SHA1 Message Date
sunkang 582a2db24c feat: 添加Button的使用例子
添加了DPushButton,DWarningButton,DSuggestButton的使用例子

Log: 添加Button的使用例子,简单展示用法

Change-Id: I9b6de9fc40bd1fa06155f7b112d6fd8502b7cb15
Reviewed-on: http://gerrit.uniontech.com/c/dtkwidget/+/3416
Reviewed-by: <mailman@uniontech.com>
Reviewed-by: zhangjide <zhangjide@uniontech.com>
Tested-by: <mailman@uniontech.com>
2020-09-03 09:59:34 +08:00
sunkang 62ec5e0d7f refactor: 重构example代码
重构example的代码,采用两级菜单实现,并整理相关代码

Log: 重构example代码,使dtk的控件展示更清晰

Change-Id: Ib5a98936446f284f820533528bfe8d33611f4217
Reviewed-on: http://gerrit.uniontech.com/c/dtkwidget/+/3273
Reviewed-by: <mailman@uniontech.com>
Reviewed-by: chenke <chenke@uniontech.com>
Tested-by: <mailman@uniontech.com>
2020-09-02 15:38:24 +08:00
chengyulong_cm 8ef32c3a9e fix: 修改预览页面和页码显示错误的问题
修改翻页、改变纸张\页边距\打印方向后预览页面和页码显示错误的问题。

Log: 修改预览页面和页码显示错误的问题
Bug: https://pms.uniontech.com/zentao/bug-view-45306.html
     https://pms.uniontech.com/zentao/bug-view-45310.html
     https://pms.uniontech.com/zentao/bug-view-45312.html
Change-Id: Ic89bacf3a8d571a839fa64bbaaf746b8103315e9
Reviewed-on: http://gerrit.uniontech.com/c/dtkwidget/+/3113
Reviewed-by: <mailman@uniontech.com>
Reviewed-by: chenke <chenke@uniontech.com>
Tested-by: <mailman@uniontech.com>
2020-09-02 09:31:32 +08:00
linxun e5cb5e6c9d fix: 修改打印自定义页码不合法无警示信息的问题
增加对自定义页码的判断,对不合法的页码增加警示提示

Log: 修改打印自定义页码不合法无警示信息的问题

Bug: https://pms.uniontech.com/zentao/bug-view-45316.html
Change-Id: Ib0d32a84ad22c1c575f1d13ca1a92ffcd6b7314e
Reviewed-on: http://gerrit.uniontech.com/c/dtkwidget/+/3063
Reviewed-by: <mailman@uniontech.com>
Reviewed-by: kongyunzhen <kongyunzhen@uniontech.com>
Reviewed-by: lvpeilong <lvpeilong@uniontech.com>
Tested-by: <mailman@uniontech.com>
2020-09-01 18:01:03 +08:00
kongyunzhen ccaf1a6a6a fix: 修复DDialog在未设置defaultbutton时内部包含的其它控件也不响应enter和return事件
移除窗口action,从pressevent中捕获enter和return事件进行处理

Log: 修复DDialog在未设置defaultbutton时内部包含的其它控件也不响应enter和return事件

Change-Id: Ice929c7977fb4ce16070d693238a4ae6ad26bc10
Reviewed-on: http://gerrit.uniontech.com/c/dtkwidget/+/2592
Reviewed-by: <mailman@uniontech.com>
Reviewed-by: zhangjide <zhangjide@uniontech.com>
Tested-by: <mailman@uniontech.com>
2020-08-31 14:59:39 +08:00
zhangkai 1f6c994b19 chore: 打印预览模块代码规范性清理
清理qDebug打印代码、测试代码、空格、不必要注释以及二期ui开发代码,头文件引用规范性调整、代码段新增空格

Log: 打印预览模块代码清理
Change-Id: I0a0d6cf7b82c4a607cd3f23f72c8dba5b80c9278
Reviewed-on: http://gerrit.uniontech.com/c/dtkwidget/+/2873
Reviewed-by: <mailman@uniontech.com>
Reviewed-by: chenke <chenke@uniontech.com>
Tested-by: <mailman@uniontech.com>
2020-08-29 13:24:12 +08:00
zhangkai f43b2a9ed3 fix: 切换主题,背景色设置及去除界面边框问题
根据当前主题,设置对应颜色,设置边框宽度为0

Log: 切换主题,背景色设置及去除边框设置
Change-Id: I0e74a2ef14a05ff713ef5015609e94a56dd6f1e9
Reviewed-on: http://gerrit.uniontech.com/c/dtkwidget/+/2849
Reviewed-by: <mailman@uniontech.com>
Reviewed-by: kongyunzhen <kongyunzhen@uniontech.com>
Reviewed-by: lvpeilong <lvpeilong@uniontech.com>
Tested-by: <mailman@uniontech.com>
2020-08-28 18:06:03 +08:00
linxun 1c52e998bf fix: 修复自定义边距某一个数值为0时,其他数据失效的问题
获取打印机和纸张的最小边距,增加判断,有一个边距小于最小值,将所有边距设为最小值

Log: 修复自定义边距某一个数值为0时,其他数据失效的问题

Bug: https://pms.uniontech.com/zentao/bug-view-44560.html
Change-Id: I887b7324df6537d0fd2c4ba5854e150cf70f92e8
Reviewed-on: http://gerrit.uniontech.com/c/dtkwidget/+/2780
Reviewed-by: <mailman@uniontech.com>
Reviewed-by: chenke <chenke@uniontech.com>
Reviewed-by: lvpeilong <lvpeilong@uniontech.com>
Tested-by: <mailman@uniontech.com>
2020-08-28 18:05:30 +08:00
chenbin a21a824ad7 fix: 自定义页边距后,增加失去焦点和Return按下预览界面页边距更改
设置自定义边距后,当spinbox失去焦点或者按下return(enter)键,调用外部
重绘预览界面页边距更改。同时避免1秒超时刷新界面和失去焦点界面的冲突。

Log: 自定义页边距spinbox增加失去焦点预览界面页边距更改
Bug: https://pms.uniontech.com/zentao/bug-view-44675.html
Change-Id: I956d0f4d136d70c8ccfe3e6f2340979ef0b01588
Reviewed-on: http://gerrit.uniontech.com/c/dtkwidget/+/2758
Reviewed-by: <mailman@uniontech.com>
Reviewed-by: chenke <chenke@uniontech.com>
Tested-by: <mailman@uniontech.com>
2020-08-28 18:05:30 +08:00
chengyulong_cm c2ce367a79 fix: 更新debian/api.json文件
更新debian/api.json文件

Log: 更新debian/api.json文件
Change-Id: Iae2e815b9ef6c36c79414c5f614567fcfb5e1fe5
Reviewed-on: http://gerrit.uniontech.com/c/dtkwidget/+/2562
Reviewed-by: <mailman@uniontech.com>
Reviewed-by: chenke <chenke@uniontech.com>
Tested-by: <mailman@uniontech.com>
2020-08-28 18:04:23 +08:00
Lvpeilong f260788b89 fix(debian): 修复control文件格式问题
修复control文件格式错误导致自动打包失败的问题

Log: 修复control文件格式问题
Change-Id: Ibc3f20f38bf49056d2cd07873d66349935bb6d40
Reviewed-on: http://gerrit.uniontech.com/c/dtkwidget/+/754
Reviewed-by: lvpeilong <lvpeilong@uniontech.com>
Reviewed-by: kongyunzhen <kongyunzhen@uniontech.com>
Reviewed-by: <mailman@uniontech.com>
Reviewed-by: chenke <chenke@uniontech.com>
Tested-by: <mailman@uniontech.com>
2020-08-28 17:48:53 +08:00
Lvpeilong 7189684b11 feat(Depends): 添加cups依赖
添加cups依赖

Log: 添加cpus编译依赖
Change-Id: Ie12efae4318ef5dc199f67f90bc255aad07f5b74
Reviewed-on: http://gerrit.uniontech.com/c/dtkwidget/+/565
Reviewed-by: lvpeilong <lvpeilong@uniontech.com>
Tested-by: hudeng <hudeng@uniontech.com>
2020-08-28 17:41:41 +08:00
sunkang 27ccb10293 feat: DIconButton添加设置圆形按钮的接口
添加了一个设置圆形button的接口,圆形button的属性与普通的DIconButton属性一致,
除了外观和focusRect是圆形

Log: 添加了一个设置圆形button的接口
Task: https://pms.uniontech.com/zentao/task-view-33616.html
Change-Id: I01b0e34112fba20bb2c337fc0558a8f6907bc9b9
Reviewed-on: http://gerrit.uniontech.com/c/dtkwidget/+/2570
Reviewed-by: <mailman@uniontech.com>
Reviewed-by: chenke <chenke@uniontech.com>
Tested-by: <mailman@uniontech.com>
2020-08-25 14:02:28 +08:00
chengyulong_cm 51f4581575 fix: 更新debian/api.json文件
更新debian/api.json文件

Log: 更新debian/api.json文件
Change-Id: I764696f603de0b6c9314c1f0f6334462cb57af2d
Reviewed-on: http://gerrit.uniontech.com/c/dtkwidget/+/2566
Reviewed-by: <mailman@uniontech.com>
Reviewed-by: chenke <chenke@uniontech.com>
Tested-by: <mailman@uniontech.com>
2020-08-21 10:50:45 +08:00
zccrs c0a388f560 refactor: remove DRegionMonitor
先前已经将DRegionMonitor类的实现移动到了dtkgui库
dtkwidget中的类已经被标记为废弃,此类引入了对
libdframeworkdbus2库的依赖,因此直接将其移除以减
轻dtkwidget对其他库的依赖

Log:

Change-Id: Ic4c426261d33a9620e10fc473df13a4418bd1d1f
Reviewed-on: http://gerrit.uniontech.com/c/dtkwidget/+/2406
Reviewed-by: <mailman@uniontech.com>
Reviewed-by: zhangjide <zhangjide@uniontech.com>
Tested-by: <mailman@uniontech.com>
2020-08-19 17:05:52 +08:00
zccrs f38157524f refactor: remove DSvgRenderer
这个类已经迁移到了dtkgui,它本身引入了其他库的依赖
为了优化使用到这个类的应用,移除这个已经废弃的类会
带来不错的收益

Change-Id: I5cf00a254f9240426582a9c6f7169793d977e635
Reviewed-on: http://gerrit.uniontech.com/c/dtkwidget/+/2140
Reviewed-by: <mailman@uniontech.com>
Reviewed-by: zhangjide <zhangjide@uniontech.com>
Tested-by: <mailman@uniontech.com>
2020-08-17 15:26:41 +08:00
ck 40307c0ccf fix: 加入symbols文件后有的架构打包失败
文件名改为 symbols.amd64 只在amd64 平台检查abi兼容

Log: 修复加入symbols文件后有的平台打包失败
2020-07-02 18:26:56 +08:00
lyym 2feb7c3bdf 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:58 +08:00
chengyulong_cm 3fcd231382 docs: Add symbols file
增加ABI兼容符号列表文件
Log: 增加ABI兼容支持
2020-06-22 10:22:54 +08:00
zhangwengeng 3d1d83f485 license: switch to LGPLv3 license 2020-04-24 16:17:37 +08:00
zccrs b16d536945 fix: build failed on amd64/i386 2019-10-26 16:19:52 +08:00
zccrs 84c417fc9c fix: the deb package install file suffix of platform on x86_64 2019-10-09 15:42:53 +08:00
zccrs f34920e7d0 fix: don't install libcms.so in not support platforms 2019-10-09 14:07:12 +08:00
zccrs f1fc95d4e8 feat: support "Automatic Speech Recognition" for DSearchEdit 2019-10-08 20:20:58 +08:00
zccrs f8e48233ff fix: add libdtkgui-dev for libdtkwidget-dev 2019-09-03 15:17:13 +08:00
zccrs 738af216ae refactor: update the package version to 5.0.0 2019-09-03 10:51:23 +08:00
zccrs eb894767a7 refactor: move same class to dtkgui 2019-08-28 16:39:55 +08:00
zccrs 3344d3361e refactor: disable library symbols check 2019-08-13 16:13:16 +08:00
zccrs 38bcd55c62 fix: remove same symbols
remove symbols of DStyleOptionButton
2019-08-02 20:34:41 +08:00
zccrs b13cabb4f1 fix: check symbols failed on build package 2019-08-02 20:16:40 +08:00
zccrs edf1741f6a chore: remove create dtkwidgt_config.h codes
fix the dtk-svgc tool install path
2019-07-30 18:41:33 +08:00
zccrs 6f4df7f291 fix: use the DWIDGET_TRANSLATIONS_DIR 2019-07-26 17:31:20 +08:00
zccrs fe15d32b71 Revert "update version 5.0"
This reverts commit 782192d8c2.
2019-07-25 13:48:44 +08:00
deepinzhangshuang 782192d8c2 update version 5.0 2019-07-25 11:28:27 +08:00
deepinzhangshuang c90c910127 update for stable sym check 2019-04-22 13:33:52 +08:00
deepinzhangshuang 8f85df6783 update symbols for 32 2019-04-19 18:03:20 +08:00
zccrs c5fbab2359 fix: remove extra symbols 2019-04-18 15:34:05 +08:00
zccrs eba2adde3b Update symbols file 2019-04-18 09:11:59 +08:00
zccrs e2f8e00568 chore: save dpkg-parsechangelog calls in debian/rules
https://github.com/linuxdeepin/internal-discussion/issues/866
Change-Id: I50839f8db713bcb41aa78b56585441817129b9c1
2019-01-25 10:27:22 +08:00
haruyukilxz 9a72d912d8
feat: update version number for expermimental
Change-Id: I47d502733be3b8418655516672135523bf7f7700
2018-10-08 13:36:03 +08:00
haruyukilxz 3ce05b0ef3
fix: repair version number error
Change-Id: I29d9465243d9e06aecd144a81b00b701e68ee7ce
2018-10-08 10:43:10 +08:00
Iceyer 9d034f1ff7 refactor: remove deprecated interface
Change-Id: I5d0d1454df90c577f0f1dd1c4b26cb2489599aca
2018-08-31 10:56:56 +08:00
Iceyer 93c9b37393 refactor: new dswitch button
Change-Id: I2d6b33cffb7ff296640aadbcd7cb5083185974e8
2018-08-29 10:14:24 +08:00
zccrs 0afad0c230 feat: support set the translate context on DSettingsDialog::updateSettings
Change-Id: I3c8ddecf05e9b69e0fcaf037eb1f84385bddba4e
2018-07-23 12:05:41 +08:00
deepinzhangshuang f95c70d819 remove some symbols chekc to support qt 5.10.1
Change-Id: I272b5f7868720a0477612ccfc62eff2959d1c6ff
2018-06-04 14:57:34 +08:00
zccrs ff5b9480e1 fix(DTabBar): setTabMaxiumnSize is invalid
Change-Id: I4e262c7bcb5d8a2226d1f6c34cbea9c692961d12
2018-05-17 15:58:49 +08:00
Iceyer 000b06eb0c fix: remove missing symbols
Change-Id: I835c8c7ec4f204b023f8dadd26afe95d045b07e6
2018-05-14 15:54:58 +08:00
Iceyer ea074f6dc5 fix: update symbols
Change-Id: Id81910fae75f494f139173750914a94bc667d6db
2018-05-14 15:23:21 +08:00
isoletsy 44ad0764cf ignore missing symbols on mips64el and sw
Change-Id: Ie54500e25a709741e6cce9488a2a82e566fc84a1
2018-05-09 16:53:01 +08:00
石博文 8cf6740265 migrate: update dframeworkdbus version to 2.x
Change-Id: I8a094fdb3b96d80f21c39ae6a6948b53b1f5d41f
2018-05-08 13:50:43 +08:00
Iceyer cb888e9229 fix: remove some symbals
Change-Id: Ib92bb53fcca0fefe14ab85f4010541f2c0b5f210
2018-05-02 13:44:33 +08:00
Iceyer a811208d0e feat: add symbols check
Change-Id: I379febd6e994f371f594a9cafde79db9b6304812
2018-05-02 12:01:57 +08:00
isoletsy e2894a98c0 add libxi-dev in build depends
Change-Id: I2bb66cb60c9e0c4d8a2ece0bbe023f412bce1f40
2018-04-23 17:12:39 +08:00
Iceyer 88095fdf22 fix: isValid not work in flatpak
Change-Id: Ia1986838b932ef9748a66bdf35cf7be5b8a74a85
2018-04-03 14:13:53 +08:00
zccrs ebf62801e6 refactor: remove set LIB_INSTALL_DIR and VERSION at debian/rules
Change-Id: Ib2eb7f8aeec66b14403509f444aa5326f6e9b659
2018-03-07 11:32:12 +08:00
Iceyer 1525c2cb36 feat: support qt module
Change-Id: Iffa23b1971e6e2f49b9a43a34804e3eb0139070e
2018-02-13 00:47:57 +08:00
leaeasy 5f48b1f9b8 feat: parser correctly when version has '.is.'
Change-Id: I6da4903da88bd00942d7aa076ca9341aa38ce270
2018-02-05 09:42:03 +08:00
Iceyer ddddf0e147 refactor: split tool to libdtkwidget-bin
Change-Id: I3556328745aaa8d6c0d296f3f9d90bf14be825c1
2018-01-22 16:57:47 +08:00
haruyukilxz 41ac47afe2 refactor(DRegionMonitor): use qtCompileTest
Change-Id: I5fec6ed65baf9aa9ef8f7dd2bf9b68c751fdb4a1
2018-01-16 16:38:45 +08:00
Iceyer 416f2e64a4 feat: set version form changelog
Change-Id: Idbb461e79cc2d91536c99748066f75ca104ee086
2018-01-16 14:37:46 +08:00
石博文 d5c6ea40bf add cmake package search config
Change-Id: Ia86efd91520d81497166de5d56d29834cde19287
2018-01-03 13:58:17 +08:00
kirigaya 49db18a7b2 feat(DRegion): add compatibility macro
Change-Id: I3bb30235c0c9adfafba331feb451ab38694cd8b2
2017-12-27 17:34:46 +08:00
gs342 2709dc6d57 fix: Adapt lintian
Change-Id: I0dfbb5408333cdbde5491d47e370dfde8264fd39
2017-12-14 14:21:04 +08:00
Iceyer 3ddffd8b5a fix: add build depend libudev-dev
Change-Id: Ieaaab7d452b0f39c4ec4a84044849f01b8845d9f
2017-12-01 10:17:19 +08:00
isoletsy 2695ade99b Add libqt5svg5-dev in depends
Change-Id: If3ecfade40b5aea81491914edc08028603b62153
2017-10-11 13:10:29 +08:00
Iceyer fedb386013 feat: add svgc
Change-Id: Ifddbd8b25c8b712345fff37136a88fd46cbccc8c
2017-10-09 13:59:10 +08:00
isoletsy 6301b7f358 Add libqt5svg5-dev in build-depends
Change-Id: Iad4d44a2e5c23cc7b67026a9d6231658ebf2e739
2017-10-09 09:46:55 +08:00
石博文 0da9bdcac6 add build depends libdframeworkdbus-dev
Change-Id: Ie8155cf165a085a9e4a4bbbc73bc4dd30f99eee1
2017-09-28 15:42:27 +08:00
zccrs b3f531b558 Add DSvgRenderer
Change-Id: I6c8e216417b9d27a38fc4e7ec0b3a7ca9ca0be61
2017-08-25 17:00:56 +08:00
Iceyer 346d9733b1 Add radio group to settings
Change-Id: I8cf4dd585d45afa78f7636591c0ddbd6e010e6a9
2017-08-24 16:38:52 +08:00
Iceyer d5f7601c0d Add translations
Change-Id: I2d0af59e7be6a634233c456c64c27dcf817d9275
2017-07-28 16:23:02 +08:00
Iceyer 40f0551048 Update so version to 2.0
Change-Id: I06d3d2dc2621b4ad0176b3c806aae2ccc311c79e
2017-07-28 13:17:50 +08:00
Iceyer 768ff6d51f Remove conflict files
Change-Id: I90ce95657351651288a9c52a7def9364514e079a
2017-07-28 11:50:55 +08:00
Iceyer 514f231333 Remove conflicts
Change-Id: I69d33019c597555e6ced45e616b3bf122105fd54
2017-07-28 11:33:54 +08:00
Iceyer 7af0fcd8d6 Add depends libdtkwidget1
Change-Id: Id344bc1ed9acb73732a16d0ca4e7df4e0a7e7413
2017-07-28 10:47:19 +08:00
Iceyer 08b6fd4bad Conflicts libdtkwidget
Change-Id: Ib3c362d30e88c2bf90247f5b6505c622434b9a2d
2017-07-28 10:19:29 +08:00
leaeasy 201e9b8ae9 change package name to libdtkwidget1
Change-Id: Id3840c2eee598c8ef92ceaf23c95730bf835bd74
2017-07-28 09:39:18 +08:00
Iceyer e02b9f16da Update debian/control
Change-Id: Ib75a3fbffee897f94112315964966d99d2e6eb00
2017-07-27 09:45:06 +08:00
Iceyer 867284d44e Update pkgconfig requires
Change-Id: I7adda9184e4b30876069c7fc692e27c5f60a7101
2017-07-26 21:52:46 +08:00
Iceyer d765677cdc Update changelog
Change-Id: I6646f1e8c7ceeef179840e262a27677ea804784c
2017-07-26 19:44:52 +08:00
Iceyer 892d6d0499 Split dtkwidget module
Change-Id: Id609507209f1b5635e86e42d61ab5e2121f1e559
2017-07-26 13:08:28 +08:00
deepinzhangshuang e8676963ec add depend libdtkbase-dev
Change-Id: Icf9bf56d741cb3f69c979bf3dc6f31d5cf4ee2f3
2017-07-11 13:24:17 +08:00
Hualet Wang e94d50ae84 Add DDesktopService::playSystemSoundEffect
Change-Id: I1cddbf7b27a00ef4e07f68215a1a84a157c83bbe
2017-06-13 17:02:35 +08:00
Felix Yan 11c1032c18 Remove obsolete GitCafe url
Change-Id: I984760bbcbf026a7ec5ce506aa7f07e7c70e0713
2017-03-29 09:03:27 +08:00
leaeasy e9e909dd30 fix-makeshlibs
Change-Id: I7d29981e940ffea3e8191723d76b5f086d4679ac
2017-03-14 17:39:06 +08:00
leaeasy c8253c7cea fix rules error
- remove unused dh_strip
 - add parallel to debhelper options
 - override dh_makelibs with -V to generate shlibs with particular version

Change-Id: Iafe6b3791a24e8e5bc488838517c3f0c58e1b2dd
2017-03-14 16:10:53 +08:00
Iceyer e89734b805 Add DSettingsDialog
Change-Id: I0625b99b0e7522701006b55534834633e7df7770
2017-01-22 11:23:31 +08:00
dragondjf b4bb73d27c Remove intergrations depends
Change-Id: If66b4aacad2b95e1d52ada0921ca7ecc7dcfef40
2017-01-10 18:29:03 +08:00
amazingfate 968ae75c3a remove libqt5dxcb-plugin from dep of libdtkwidget
Change-Id: I56d21533ef4e0fbd01c98fd7dd3715e64a04a366
2016-12-27 16:29:59 +08:00
Iceyer 517c5b8fbb Add miss build depends qttools5-dev-tools.
Change-Id: I2ce70846210bae81470afec76a5c23ff5c6ccd6d
2016-12-09 15:09:15 +08:00
Iceyer e150f4f7f2 Add miss qm file in debian
Change-Id: I4bf52a6dd48c271f6ede1feb1c1e78e08f270c26
2016-12-09 14:29:44 +08:00
Iceyer 6ec0e77e00 Remove unless header file
Change-Id: I54c3399b81ef83c4f012c328b9995a8b49ad0644
2016-12-07 14:09:03 +08:00
deepinzhangshuang f0332eb9e8 add debian to peoject
Change-Id: Ia9016ffab29f5f9ada4df47baea595861a6101d5
2016-11-14 14:58:04 +08:00