Commit fbb8d9d
committed
fix: update copyright year and add fillMode property
Updated the copyright year from 2022 to 2026 in the SPDX headers of
DQuickDciIconImage source files. Added a new `fillMode` property to
the DQuickDciIconImage class to expose the underlying QQuickIconImage's
fillMode functionality. This includes adding the Q_PROPERTY declaration,
getter/setter methods, signal connection, and the corresponding signal.
The change ensures that the DCI icon image component can properly
control how the icon image is scaled and positioned within its bounds,
matching the capabilities of standard QML Image items.
fix: 更新版权年份并添加 fillMode 属性
将 DQuickDciIconImage 源文件 SPDX 头中的版权年份从 2022 更新至 2026。为
DQuickDciIconImage 类新增了 `fillMode` 属性,以暴露底层 QQuickIconImage
的填充模式功能。这包括添加 Q_PROPERTY 声明、getter/setter 方法、信号连接
以及对应的信号。此项更改确保 DCI 图标图像组件能够正确控制图标图像在其边
界内的缩放和定位方式,与标准 QML Image 项的功能保持一致。
PMS: BUG-3013291 parent 6307600 commit fbb8d9d
2 files changed
Lines changed: 20 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
| 184 | + | |
184 | 185 | | |
185 | 186 | | |
186 | 187 | | |
| |||
355 | 356 | | |
356 | 357 | | |
357 | 358 | | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
358 | 371 | | |
359 | 372 | | |
360 | 373 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
80 | 84 | | |
81 | 85 | | |
82 | 86 | | |
| |||
92 | 96 | | |
93 | 97 | | |
94 | 98 | | |
| 99 | + | |
95 | 100 | | |
96 | 101 | | |
97 | 102 | | |
| |||
0 commit comments