Commit afd1a15
committed
feat: add sorting to tray items
Added sortRoleName and sortOrder properties to DDT.SortFilterProxyModel
to enable proper sorting of tray items by visual index in ascending
order. This ensures that tray icons are displayed in a consistent and
predictable sequence, improving the user experience by maintaining
stable icon positions.
feat: 为托盘项添加排序功能
在 DDT.SortFilterProxyModel 中添加了 sortRoleName 和 sortOrder 属性,以
支持按视觉索引升序排列托盘项。这确保了托盘图标以一致且可预测的顺序显示,
通过保持稳定的图标位置来改善用户体验。
Pms: BUG-2887451 parent ab68297 commit afd1a15
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
| 61 | + | |
60 | 62 | | |
61 | 63 | | |
62 | 64 | | |
| |||
0 commit comments