refactor: Introduce ApplicationController to centralize logic
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
This commit is contained in:
@@ -168,7 +168,7 @@ void ViewportWidget::wheelEvent(QWheelEvent *event)
|
||||
update();
|
||||
}
|
||||
|
||||
void ViewportWidget::startSketch(SketchPlane plane)
|
||||
void ViewportWidget::onSketchModeStarted(SketchPlane plane)
|
||||
{
|
||||
m_currentPlane = plane;
|
||||
|
||||
@@ -237,7 +237,7 @@ void ViewportWidget::startSketch(SketchPlane plane)
|
||||
animGroup->start(QAbstractAnimation::DeleteWhenStopped);
|
||||
}
|
||||
|
||||
void ViewportWidget::saveSketch()
|
||||
void ViewportWidget::onSketchModeEnded()
|
||||
{
|
||||
auto* animGroup = new QParallelAnimationGroup(this);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user