Commit Graph

2654 Commits

Author SHA1 Message Date
Yixue Wang fcd33acfa9 fix: redefinition of verticalTabs
Function verticalTabs is exposed by qtabbar_p.h as constexpr static
inline, original definition in dtabbar.cpp will lead to an redefinition
error. Just rename dtk's implementation.

Note: Probably we should replace private implementaion with Qt's
implementation after all versions of Qt expose this function.
Log: fix redefinition of verticalTabs
2023-10-27 13:34:45 +08:00
Yixue Wang f5eafba7ff chore: add synchronization workflow
Add synchronization workflow to synchronize to DTK6.

Log: add synchronization workflow
2023-10-27 09:41:21 +08:00
ck 42e319184c feat: styleHint tweak
SH_UnderlineShortcut
Whether shortcuts are underlined.

SH_Menu_KeyboardSearch
Whether disable the typing to search for menu items
2023-10-25 14:00:57 +08:00
deepin-ci-robot a694fae2ee chore: update changelog
Release 5.6.19.
2023-10-24 02:33:26 +08:00
He Xin f5d75bf95a feat: change DTK_STATIC_TRANSLATION to the default setting.
change DTK_STATIC_TRANSLATION to the default setting.
默认设置DTK_STATIC_TRANSLATION,以便第三方dtk应用可以较方便携带翻译文件
2023-10-19 10:45:11 +08:00
deepin-ci-robot 59b0befeef chore: update changelog
Release 5.6.18.
2023-10-18 15:16:21 +08:00
syn 012d67a362 doc: update docs for denhancedwidget
更新denhancedwidget的文档,添加示例代码

Log: update docs

Issue: https://github.com/linuxdeepin/dtk/issues/94
2023-10-16 10:47:11 +08:00
zhangkun e0b3d0bbc3 fix: 修复打印预览,切换打印机的时候预览图颜色显示异常
颜色选项默认选择第一项,第一项有可能是彩色或黑白,QCombobox在设置与之前相同的项的时候其CurrentIndexChanged信号不会被触发,正因如此,导致预览图没有及时没刷新,修改为在为组合框添加item的时候,将其currentIndex设置为-1,保证后续的CurrentIndexChanged信号及时被触发

Log: 修复打印预览,切换打印机的时候预览图颜色显示异常
Bug: https://pms.uniontech.com/bug-view-220315.html
Influence: 打印预览切换打印机时预览图的颜色表现
2023-10-13 15:42:47 +08:00
ck 7d85d0bc97 feat: use DIconTheme::findQIcon
Replacing QIcon::fromTheme.

Issue: linuxdeepin/developer-center#4112
2023-10-12 15:16:45 +08:00
Felix Yan 3a2f266613 chore: correct typos about action slots
Log:
2023-10-02 12:15:14 +08:00
renbin b948f4e034 fix: ColorMode may be inconsistent with settings.
The current ColorMode is inconsistent with the set
currentIndex after switch the printer.
Refresh the current print ColorMode after reset
the ColorMode combobox.

Log: ColorMode may be inconsistent with settings.
Bug: https://pms.uniontech.com/bug-view-219201.html
Influence: PrintPreview
2023-09-13 08:47:08 +08:00
wangyixue dafa34ed8a chore: update changelog
Release 5.6.17.
2023-09-08 23:15:48 +08:00
ck 93d4407f4c fix: example sidebar not show
setSidebarWidget will show sidebar widget
2023-09-08 16:54:46 +08:00
xzl 3635a3ba77 chore: support Qt 6.4.2
Log:
2023-09-08 16:48:05 +08:00
ck 5f0e347e32 chore: do not show alert message if text is empty
show an empty alert frame makes no sense
2023-09-08 15:05:03 +08:00
YeShanShan 0ba6eb1b3d feat: Add UT for DWaterMarkWidget
Add UT.
2023-09-07 12:12:10 +08:00
xzl 65308b9f3c fix: remove not working test case
Log:
2023-09-05 13:03:57 +08:00
ck f3d1a4423b feat: DFontSizeManager tweak
- add T11 (default 8 px)
- T5 17px ==> 16px

Issue: https://github.com/linuxdeepin/dtk/issues/116
2023-09-05 10:56:41 +08:00
wangfei 8a4bacc437 fix: sidebar expand/collapse status error
diff expand/collapse from sidebar visible

Issue: https://github.com/linuxdeepin/developer-center/issues/5297
2023-08-28 09:20:38 +08:00
deepin-ci-robot edd36a92da chore: update changelog
Release 5.6.16.
2023-08-22 15:17:45 +08:00
wangyixue 0403aecf3b fix: update dependency libfreetype-dev
libfreetype6-dev is a transitional package. Debian sid now uses
libfreetype-dev. Change libfreetype6-dev to libfreetype-dev.

Log: update dependency libfreetype-dev
2023-08-21 17:15:46 +08:00
xzl 72c59d8292 chore: add test for dwatermarkhelper
Log:
2023-08-18 15:37:01 +08:00
xzl 0312b95efa feat: add ut_dpalettehelper
Log:
2023-08-18 11:24:06 +08:00
wangyixue b2e211292d chore: update changelog
Release 5.6.15.
2023-08-14 11:01:49 +08:00
ck e5108b00bc chore: move loadtranslator to dtkgui
dependcy: https://github.com/linuxdeepin/dtkgui/pull/183
load qt and app translation files in dtkgui
dtkwidget only load dtkwidget_xx.qm
2023-08-12 10:37:07 +08:00
LyYeeeYuwu eeb4563233 doc: update docs for dcrumbedit
更新dcrumbedit的文档

Log: update docs

Issue: https://github.com/linuxdeepin/dtk/issues/94
2023-08-10 09:54:50 +08:00
homehome a6cbb1c4a9 doc: update docs for dcircleprogress
更新dcircleprogress的文档

Log: update docs

Issue: https://github.com/linuxdeepin/dtk/issues/94
2023-08-03 16:09:41 +08:00
syn 67b3dc243e doc: update docs for dtooltip
更新dtooltip的文档,添加示例代码和图片

Log: update docs

Issue: https://github.com/linuxdeepin/dtk/issues/94
2023-08-03 10:56:09 +08:00
LyYeeeYuwu 772ca04bde doc: update docs for dfontcombobox
更新dfontcombobox的文档

Log: update docs

Issue: https://github.com/linuxdeepin/dtk/issues/94
2023-08-02 19:29:27 +08:00
YeShanShan 06f65568da feat: Add UT for DComboBox
Add UT.
2023-07-31 11:36:14 +08:00
xzl 290e075c63 chore: remove useless files
Log:
2023-07-29 21:58:21 +08:00
deepin-ci-robot 879a19c30a chore: update changelog
Release 5.6.14.
2023-07-27 16:17:11 +08:00
wangyixue 63cb178bc7 chore: deprecate dhidpihelper
DHiDPIHelper has nothing to do with dtkwidget. Move the only function
loadNxPixmap to Dtk::Gui::DIcon. Deprecate the implementation in
dtkwidget.

Log: deprecate dhidpihelper
2023-07-27 13:47:42 +08:00
xzl 8421ade36e fix: fix the bug of the test-recoverage.sh
Log:
2023-07-27 10:43:56 +08:00
LyYeeeYuwu cb360f23d6 doc: update docs for dtextedit
更新dtextedit的文档

Log: update docs

Issue: https://github.com/linuxdeepin/dtk/issues/94
2023-07-26 13:20:42 +00:00
xzl 5fc7371d91 feat: add some UT
Log:
2023-07-21 14:14:06 +08:00
xzl 49a0919930 fix: to fix unused qrc file in UT
Log:
2023-07-21 09:49:01 +08:00
xzl 75ad5f10cb fix: fix memory leak in danchors.cpp
Log:
2023-07-18 15:34:35 +08:00
xzl 2fa6097c85 Revert "fix: 修改内存泄露问题"
This reverts commit 7efd5d2f03.
2023-07-18 15:34:35 +08:00
homehome b608210a56 doc: update docs for dmessagemanager
更新dmessagemanager的文档

Log: update docs

Issue: https://github.com/linuxdeepin/dtk/issues/94
2023-07-14 02:30:05 +00:00
SPUER 40b70e80f0 chore: reduce compilation warnings
解决部分文档编译警告

解决cpp文件中部分注释编译警告

Issue: https://github.com/linuxdeepin/dtk/issues/96
2023-07-14 01:37:10 +00:00
LyYeeeYuwu 105bbeeaab doc: update docs for dprogressbar
更新dprogressbar的文档

Log: update docs

Issue: https://github.com/linuxdeepin/dtk/issues/94
2023-07-14 09:11:09 +08:00
homehome ac719a9bf1 doc: update docs for dcoloredprogressbar
更新dcoloredprogressbar的文档

Log: update docs

Issue: https://github.com/linuxdeepin/dtk/issues/94
2023-07-11 08:22:24 +00:00
homehome f7132b15a7 doc: update docs for dbaseline
更新dbaseline的文档

Log: update docs

Issue: https://github.com/linuxdeepin/dtk/issues/94
2023-07-11 08:02:05 +00:00
LyYeeeYuwu 913e39c63e doc: update docs for dsearchedit
更新dsearchedit的文档

Log: update docs

Issue: https://github.com/linuxdeepin/dtk/issues/94
2023-07-11 07:49:23 +00:00
syn 909d3e06df doc: update docs for dspinbox
更新dspinbox的文档,添加示例代码及运行图片

Log: update docs

Issue: https://github.com/linuxdeepin/dtk/issues/94
2023-07-11 07:03:56 +00:00
homehome 2f19f9113e fix: the 'ValueChanged' signal was never emitted in dcircleprogress
Due to a lack of signal triggering in dcircleprogress,the 'ValueChanged' signal was never emitted.

Log:为dcircleprogress修复了一个接口bug,在setValue()函数内部设置信号发射,解决了ValueChanged信号不会发射的问题
2023-07-11 14:37:36 +08:00
Skye-rs c2063d8316 doc: update docs for dtoolbutton
更新dtoolbutton的文档

Log: update docs

Issue: https://github.com/linuxdeepin/dtk/issues/94
2023-07-11 05:35:29 +00:00
LyYeeeYuwu 1e7568bd3b doc: update docs for dframe
更新dframe的文档

Log: update docs

Issue: https://github.com/linuxdeepin/dtk/issues/94
2023-07-11 05:15:56 +00:00
LyYeeeYuwu 454855b4bc doc: update docs for dwarningbutton
更新dwarningbutton的文档

Log: update docs

Issue: https://github.com/linuxdeepin/dtk/issues/94
2023-07-11 01:53:55 +00:00