Commit Graph

33 Commits

Author SHA1 Message Date
xzl 290e075c63 chore: remove useless files
Log:
2023-07-29 21:58:21 +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 75ad5f10cb fix: fix memory leak in danchors.cpp
Log:
2023-07-18 15:34:35 +08:00
heyuming eb5e0f0a11 refactor!: deprecate some interfaces in dtk6
Log: 在dtk6中废弃一些接口
2023-07-04 18:26:14 +08:00
heyuming 637e3eb52a feat(lib): support Qt6
Log:适配Qt6
2023-06-19 13:15:20 +08:00
wangfei bb7bb1db80 chore: Add properties about license in dapplication interface
add properties about license feature in dapplication interface.

Log: Add properties about license
2023-05-17 16:42:01 +08:00
wangfei f585d1f9df feat: add license dialog widget
add dlicensedialog interface and function.

Log: add license dialog widget
2023-05-10 09:07:01 +08:00
wangfei dcb6217d4b fix: adjust floatbutton's size in compact mode
In compact mode, add the margins to sizehint.

Log: modify floatbutton's content size to 36*36
Issue: https://github.com/linuxdeepin/dtk/issues/36
2023-05-05 11:13:02 +08:00
YeShanShan 7692c1572e feat: Deprecate DApplicationSettings
The feature has been moved to DGuiApplicationHelper in the
commit 19492cbfb71954a4939028b37ce66981d34e324e
2023-04-24 13:58:34 +08:00
wangfei 47c5b4576f Revert "fix: icon size is abnormal when dpi > 1"
This reverts commit de8d8f9920.
2023-04-20 16:30:09 +08:00
wangfei de8d8f9920 fix: icon size is abnormal when dpi > 1
ButtonIconSize does't multiply ratio in dstyle, which lead to
both pixmap size and rect size disagree.

Log: modify ButtonIconSize's default value
Issue: https://github.com/linuxdeepin/dtkwidget/issues/390
2023-04-07 10:09:02 +08:00
ssk-wh 92573ab37e feat: 增加覆盖指定界面的水印类DWaterMarkHelper
可通过DWaterMarkHelper的接口设置水印样式,并通过registerWidget添加水印

Log:
Influence: 无
Task: https://pms.uniontech.com/task-view-243575.html
Change-Id: I84cf4d3fb0eb17deb0ab9c2e7b154bf884167a0b
2023-04-03 10:10:47 +08: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
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
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 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
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
wang fei 217cfc5514 feat: 增加特性展示功能
1. 增加特性对话框类接口;
2. dapplication增加特性对话框相关接口;
3. 重新布局关于对话框;

Log: 新增特性介绍功能
Task: https://pms.uniontech.com/task-view-227391.html
Influence: 特性介绍,关于介绍
Change-Id: Ie6244bd313bb385846f4c5c066108b65f5afcb4f
2023-01-13 02:01:37 +00:00
Ye ShanShan fe89639b37 feat: Add compact support for some widgets
Modify dstyle's value when switch SizeMode;
  Add compact support for dialog, listview and other base widget.

Log: 支持基本控件的紧凑模式切换
Task: https://pms.uniontech.com/task-view-227385.html
Influence: none
Change-Id: I8f83d1fddd723a51bd01561c3723a9c352e9d852
2023-01-11 12:19:42 +08:00
Ye ShanShan d9a63823d1 feat: Add TightMode support for TitleBar
Send StyleChange event for all widget when
received sizemode changed.
  Add SizeModeHelper for common function.
  Modify radius, Shadow of MainWindow.

Log: 支持紧凑模式切换
Task: https://pms.uniontech.com/task-view-227385.html
Influence: none
Change-Id: I3cb83d22db1b3b058ed34443263d8321af09281d
2023-01-10 11:12:17 +08:00
wangyixue 097b17d599 feat: add ToolTip support
Add ToolTip support for DListView and DLabel

Task: https://pms.uniontech.com/task-view-227383.html
Log: add ToolTip support
2023-01-05 13:13:04 +08:00
wangyixue 5648360acc fix: correct default constructor for DStyleHelper
Modify default value for m_style of DStyleHelper from nullptr to
QApplication::style in case we have a stack overflow.

Log: correct default constructor for DStyleHelper
2023-01-03 16:39:10 +08:00
renbin 30225aa55c feat: Add DImageViewer crop image function.
Add DImageViewer crop image function, DGraphicsCropItem class.
Add crop image unit test cases, update dox file comments.

Log: Add DImageViewer crop image function.
2022-12-08 14:08:41 +08:00
wang fei e60b44d898 feat: 侧边栏功能
按钮控制侧边栏展开和收缩

Log: 添加侧边栏功能
Influence: 侧边栏和标题栏
Change-Id: I39790200db1606a6513a99a47ecaab17c2f171ee
2022-12-07 09:59:56 +08:00
renbin b96acedda2 feat: Implements DImageViewer rotate, scale and gesture.
Implements the DImageViewer interface, including rotate, scale, gesture.
Add unit test cases and interface comment.

Log: Implements DImageViewer rotate, scale and gesture.
2022-12-02 05:43:40 +00:00
renbin a880020d62 feat: Implements DImageViewer set image and clear.
Implements the DImageViewer interface, including set image and clear.
And implements the DGraphicsitem classes, add unit test cases, update comment.

Log: Implements DImageViewer set image and clear.
2022-12-02 05:43:40 +00:00
xzl 4df9612c9f docs: update dabstractdialog docs
更新dabstractdialog文档

Log:
Task: https://pms.uniontech.com/task-view-216407.html
2022-11-30 00:45:10 -06:00
renbin 347724293d feat: Change DImageViewer widget and image handler.
DImageViewer just show images, the image file handler will be moved to DtkGui.

Log: Change DImageViewer widget and image handler.
2022-11-22 09:45:15 +00:00
renbin 9dde038f09 feat: Add DImageViewer interface and interface documents.
Add DImageViewer interface and interface documents.

Log: Add DImageViewer interface and interface documents.
2022-11-22 09:45:15 +00:00
wang fei c20d9b3ef8 fix: 打印预览页面打开“添加水印”开关后再关闭,水印开关消失
原因:根据对象名字关闭控件,开关和下面功能控件一个对象名。
解决:增加一个对象名字控制下面的功能控件。

Log: 修复打印预览页面打开“添加水印”开关后再关闭,水印开关消失问题
Bug: https://pms.uniontech.com/bug-view-163737.html
Influence: 水印
Change-Id: I5b0f10347b668987cadf7b2542fbea8ea8b8b437
2022-10-20 09:38:11 +08:00
chenhongtao f80f48076e feat(cmake): to cmake
from qmake to cmake

Log: tocmake
2022-08-19 17:18:33 +08:00