Added supportWindowEffect() function to check for both compositing and
blur window capabilities
Updated color picker button enable state to require both composite and
blur window support
Added connection to handle hasBlurWindowChanged signal for dynamic
enable state updates
This change ensures the color picker button is only enabled when both
compositing and blur window effects are supported by the window manager,
providing better user experience by preventing the button from being
enabled in environments where the picker functionality wouldn't work
properly due to missing window effects.
Log: Color picker button now requires both compositing and blur window
support to be enabled
Influence:
1. Test color picker button enable/disable state when changing window
manager compositing settings
2. Verify button state when blur window support is enabled/disabled
3. Test in environments with different window manager capabilities
4. Verify picker functionality works correctly when button is enabled
feat: 增强窗口效果支持检测
新增 supportWindowEffect() 函数检查合成和模糊窗口支持能力
更新颜色选择器按钮启用状态,要求同时具备合成和模糊窗口支持
添加处理 hasBlurWindowChanged 信号的连接,实现动态启用状态更新
此更改确保颜色选择器按钮仅在窗口管理器同时支持合成和模糊窗口效果时启用,
提供更好的用户体验,防止在缺少窗口效果的环境中启用按钮而导致功能无法正常
工作。
Log: 颜色选择器按钮现在需要同时支持合成和模糊窗口效果才能启用
Influence:
1. 测试更改窗口管理器合成设置时颜色选择器按钮的启用/禁用状态
2. 验证模糊窗口支持启用/禁用时的按钮状态
3. 在不同窗口管理器能力的环境中进行测试
4. 验证按钮启用时选择器功能正常工作
PMS: BUG-329555
The search icon button in DSearchEdit had inconsistent foreground
colors because the action button was drawn by Qt without using the
control's palette foreground color. This change replaces QAction with
QWidgetAction to ensure the search icon inherits the correct palette
colors from the parent widget.
Changed QAction to QWidgetAction and created a DIconButton widget as the
default widget for the action. This allows the search icon to properly
inherit the palette foreground color from DSearchEdit instead of using
Qt's default styling. Also updated all visibility control calls to use
defaultWidget()->setVisible() instead of action->setVisible().
Log: Fixed search icon color inconsistency in search edit controls
Influence:
1. Test search edit control in different themes to verify icon color
consistency
2. Verify search icon visibility transitions during focus changes
3. Test search functionality remains unchanged
4. Check accessibility name is preserved for the icon button
5. Verify placeholder text behavior during mode transitions
fix: 修复DSearchEdit中搜索图标颜色不一致问题
DSearchEdit中的搜索图标按钮存在前景色不一致的问题,因为操作按钮由Qt绘
制,没有使用控件的调色板前景色。本次修改将QAction替换为QWidgetAction,确
保搜索图标正确继承父部件的调色板颜色。
将QAction改为QWidgetAction,并创建DIconButton小部件作为操作的
默认小部件。这使得搜索图标能够正确从DSearchEdit继承调色板前景
色,而不是使用Qt的默认样式。同时更新了所有可见性控制调用,使用
defaultWidget()->setVisible()代替action->setVisible()。
Log: 修复搜索编辑控件中搜索图标颜色不一致问题
Influence:
1. 在不同主题下测试搜索编辑控件,验证图标颜色一致性
2. 验证焦点变化时搜索图标可见性转换
3. 测试搜索功能保持不变
4. 检查图标按钮的无障碍名称是否保留
5. 验证模式转换时的占位符文本行为
PMS: BUG-315583
Added safety checks to prevent accessing invalid tab indices
1. Added Q_ASSERT(tab) in layoutTab to ensure tab pointer is valid
2. Added d->validIndex(selected) check in paintEvent before accessing
selected tab
3. Prevents crashes when tab index might be out of bounds during layout
or painting operations
fix: 修复标签索引越界可能导致的崩溃问题
添加安全检查防止访问无效的标签索引
1. 在layoutTab中添加Q_ASSERT(tab)确保标签指针有效
2. 在paintEvent中添加d->validIndex(selected)检查,确保在访问选中标签前索
引有效
3. 防止在布局或绘制操作中因标签索引越界而导致崩溃
PMS: BUG-331085
* i18n: Translate dtkwidget.ts in ja
70% of minimum 10% translated source file: 'dtkwidget.ts'
on 'ja'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate dtkwidget.ts in pt_BR
100% translated source file: 'dtkwidget.ts'
on 'pt_BR'.
---------
Log:
* i18n: Translate dtkwidget.ts in ms
100% translated source file: 'dtkwidget.ts'
on 'ms'.
* i18n: Translate dtkwidget.ts in nl
100% translated source file: 'dtkwidget.ts'
on 'nl'.
* i18n: Translate dtkwidget.ts in fi
100% translated source file: 'dtkwidget.ts'
on 'fi'.
* i18n: Translate dtkwidget.ts in hu
100% translated source file: 'dtkwidget.ts'
on 'hu'.
* i18n: Translate dtkwidget.ts in pt_BR
100% translated source file: 'dtkwidget.ts'
on 'pt_BR'.
* i18n: Translate dtkwidget.ts in it
100% translated source file: 'dtkwidget.ts'
on 'it'.
* i18n: Translate dtkwidget.ts in ca
100% translated source file: 'dtkwidget.ts'
on 'ca'.
* i18n: Translate dtkwidget.ts in zh_HK
100% translated source file: 'dtkwidget.ts'
on 'zh_HK'.
* i18n: Translate dtkwidget.ts in ja
69% of minimum 10% translated source file: 'dtkwidget.ts'
on 'ja'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate dtkwidget.ts in pl
100% translated source file: 'dtkwidget.ts'
on 'pl'.
* i18n: Translate dtkwidget.ts in hi_IN
88% of minimum 10% translated source file: 'dtkwidget.ts'
on 'hi_IN'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate dtkwidget.ts in sq
100% translated source file: 'dtkwidget.ts'
on 'sq'.
* i18n: Translate dtkwidget.ts in nb
22% of minimum 10% translated source file: 'dtkwidget.ts'
on 'nb'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate dtkwidget.ts in ne
33% of minimum 10% translated source file: 'dtkwidget.ts'
on 'ne'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate dtkwidget.ts in de
100% translated source file: 'dtkwidget.ts'
on 'de'.
* i18n: Translate dtkwidget.ts in ug
100% translated source file: 'dtkwidget.ts'
on 'ug'.
* i18n: Translate dtkwidget.ts in pt
95% of minimum 10% translated source file: 'dtkwidget.ts'
on 'pt'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate dtkwidget.ts in hr
65% of minimum 10% translated source file: 'dtkwidget.ts'
on 'hr'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate dtkwidget.ts in uk
100% translated source file: 'dtkwidget.ts'
on 'uk'.
* i18n: Translate dtkwidget.ts in bg
22% of minimum 10% translated source file: 'dtkwidget.ts'
on 'bg'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate dtkwidget.ts in cs
100% translated source file: 'dtkwidget.ts'
on 'cs'.
* i18n: Translate dtkwidget.ts in am_ET
22% of minimum 10% translated source file: 'dtkwidget.ts'
on 'am_ET'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate dtkwidget.ts in bn
22% of minimum 10% translated source file: 'dtkwidget.ts'
on 'bn'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate dtkwidget.ts in br
33% of minimum 10% translated source file: 'dtkwidget.ts'
on 'br'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate dtkwidget.ts in es
100% translated source file: 'dtkwidget.ts'
on 'es'.
* i18n: Translate dtkwidget.ts in ko
37% of minimum 10% translated source file: 'dtkwidget.ts'
on 'ko'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate dtkwidget.ts in bo
100% translated source file: 'dtkwidget.ts'
on 'bo'.
* i18n: Translate dtkwidget.ts in az
100% translated source file: 'dtkwidget.ts'
on 'az'.
* i18n: Translate dtkwidget.ts in ast
23% of minimum 10% translated source file: 'dtkwidget.ts'
on 'ast'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate dtkwidget.ts in fa
25% of minimum 10% translated source file: 'dtkwidget.ts'
on 'fa'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate dtkwidget.ts in sr
88% of minimum 10% translated source file: 'dtkwidget.ts'
on 'sr'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate dtkwidget.ts in ru
100% translated source file: 'dtkwidget.ts'
on 'ru'.
* i18n: Translate dtkwidget.ts in fr
100% translated source file: 'dtkwidget.ts'
on 'fr'.
* i18n: Translate dtkwidget.ts in sk
22% of minimum 10% translated source file: 'dtkwidget.ts'
on 'sk'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate dtkwidget.ts in ro
88% of minimum 10% translated source file: 'dtkwidget.ts'
on 'ro'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate dtkwidget.ts in gl_ES
100% translated source file: 'dtkwidget.ts'
on 'gl_ES'.
* i18n: Translate dtkwidget.ts in eu
36% of minimum 10% translated source file: 'dtkwidget.ts'
on 'eu'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate dtkwidget.ts in ar
89% of minimum 10% translated source file: 'dtkwidget.ts'
on 'ar'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate dtkwidget.ts in sl
100% translated source file: 'dtkwidget.ts'
on 'sl'.
* i18n: Translate dtkwidget.ts in tr
100% translated source file: 'dtkwidget.ts'
on 'tr'.
* i18n: Translate dtkwidget.ts in zh_CN
100% translated source file: 'dtkwidget.ts'
on 'zh_CN'.
* i18n: Translate dtkwidget.ts in zh_TW
100% translated source file: 'dtkwidget.ts'
on 'zh_TW'.
* i18n: Translate dtkwidget.ts in lt
31% of minimum 10% translated source file: 'dtkwidget.ts'
on 'lt'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate dtkwidget.ts in id
24% of minimum 10% translated source file: 'dtkwidget.ts'
on 'id'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate dtkwidget.ts in da
33% of minimum 10% translated source file: 'dtkwidget.ts'
on 'da'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate dtkwidget.ts in es
100% translated source file: 'dtkwidget.ts'
on 'es'.
* i18n: Translate dtkwidget.ts in pt_BR
100% translated source file: 'dtkwidget.ts'
on 'pt_BR'.
* i18n: Translate dtkwidget.ts in pt_BR
100% translated source file: 'dtkwidget.ts'
on 'pt_BR'.
* i18n: Translate dtkwidget.ts in pt_BR
100% translated source file: 'dtkwidget.ts'
on 'pt_BR'.
* i18n: Translate dtkwidget.ts in pt_BR
100% translated source file: 'dtkwidget.ts'
on 'pt_BR'.
* i18n: Translate dtkwidget.ts in pt_BR
100% translated source file: 'dtkwidget.ts'
on 'pt_BR'.
* i18n: Translate dtkwidget.ts in pt_BR
100% translated source file: 'dtkwidget.ts'
on 'pt_BR'.
* i18n: Translate dtkwidget.ts in pt_BR
100% translated source file: 'dtkwidget.ts'
on 'pt_BR'.
* i18n: Translate dtkwidget.ts in pt_BR
100% translated source file: 'dtkwidget.ts'
on 'pt_BR'.
* i18n: Translate dtkwidget.ts in pt_BR
100% translated source file: 'dtkwidget.ts'
on 'pt_BR'.
* i18n: Translate dtkwidget.ts in pt_BR
100% translated source file: 'dtkwidget.ts'
on 'pt_BR'.
* i18n: Translate dtkwidget.ts in pt_BR
100% translated source file: 'dtkwidget.ts'
on 'pt_BR'.
* i18n: Translate dtkwidget.ts in pt_BR
100% translated source file: 'dtkwidget.ts'
on 'pt_BR'.
* i18n: Translate dtkwidget.ts in pt_BR
100% translated source file: 'dtkwidget.ts'
on 'pt_BR'.
* i18n: Translate dtkwidget.ts in pt_BR
100% translated source file: 'dtkwidget.ts'
on 'pt_BR'.
* i18n: Translate dtkwidget.ts in pt_BR
100% translated source file: 'dtkwidget.ts'
on 'pt_BR'.
* i18n: Translate dtkwidget.ts in pt_BR
100% translated source file: 'dtkwidget.ts'
on 'pt_BR'.
* i18n: Translate dtkwidget.ts in pt_BR
100% translated source file: 'dtkwidget.ts'
on 'pt_BR'.
* i18n: Translate dtkwidget.ts in pt_BR
100% translated source file: 'dtkwidget.ts'
on 'pt_BR'.
* i18n: Translate dtkwidget.ts in pt_BR
100% translated source file: 'dtkwidget.ts'
on 'pt_BR'.
* i18n: Translate dtkwidget.ts in pt_BR
100% translated source file: 'dtkwidget.ts'
on 'pt_BR'.
* i18n: Translate dtkwidget.ts in zh_HK
100% translated source file: 'dtkwidget.ts'
on 'zh_HK'.
* i18n: Translate dtkwidget.ts in zh_TW
100% translated source file: 'dtkwidget.ts'
on 'zh_TW'.
* i18n: Translate dtkwidget.ts in zh_CN
100% translated source file: 'dtkwidget.ts'
on 'zh_CN'.
* i18n: Translate dtkwidget.ts in lo
15% of minimum 10% translated source file: 'dtkwidget.ts'
on 'lo'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
* i18n: Translate dtkwidget.ts in lo
100% translated source file: 'dtkwidget.ts'
on 'lo'.
---------
Log:
1. Removed minimum_perc and mode settings from main section
2. Updated resource identifier from 'dwidget' to hash-based identifier
3. Cleaned up whitespace in the configuration file
The changes were made to align with Transifex's updated configuration
requirements and to standardize resource identifiers across the project.
The hash-based identifier provides better uniqueness and consistency.
Influence:
1. Verify translations are still being properly synced with Transifex
2. Check that translation files are being generated correctly
3. Ensure no regression in translation functionality
fix: 更新Transifex配置
1. 从main部分移除了minimum_perc和mode设置
2. 将资源标识符从'dwidget'更新为基于哈希的标识符
3. 清理了配置文件中的空白字符
这些更改是为了符合Transifex更新的配置要求,并使项目中的资源标识符标准
化。基于哈希的标识符提供了更好的唯一性和一致性。
Influence:
1. 验证翻译仍能正确与Transifex同步
2. 检查翻译文件是否正确生成
3. 确保翻译功能没有回归
1. Added .tx/transifex.yaml configuration file for translation
management
2. Updated license and copyright information in translation files
3. Improved Arabic translations with corrected terms and completed
missing translations
4. Updated Chinese translations for "Acknowledgements" term
5. Added various language translations (Japanese, German, French,
Italian, etc)
6. Removed SPDX headers from translation files to avoid duplication
Log: Updated translation configurations and improved translations
Influence:
1. Verify all translations display correctly in UI
2. Check translation management works with Transifex
3. Test language switching functionality
4. Validate license/copyright information in about dialogs
feat: 更新翻译配置和翻译内容
1. 新增.tx/transifex.yaml翻译管理配置文件
2. 更新翻译文件中的许可证和版权信息
3. 改进阿拉伯语翻译,修正术语并补全缺失翻译
4. 更新中文"鸣谢"翻译为"致谢"
5. 新增多种语言翻译(日语、德语、法语、意大利语等)
6. 移除翻译文件中的SPDX头以避免重复
Log: 更新翻译配置并改进翻译内容
Influence:
1. 验证所有翻译在界面中正确显示
2. 检查与Transifex的翻译管理功能
3. 测试语言切换功能
4. 验证关于对话框中的许可证/版权信息
1. Changed DStyledItemDelegate to initialize itemSpacing with -1 as
default value
2. Added spacing() method to handle negative spacing values
3. Modified setBackgroundType to only set spacing when no custom spacing
was set (spacing < 0)
4. Updated all spacing references to use the new spacing() method
Log: Fixed issue where setting background type would override custom
item spacing values
Influence:
1. Test setting custom item spacing values before/after changing
background types
2. Verify spacing behavior with different background types
(RoundedBackground, ClipCornerBackground)
3. Check layout calculations with custom spacing values
4. Test list view rendering in both LeftToRight and TopToBottom flows
fix: 修复设置背景类型会覆盖自定义间距值的问题
1. 修改 DStyledItemDelegate 默认将 itemSpacing 初始化为 -1
2. 新增 spacing() 方法处理负间距值
3. 修改 setBackgroundType 仅在未设置自定义间距时(spacing < 0)才设置
间距
4. 更新所有间距引用使用新的 spacing() 方法
Log: 修复了设置背景类型会覆盖自定义间距值的问题
Influence:
1. 测试在更改背景类型前后设置自定义间距值
2. 验证不同背景类型(RoundedBackground, ClipCornerBackground)下的间距行为
3. 检查使用自定义间距值时的布局计算
4. 测试列表视图在 LeftToRight 和 TopToBottom 两种流式布局下的渲染效果
1. Replace deprecated qAsConst with std::as_const for Qt6 compatibility
2. Update key sequence handling to use | operator instead of + for Qt6
3. Fix touch event handling for Qt6 API changes
4. Replace stateChanged with checkStateChanged for Qt6 checkbox signals
5. Add version checks for Qt6-specific API changes
6. Fix various other Qt6 deprecation warnings
These changes ensure the codebase works correctly with both Qt5 and
Qt6, addressing API changes and deprecations in Qt6 while maintaining
backward compatibility. Key technical changes include:
- Using Qt version checks for API differences
- Standardizing on newer APIs where possible
- Maintaining compatibility with both major Qt versions
fix: 解决Qt6兼容性问题
1. 使用std::as_const替代已弃用的qAsConst以兼容Qt6
2. 更新键序列处理,在Qt6中使用|运算符而非+
3. 修复Qt6中触摸事件处理的API变更
4. 将stateChanged替换为checkStateChanged以适配Qt6复选框信号
5. 添加Qt6特定API变更的版本检查
6. 修复其他Qt6弃用警告
这些修改确保代码库能正确工作在Qt5和Qt6环境下,解决了Qt6中的API变更和弃用
问题,同时保持向后兼容性。关键技术变更包括:
- 针对API差异使用Qt版本检查
- 尽可能标准化使用新API
- 保持对两个主要Qt版本的兼容性
1. Removed automatic itemSpacing adjustment in
DListView::setBackgroundType
2. Added itemSpacing() method in DStyledItemDelegate to dynamically
calculate spacing based on background type
3. Changed itemSpacing member to spacing with default value -1 to
indicate custom spacing
4. Updated all references to use the new itemSpacing() method
The changes prevent the itemSpacing value from being unintentionally
overwritten when setting backgroundType, while maintaining backward
compatibility with the default spacing values for different background
types. This gives more control to developers to set custom spacing
values that won't be overridden by background type changes.
fix: 修复设置背景类型时覆盖itemSpacing值的问题
1. 移除了DListView::setBackgroundType中自动调整itemSpacing的逻辑
2. 在DStyledItemDelegate中添加itemSpacing()方法根据背景类型动态计算间距
3. 将itemSpacing成员改为spacing并设置默认值-1表示自定义间距
4. 更新所有引用以使用新的itemSpacing()方法
这些修改防止了在设置backgroundType时意外覆盖itemSpacing值的问题,同时保
持了对不同背景类型默认间距值的向后兼容性。这为开发者提供了更多控制权,可
以设置不会被背景类型更改覆盖的自定义间距值。
1. Changed version parameter to be optional in GitHub workflow to allow
more flexible release process
2. Updated rpm spec file formatting for consistency and added %{?dist}
macro for proper package naming
The changes allow for:
- More flexible release process where version can be omitted
- Better formatted spec file with proper dist macro for package naming
fix: 使发布工作流中的版本可选并更新spec文件
1. 将GitHub工作流中的版本参数改为可选,以实现更灵活的发布流程
2. 更新rpm spec文件格式以保持一致性,并添加%{?dist}宏以正确命名包
这些更改允许:
- 更灵活的发布流程,可以省略版本号
- 格式更好的spec文件,带有正确的dist宏用于包命名
1. Replaced window_normal.dci with window_restore.dci and
window_quit_full.dci icons
2. Updated icon references in dtk-icon-theme.qrc resource file
3. Simplified title bar button drawing functions to use new icons
instead of manual drawing
4. Modified DStyle implementation to use the new icon assets
5. Improved visual consistency by using pre-made icons rather than
programmatic drawing
The changes were made to:
- Standardize window control icons across the application
- Replace programmatic drawing with higher quality vector icons
- Make the UI more maintainable by using consistent icon assets
- Prepare for future theme support by using icon resources
feat: 更新窗口控制图标和绘制逻辑
1. 用 window_restore.dci 和 window_quit_full.dci 图标替换了
window_normal.dci
2. 更新了 dtk-icon-theme.qrc 资源文件中的图标引用
3. 简化了标题栏按钮绘制函数,使用新图标替代手动绘制
4. 修改了 DStyle 实现以使用新的图标资源
5. 通过使用预制图标而非程序绘制提高了视觉一致性
这些修改的目的是:
- 标准化应用程序中的窗口控制图标
- 用更高质量的矢量图标替代程序绘制
- 通过使用一致的图标资源提高UI可维护性
- 通过使用图标资源为未来主题支持做准备
Use VERSION file to manage DTK version. VERSION file defines package version. It also decides the initial value of cached variable DTK_VERSION which controls the project version in cmake build system. VERSION file is not synchronized to DTK6, as DTK6 has its own VERSION file. One can still pass version to DTK_VERSION when running cmake configure. This is helpful for developers.
Signed-off-by: Yixue Wang <wangyixue@deepin.org>
Fixed the text elision behavior in DLabel to properly handle cases
where the label contains shortcut mnemonics. The change modifies the
Qt::TextShowMnemonic flag to only be applied when the label actually has
a shortcut (d->hasShortcut). This prevents incorrect text display when
eliding labels without shortcuts.
fix: 修正带快捷键标签的文本省略行为
修复了 DLabel 中文本省略行为,正确处理包含快捷键助记符的情况。修改了
Qt::TextShowMnemonic 标志,使其仅在标签实际具有快捷键(d->hasShortcut)时
应用。这防止了在没有快捷键的标签上出现错误的文本显示。
pms: BUG-285143
1. Removed fixed font-size from website link template to use consistent
font sizing
2. Added font binding for website label using font manager with T8 size
and Medium weight
3. This ensures consistent typography across the application and better
accessibility
style: 调整关于对话框中网站链接样式
1. 从网站链接模板中移除固定字体大小,改用一致的字体大小设置
2. 为网站标签添加字体管理器绑定,使用T8大小和中等等级
3. 确保应用程序中一致的排版和更好的可访问性
pms: BUG-314767
QApplication::notify has change the default action
``` qapplication.cpp
we.setAccepted(true);
we.m_spont = wheel->spontaneous() && w == receiver;
res = d->notify_helper(w, &we);
eventAccepted = we.isAccepted();
```
Event is accepted if we don't call parent class event function,
it cause event will not be passed on to it's parentWidget.
and it's different with qt5.
pms: BUG-306251
acknowledgementLabel is wild pointer if DDialog::clearContents
is called.
aboutDialog->setLicenseEnabled is not need to call when reactive
the dialog
pms: TASK-368399
WM's animation is confliclt with Widget.
We disable DDrawer's animation when window is invisible, and
can use D_DTK_DISABLE_ANIMATIONS to disable it's animation.
pms:BUG-242611
it's maybe a feature for qt6, we can't modify backingStore when
readying the widget.
``` QWidget::paintEvent(QPaintEvent *event)
QPainter pa(this);
// pa.end() // it's ok when modifing backingStore.
QImage image(window()->backingStore()->handle()->toImage());
image.detach();
```
pms:BUG-304317