Commit cbfdbff
committed
feat: add default color mode configuration for print preview
sync with dtkwidget/develop/eagle
309f339dfa9f45921efa2b32e9a5cb7b0cd686c5
Added two new configuration options for print preview color mode
settings:
1. defaultColorMode - public setting with default value "color" for
default color mode configuration
2. colorMode - private setting for current color mode configuration with
empty default value
These configurations support v20 migration requirements for print
preview functionality, providing both a default color mode setting and
a current color mode state management. The defaultColorMode is publicly
accessible while colorMode is kept private for internal state tracking.
Log: Added default color mode configuration option for print preview
Influence:
1. Test print preview functionality with different color mode settings
2. Verify default color mode is properly applied when no specific mode
is set
3. Check configuration persistence across application sessions
4. Validate that public defaultColorMode setting can be modified by
users
5. Ensure private colorMode setting is not directly accessible to end
users
feat: 为打印预览添加默认色彩配置
新增两个打印预览色彩模式配置选项:
1. defaultColorMode - 公开设置,默认值为"color",用于配置默认色彩模式
2. colorMode - 私有设置,用于当前色彩模式配置,默认值为空
这些配置支持v20迁移的打印预览功能需求,提供默认色彩模式设置和当前色彩模
式状态管理。defaultColorMode为公开可访问,而colorMode保持私有用于内部状
态跟踪。
Log: 新增打印预览默认色彩配置选项
Influence:
1. 测试不同色彩模式设置下的打印预览功能
2. 验证未设置特定模式时默认色彩模式是否正确应用
3. 检查配置在应用程序会话间的持久性
4. 验证公开的defaultColorMode设置是否可被用户修改
5. 确保私有colorMode设置对最终用户不可直接访问1 parent 379c513 commit cbfdbff
1 file changed
Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
109 | 129 | | |
110 | 130 | | |
111 | 131 | | |
0 commit comments