Commit 82ea74e
committed
feat: add left edge click signal for dock panel
1. Added leftEdgeClicked signal in DockPanel to handle clicks on the
left margin area
2. Implemented MouseArea in QML to capture clicks on the left margin of
the dock
3. The signal emits the minimum dockOrder value among all applet items
when clicked
4. This allows special handling for edge interactions in the dock panel
Log: Added left edge click functionality for dock panel
Influence:
1. Test clicking on the left margin area of the dock panel
2. Verify that leftEdgeClicked signal is emitted with correct dockOrder
value
3. Check that the signal works with different numbers of applet items
4. Test with various dock configurations and orientations
5. Verify that the click area doesn't interfere with existing applet
functionality
feat: 为任务栏面板添加左侧边缘点击信号
1. 在DockPanel中添加leftEdgeClicked信号以处理左侧边距区域的点击
2. 在QML中实现MouseArea来捕获任务栏左侧边距的点击
3. 这使得任务栏面板能够特殊处理边缘交互
Log: 新增任务栏面板左侧边缘点击功能
Influence:
1. 测试点击任务栏面板的左侧边距区域
2. 验证leftEdgeClicked信号是否以正确的dockOrder值发射
3. 检查信号在不同数量的小程序项下的工作情况
4. 使用不同的任务栏配置和方向进行测试
5. 验证点击区域不会干扰现有小程序功能
PMS: BUG-3459311 parent c50c790 commit 82ea74e
2 files changed
+21
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| 130 | + | |
130 | 131 | | |
131 | 132 | | |
132 | 133 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
447 | 447 | | |
448 | 448 | | |
449 | 449 | | |
450 | | - | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
451 | 470 | | |
452 | 471 | | |
453 | 472 | | |
| |||
0 commit comments