linuxdeepin / dtkwidget

Deepin Toolkit, widget module for DDE look and feel
Other
203 stars 144 forks source link

chore: 增加ButtonBox hover 和切换动画 #595

Closed Whale107 closed 1 month ago

Whale107 commented 1 month ago

增加ButtonBox hover 和切换动画

Log:

deepin-ci-robot commented 1 month ago

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Whale107

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files: - **[debian/deepin/OWNERS](https://github.com/linuxdeepin/dtkwidget/blob/dev/animation/debian/deepin/OWNERS)** Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
deepin-bot[bot] commented 1 month ago
Doc Check bot :yellow_circle: some documents missing! File Line Symbol
src/widgets/private/dbuttonbox_p.h 23 Dtk::Widget::DButtonBoxPrivate::DButtonBoxPrivate
src/widgets/private/dbuttonbox_p.h 24 void Dtk::Widget::DButtonBoxPrivate::init
src/widgets/private/dbuttonbox_p.h 20 Dtk::Widget::DButtonBoxPrivate
src/widgets/private/dbuttonbox_p.h 34 QVariantAnimation* Dtk::Widget::DButtonBoxPrivate::m_hoverAnimation
src/widgets/private/dbuttonbox_p.h 35 QVariantAnimation* Dtk::Widget::DButtonBoxPrivate::m_checkMoveAnimation
deepin-ci-robot commented 1 month ago

deepin pr auto review

关键摘要:

是否建议立即修改:

这些修改主要是为了增强DButtonBox按钮的视觉效果和用户交互体验。特别是悬停和阴影效果,以及动画效果的实现,这些改进可以提高用户界面的吸引力和用户体验。然而,需要注意的是,这些修改可能会影响性能,特别是在频繁切换悬停和选中状态时。因此,建议在实际项目中进行性能测试,并根据需要进行优化。