mirror of
https://github.com/leozide/leocad.git
synced 2026-10-26 22:10:32 +00:00
In-place editing could use the tab model's step and focus, lose its active state after switching tabs, or resolve a nested instance through the wrong parent. Entering before the final animation key also moved geometry when drilling into a child. Use the edited model for step controls, step edits, visibility, and focus coordinates. Restore that editing target when returning to its tab, include animation keys and finite hide steps in the last step, and retain the selected instance path and transforms during nested editing. Show the editing path only during in-place edits, with links to ancestors and a close control to return to the tab model. Stack Find/Replace beneath it and preserve full names in accessible text and tooltips. Add translated source entries without changing existing translations. Add a regression test for final-key tracking through time and key edits. Validated with the macOS Qt 6 application build, all 8 Qt Test cases, and 51 focused checks against the compiled application for steps, tab switching, focus status, breadcrumbs, and Find/Replace layout. Visually checked the viewport overlay and its placement during nested editing.
17 lines
324 B
C++
17 lines
324 B
C++
#pragma once
|
|
|
|
#include <QtTest/QtTest>
|
|
|
|
class lcTests : public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
private slots:
|
|
void PropertyKeysAffectEquality();
|
|
void LastKeyFrameTracksTimeEdits();
|
|
void HistoryStoresOnlyChangedObjects();
|
|
void HistoryCancelsPendingEdit();
|
|
void HistoryReplaysAndMergesEdits();
|
|
void HistoryDropsRevertedMerge();
|
|
};
|