refactor: Move LineTool event handling to LineTool and add tool APIs

Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
This commit is contained in:
2026-02-17 10:44:56 -07:00
parent d015d171ec
commit 95a651b6b0
3 changed files with 278 additions and 262 deletions

View File

@@ -53,6 +53,9 @@ public:
bool isSnappingHorizontal() const { return m_isSnappingHorizontal; }
bool isSnappingVertical() const { return m_isSnappingVertical; }
void addLine(const gp_Pnt& start, const gp_Pnt& end);
void deactivateActiveTool();
public slots:
void onSketchModeStarted(SketchPlane plane);
void onSketchModeEnded();