Commit a464328
committed
Preview point size while dragging slider
Change slider behavior so moves provide a live visual preview while commits occur only on release. setTracking(False) is set on the size slider; sliderMoved is connected to _on_slider_moved_preview to update the label and emit point_size_changed for visual-only updates, while valueChanged is connected to _on_value_changed_commit to update the label and emit point_size_commit_requested for persisting the change. This improves UX by avoiding premature commits during dragging and clarifies signal semantics.1 parent 0a7da70 commit a464328
1 file changed
Lines changed: 10 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
70 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
71 | 73 | | |
72 | 74 | | |
73 | 75 | | |
74 | | - | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
75 | 81 | | |
76 | | - | |
| 82 | + | |
77 | 83 | | |
78 | 84 | | |
79 | 85 | | |
| |||
0 commit comments