adminandClaude Sonnet 4.6 8bb6a8e53a feat: implement transform panel UI with position, size, rotation controls
TransformPanel provides the right-panel parameter editing section:

- Position: X/Y QDoubleSpinBox (range ±99999 px, 0.1 step)
- Size: Width/Height QDoubleSpinBox (min 10 px) + 锁定宽高比例 checkbox
  - When locked and width changes, height is auto-updated to maintain ratio
  - When locked and height changes, width is auto-updated to maintain ratio
  - Locking captures the current ratio at that moment
- Rotation: angle QDoubleSpinBox + 左旋 90° / 右旋 90° buttons

Signal-loop prevention:
- set_transform() sets self._updating = True and blockSignals on all inputs
  before updating values, preventing valueChanged from re-firing _emit()
- _on_width_changed/_on_height_changed also blockSignals on the companion
  spinbox when adjusting for aspect ratio to avoid double emission

Public API:
- set_transform(TransformState): programmatic update, no signal emitted
- get_transform() -> TransformState: read current inputs
- transform_changed signal: emitted whenever user edits any input

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-16 09:06:24 +08:00
2026-06-15 16:09:32 +08:00
2026-06-15 15:53:01 +08:00
2026-06-15 16:26:55 +08:00
2026-06-15 16:44:33 +08:00
2026-06-15 15:19:30 +08:00
S
Description
自动化图生图
Readme
3.7 MiB
Languages
Python 98.5%
PowerShell 1.5%