Closed Whale107 closed 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.
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅
Doc Check bot :yellow_circle: some documents missing! File | Line | Symbol |
---|---|---|
include/widgets/dindeterminateprogressbar.h | 16 | DIndeterminateProgressbar::DIndeterminateProgressbar |
include/widgets/dindeterminateprogressbar.h | 12 | DIndeterminateProgressbar |
src/widgets/private/dindeterminateprogressbar_p.h | 19 | QWidget* DIndeterminateProgressbarPrivate::m_sliderWidget |
src/widgets/private/dindeterminateprogressbar_p.h | 20 | QTimer* DIndeterminateProgressbarPrivate::m_timer |
src/widgets/private/dindeterminateprogressbar_p.h | 21 | bool DIndeterminateProgressbarPrivate::m_leftToRight |
src/widgets/private/dindeterminateprogressbar_p.h | 22 | QWidget* DIndeterminateProgressbarPrivate::m_spotWidget |
src/widgets/private/dindeterminateprogressbar_p.h | 23 | QPropertyAnimation* DIndeterminateProgressbarPrivate::m_animation |
src/widgets/private/dindeterminateprogressbar_p.h | 17 | DIndeterminateProgressbarPrivate::DIndeterminateProgressbarPrivate |
src/widgets/private/dindeterminateprogressbar_p.h | 14 | DIndeterminateProgressbarPrivate |
I have read the CLA Document and I hereby sign the CLA.
关键摘要:
DIndeterminateProgressbarPrivate
构造函数中,m_sliderWidget
和m_spotWidget
的初始化没有设置父窗口,可能会导致窗口显示异常。m_timer
和m_animation
的定时器超时信号与动画完成信号之间可能存在冲突,可能会导致定时器无限循环。paintEvent
方法中,使用setClipping(true)
和setClipping(false)
可能会影响性能,建议使用更高效的方式来处理绘制区域。paintEvent
方法中,颜色值的硬编码可能不适用于所有主题,建议使用主题颜色来动态设置颜色。是否建议立即修改: 是
新增进度条动效和一个新进度条类
Log: