You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: optimize task widget UI layout and behavior
The changes include several UI improvements and functional enhancements
to the task widget:
1. Increased kMsgLabelWidth from 390 to 468 for better text display
2. Added createDestLabels flag to control destination labels creation in
conflict UI
3. Hid lbDstPath, lbRmTime and chkboxNotAskAgain widgets during
permanent delete
4. Added hover state handling for speed/time labels and buttons
visibility
5. Restructured UI creation into separate createBaseWidget method
6. Simplified enterEvent handling with QT6 compatibility
7. Adjusted button widths and spacing in conflict dialogs
8. Added preHoverSpeedStr/preHoverRmTimeStr to preserve text during
hover
9. Improved layout margins and spacings throughout the widget
Log: Improved task widget UI layout and interaction behavior
Influence:
1. Test all file operation states (copy, move, delete)
2. Verify conflict resolution dialog layouts
3. Check hover behavior on task items
4. Validate permanent delete confirmation dialog
5. Test progress display update during operations
6. Verify button visibility in different states
refactor: 优化任务小部件UI布局和行为
更改包含对任务小部件的多项UI改进和功能增强:
1. 将kMsgLabelWidth从390增加到468以改善文本显示
2. 添加createDestLabels标志控制冲突UI中目标标签的创建
3. 永久删除时隐藏lbDstPath、lbRmTime和chkboxNotAskAgain部件
4. 添加对速度/时间标签悬停状态处理和按钮可见性控制
5. 将UI创建重构为单独的createBaseWidget方法
6. 简化enterEvent处理并保持QT6兼容性
7. 调整冲突对话框中的按钮宽度和间距
8. 添加preHoverSpeedStr/preHoverRmTimeStr保存悬停期间的文本
9. 改进整个小部件的布局边距和间距
Log: 改进任务小部件UI布局和交互行为
Influence:
1. 测试所有文件操作状态(复制、移动、删除)
2. 验证冲突解决对话框布局
3. 检查任务项上的悬停行为
4. 测试永久删除确认对话框
5. 测试操作期间的进度显示更新
6. 验证不同状态下的按钮可见性
0 commit comments