Skip to content

TSV-53 feat(gui): implement advanced simulation controls with step back and … - #43

Merged
vernolll merged 1 commit into
mainfrom
feature/tsv-53-advanced-simulation-controls
Nov 2, 2026
Merged

vernolll merged 1 commit into
mainfrom
feature/tsv-53-advanced-simulation-controls

Conversation

@vernolll

@vernolll vernolll commented Nov 2, 2026

Copy link
Copy Markdown
Owner

Key Changes

  • Simulation Worker Logic:
    • Added stepBack() slot and rebuildSchedulerAndFastForward() helper in SimulationWorker to cleanly reset and fast-forward simulation states to current_time - 1.
    • Maintained robust initial thread configuration tracking (m_initialThreadConfigs) to ensure deterministic state replication and accurate Gantt chart/ready queue reconstruction.
  • Controller Integration:
    • Exposed stepBack() invocation from GUIController to the QML layer via queued method invocation.
  • UI Updates:
    • Added the Step Back button into the main algorithm control panel in src/qml/main.qml, with dynamic state activation (enabled only when simulation is paused and currentTime > 0).

@vernolll vernolll self-assigned this Nov 2, 2026
@vernolll vernolll added gui GUI enhancement New feature or request labels Nov 2, 2026
@vernolll
vernolll merged commit 4ea0b0a into main Nov 2, 2026
19 checks passed
@vernolll
vernolll deleted the feature/tsv-53-advanced-simulation-controls branch November 2, 2026 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request gui GUI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant