Commit Graph

2630 Commits

Author SHA1 Message Date
bluesky 1e6cb03ba8 fix: update updateTitlebarHeight
修改updateTitlebarHeight函数,取消titlebarHeight等于50的判断,配置文件默认值为-1

Issue: https://github.com/linuxdeepin/dtkwidget/issues/367
2023-03-28 09:09:19 +00:00
wang fei 2db46873a9 fix: adjust daboutdialog's ui
adjust the ui of daboutdialog

Log: adjust daboutdialog's ui
Issue: https://github.com/linuxdeepin/dtkwidget/issues/361
Influence: daboutdialog
2023-03-28 10:54:49 +08:00
ck 2d9f4dad45 chore: tx config tweak
update group name
tx --version : TX Client, version=1.6.5
tx pull --all --branch master
2023-03-28 10:51:33 +08:00
bluesky 3d9e9f91a8 feat: add the ability to configure the default height of the DTitleBar
新增通过DConfig配置DTitleBar的功能

Issue: https://github.com/linuxdeepin/dtkwidget/issues/367
2023-03-28 02:20:05 +00:00
wang fei d0222e84fc fix: modify listview for compact mode
In compact mode:
modify margins to margin(10, 6, 10, 6)
modify icon size to QSize(24, 24)

Log: modify listview in compact mode
Issue: https://github.com/linuxdeepin/dtkwidget/issues/324
Influence: compact mode
2023-03-24 11:14:54 +08:00
jiawen 3dd052196f doc: update docs
更新dwindowoption docs

Log: update docs

Task: linuxdeepin/dtkwidget/issues/360
2023-03-18 08:54:33 +00:00
YeShanShan accac81a38 fix: Adjust icon size for subclass of lineedit
DLineEditPrivate provides a default size for subclass.
2023-03-17 14:46:48 +08:00
YeShanShan 2712141845 fix: Modify edit widgets to adapt CompactMode
Adjust the interval between widget to 10 for edit.

Issue: https://github.com/linuxdeepin/dtkwidget/issues/325
2023-03-17 14:46:48 +08:00
YeShanShan 03f6b462a8 fix: Adjust SwitchButtonhandler's width in CompactMode
SwitchButtonhandlerWidth is different,
  It's SwitchButtonGroove's width is 40 in CompactMode, and 50 in NormalMode,
It's just by 5 / 3 * PM_SwitchButtonHandleWidth.

Issue: https://github.com/linuxdeepin/dtkwidget/issues/326
2023-03-17 14:46:21 +08:00
xzl 4a681b4501 chore: set BUILD_DOCS OFF
Log:
2023-03-16 18:33:28 +08:00
YeShanShan 0e725e4097 fix: Modify PushButton to adapt CompactMode
Use `ButtonMargin` as Arrow's margin with frame, and changes it
from 8 to 10.
  Modify Indicator in CompactMode.

Issue: https://github.com/linuxdeepin/dtkwidget/issues/326
2023-03-16 16:46:58 +08:00
Ye ShanShan 3887d00daf fix: Modify size style for toolbar
Adjust toolbar iconsize from 24 to 16.
  Add example for toolbutton.

Log: 依赖qt5integration升级
Issue: https://github.com/linuxdeepin/dtkwidget/issues/326
2023-03-16 16:37:01 +08:00
wang fei 44aea4b9ad chore: remove log about sidebar
remove userless log obout sidebar

Log: remove log about sidebar
Influence: none
2023-03-16 05:36:56 +00:00
YeShanShan 7a8cf71ff7 fix: Restore window's size for example
Restore window size
2023-03-16 10:38:51 +08:00
YeShanShan 6afbc61abe fix: Modify style for example's titlebar
Clipping TitleBar control and modifing radius from 16 to DMainWindow's radius.

Issue: https://github.com/linuxdeepin/dtkwidget/issues/323
2023-03-16 10:38:29 +08:00
ck 46ac16a586 fix: DAbstractDialog translucent background
if windowmanager not support blur window effect
do not set `Qt::WA_TranslucentBackground` attribute
setblurEnabled will not work

Issue: https://github.com/linuxdeepin/dtkwidget/issues/358
Log: fix Dialog translucent background
2023-03-15 14:10:11 +08:00
xzl 13e2126112 docs: update readme
add docs link

Log:
2023-03-14 16:14:35 +08:00
wang fei 9eaa40cbfc docs: add dfeaturedisplaydialog image to docs
add image to docs

Log: add dfeaturedisplaydialog image to docs
Influence: docs
2023-03-13 05:27:52 +00:00
wang fei c447104da1 fix: add color-only mode in dprintpreviewdialog
add support for color-only mode to dprintpreviewdialog

Log: add color-only mode in dprintpreviewdialog
Issue: https://github.com/linuxdeepin/dtkwidget/issues/354
Influence: print preview
2023-03-13 05:27:25 +00:00
wang fei 9d03dc792a chore: Remove redundant code about acknowledgement in daboutdialog
1. add obsolete interfaces about acknowledgement
2. remove redundant code about acknowledgement

Log: remove redundant code about acknowledgement in daboutdialog
2023-03-13 09:45:52 +08:00
renbin cbd8237ed9 chore: DPrintPreviewDialog add update setting interface.
Add interface updateDialogSettingInfo, apps can update print dialog
settings at construction time.
Add docs and UT, fix a bug that may cause a memory leak.

Log: DPrintPreviewDialog add update setting interface.
Influence: Add update setting interface.
2023-03-10 09:27:36 +00:00
bluesky 7ccb3ece4a docs: add example for dboxwidget
给dboxwidget添加例子

Log:
2023-03-09 08:58:04 +00:00
bluesky 70d7427547 docs: update docs
更新dboxwidget的文档

Log:
2023-03-09 11:08:28 +08:00
bluesky a9b927c52e docs: add example for dfilechooseredit
给dfilechooseredit添加例子

Log:
2023-03-07 11:41:56 +08:00
bluesky 6f05486d53 docs: update docs for dfilechooseredit
更新dfilechooseredit的文档

Log:
2023-03-05 22:07:31 +08:00
wang fei 1b0a29a457 chore: modify the result code of dprintpreviewdialog to accept or reject
give the explicit result code (accept or reject) when pressing print button
or cancel button of dprintpreviewdialog.

Log: modify the result code of dprintpreviewdialog to accept or reject
Influence: dprintpreviewdialog
Change-Id: Ic6ee36b7fc805ed16762bc203001d1248211fb1e
2023-03-02 05:03:49 +00:00
张坤 b97bff4d6d doc: update docs
更新dlineedit和dspinner的文档

Log: update docs
2023-02-23 01:43:53 +00:00
wangyixue bfb766aed1 chore: update changelog
Release 5.6.8.

Log: update changelog to 5.6.8
2023-02-22 15:14:17 +08:00
Ye ShanShan e8338437eb fix: DStyleOptionButton's incompatible
This is a supplement for 9b6e608005
It's default assignment constructor will call buillt
dtkwidget's  `dciIcon` conftructor, but `dciIcon` object is a
unassignment space, it causes app crashed.
2023-02-22 14:07:43 +08:00
ck cf1eceb9d9 chore: update changelog
update changelog
Log: update changelog

Influence: none
2023-02-17 14:24:19 +08:00
ck 5434c8ddc3 chore: hide custom toolbar in the example
Hide the custom toolbar section in the example

Log: none
2023-02-17 13:18:50 +08:00
wangyixue 5fe7575c52 fix: find_dependency error
Older version CMake find_dependency has a defeat that COMPONENTS
find will fail. Find single dependency separately to avoid this issue.

Log: fix find_dependency error
2023-02-17 11:24:51 +08:00
wang fei bd8c3e1042 chore: rename sidebarVisble to sidebarVisible
obsolete old interface sidebarVisible due to spelling mistake

Log: rename sidebarVisble to sidebarVisible
Influence: sidebar
Change-Id: I7c932f4fc8f43db2271d3562d446b4f663e11ad4
2023-02-17 01:56:39 +00:00
wang fei a937685fd1 fix: background widget is always shown when sidebar is hidden
change background widget's visibility when the signal of expandChanged is emitted

Log: resolve the issue that background widget is always shown when sidebar is hidden
Influence: sidebar
Change-Id: I0a2fc73614aecfb736f52f00cb6ca07459f48fb7
2023-02-16 06:09:52 +00:00
wang fei 339ece42c8 doc: update the doc of dfeaturedisplaydialog
update the interface doc of dfeaturedisplaydialog

Log: update the doc of dfeaturedisplaydialog
Influence: doc
Change-Id: I238fa7c5675bd3d51e3a7112fbe8ed549b3d3d51
2023-02-14 07:28:12 +00:00
xiangzelong 6d1f974dd9 docs: update docs
更新枚举的注释方式,规范化文档

Log:
2023-02-14 13:59:39 +08:00
Ye ShanShan 9b6e608005 fix: DStyleOptionButton's incompatible
It was introduced in e4fdfe5b36 .
  It cause incompatible that DStyleOptionButton add a member
variable `dciIcon`.
  App is crashed if libdtkwidget5 is different between App built
and running loaded, (app builds with 5.5, but loads 5.6 version).
  We shouldn't add member variable that defined in .h and which
breaks abi.
  If this case has exist, we can Use DApplication::builtDtkVersion()
to avoid to accessing the member in some lower version.
  We are lucky, because we have `features` to avoid to accessing
`dciIcon` member in lower version.
  FloatingButton doesn't need add DciIcon to features, because
DDciIcon has execute this code.

Log: none
Influence: App crash in some case
Change-Id: Iff4d596c6f90fa82f0d93ec9db0118d8d0bffa40
2023-02-14 13:32:36 +08:00
Ye ShanShan 3b880ba698 fix: Lossing LIBDTKWIDGTE_LIBRARY macro
It lossed when qmake to cmake, and it causes DApplication::
buildDtkVersion function is error, because it's value is assigned
when builing application.

Log: none
Influence: none
Change-Id: Ie636df17c485f7d43cd5458cf3a2f2627388a07a
2023-02-14 10:51:27 +08:00
chenhongtao cf02413fc9 chore: update changelog
Log: update to 5.6.6
2023-02-13 16:15:48 +08:00
wang fei f92823736a fix: the entrance of feature display is visible when no item is added
when no feature item is added, hide the entrance in about daboutdialog

Log: fix the issue about feature dialog has no content
Influence: feature display
Change-Id: Id13ce0b84ede3d084f219cfbd35e1d2a94e3b4bc
2023-02-10 17:11:21 +08:00
guoyao 825fea2470 chore: remove useless dependencies
as title

Log:
2023-02-10 13:31:02 +08:00
wang fei 92a7561e0f fix: 二次调起特性对话框崩溃
原因:特性对话框的父窗口是关于对话框时,
      随着关于对话框销毁,再次访问特性对话框对象就会崩溃。
修改:1.特性对话框不设置父窗口,随着应用退出销毁。
      2.特性对话框展示时,调整位置。

Log: 修复二次调起特性对话框崩溃问题
Influence: 特性对话框
Change-Id: I56671745ae6fb087133c34fcd50f54d4b9789e81
2023-02-07 14:34:45 +00:00
ice 7dae3b34b3 fix: correct file name
examples/collections/org.deepin.dtkwiget.feature-display.json 文件名拼写错误

Log:
2023-02-07 12:24:00 +00:00
bluesky 9e4b4a89ba doc: update docs for danchors
更新danchors的文档

Log: update docs

Task: deepin-community/coding-quarter#26
2023-02-03 07:17:36 +00:00
ck 818a7f5541 chore: update changelog
update changelog
Log: update changelog
Influence: none

Change-Id: Ic7059641a79d7e6970c556e8882d3293b733ea62
2023-02-02 16:02:00 +08:00
xzl d2cb0fb1f8 docs: update the document of DFloatingButton
更新文档

Log: docs: update the document of DFloatingButton
2023-01-19 14:01:47 +08:00
xzl e734edc54b docs: update docs
更新文档

log: update docs
2023-01-18 17:21:31 +08:00
wang fei a3967280f8 fix: 增加titlebarSettingsImpl空指针判断
新建dtitlebar对象,未调用settings(),titlebarSettingsImpl是空的

Log: 增加titlebarSettingsImpl空指针判断
Influence: titlebar
Change-Id: I6f330f59556b86b34e94c8cb8997556c7bb59e8e
2023-01-18 05:21:38 +00: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 0386852043 feat: 自定义工具栏
1. 显示自定义工具栏;
2. 工具栏上调整控件位置;
3. 工具栏上添加和移除控件;
4. 恢复默认工具栏控件;
5. 工具栏生效。

Log: 添加自定义工具栏功能
Influence: none

Change-Id: Icb1d12d4c8881ace309e9b5cd5508bbca965c5fc
2023-01-17 16:47:22 +08:00