Commit Graph

2398 Commits

Author SHA1 Message Date
ck 1521966be9 chore: update to 5.6.10
Log: update changelog
2023-04-17 18:03:29 +08:00
Felix Yan 2efad74dcd fix: don't set CMAKE_BUILD_TYPE in CMakeLists.txt
Distributions actually prefer CMAKE_BUILD_TYPE being `None` (the default value) so that their CFLAGS/LDFLAGS are used instead of the cmake presets. Let's do not overwrite it with "Release".
2023-04-17 17:56:00 +08:00
Felix Yan dd2e38e77c fix: remove unused cmake option from PKGBUILD
`HUNTER_ENABLED` isn't mentioned elsewhere in this project.
2023-04-17 17:32:32 +08:00
Felix Yan 0a9216852a fix: remove unused librsvg dependency from PKGBUILD
It's not mentioned anymore in this project.
2023-04-17 17:29:16 +08:00
YeShanShan 34ecd23d86 fix: DFloatingButton can't display dciicon
Option's `features` is overridden.
2023-04-17 15:45:58 +08:00
deepin-admin-bot 099a440836 chore: Sync by 2dd22560f7
sync by github workflow

Log: none
Influence: none
2023-04-14 08:42:25 +00:00
deepin-admin-bot 4c4f49199b chore: Sync by c5d10d3aeb
sync by github workflow

Log: none
Influence: none
2023-04-14 08:32:43 +00:00
YeShanShan 1f516707cf fix: TextAction doesn't display in center
We calculate text rect including origin text and action text
in AliginVCenter layout, and then paint it.

Issue: https://github.com/linuxdeepin/dtkwidget/issues/408
2023-04-13 15:54:08 +08:00
YeShanShan acaeb90360 fix: Modify ButtonMargin from 10 to 8
According to designer.
  It results display error for dde-control-center's shutcut keys
for `10`, so we change it back.

Issue: https://github.com/linuxdeepin/dtkwidget/pull/373
2023-04-13 15:53:48 +08:00
wangfei b1954f2ec2 Fix: Qt::ToolButtonTextUnderIcon does't work
set a fixed layout mode Qt::ToolButtonTextBesideIcon in codebase

Log: delete fixed layout Qt::ToolButtonTextBesideIcon
Issue: https://github.com/linuxdeepin/dtkwidget/issues/403
2023-04-12 16:49:49 +08:00
YeShanShan dbf50f00c5 fix: ListView's widget switching hide and show frequently
It's apparent when we set a widget for DStandardItem, and
hovering it, it look obvious when changing Widget's cursor.
  We hide widget depending on the different of last and current
frame, When we hover one item, Viewport also to be repaint,
and it's area is an item hovered, this caused we made a
calculation error.

Issue: https://github.com/linuxdeepin/dtkwidget/issues/364
2023-04-11 09:14:35 +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
YeShanShan d9e2e16cd6 fix: Build error for Qt 5.15~6.1
PM_LineEditIconSize is introduced in qt6.2 or patch,
the iconSize is always 20 in NormalMode or CompactMode.
Building error is introduced in 'ec55b744d6ae766911d01948c56eac8b18fc5289'

Log:
2023-04-04 13:32:27 +08:00
wangfei 091b978048 fix: SwitchButtonHandle isn't expanded when switchbutton is expanded
set the handle's width to half of switchbutton's width;
set the handle's height to switchbutton's height.

Log: modify the handle's size in switchbutton
Issue: https://github.com/linuxdeepin/dtkwidget/issues/389
2023-04-04 09:54:11 +08:00
ck 9c56701109 chore: update to 5.6.9
Log: update changelog
2023-04-03 10:28:26 +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
YeShanShan ec55b744d6 fix: Modify SearchEdit's icon
`search_indicator` and `search_action`'s size is 36 * 36, and
they have more than white space, now we update those icon in
dtkgui and qt5integration, and remove unnecessary avoidance.

Issue: https://github.com/linuxdeepin/dtkwidget/issues/325
Log: It depends dtkgui and qt5integration.
2023-04-03 10:07:25 +08:00
tsic404 3447fb3c8b chore(CI): add OBS workflows
add OBS workflows and modify PKGBUILD support OBS build

log:
2023-03-29 09:40:37 +08:00
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