asam-ev / qc-framework

Mozilla Public License 2.0
13 stars 6 forks source link

Remove runtime from configui #64

Closed romanodanilo closed 1 month ago

romanodanilo commented 1 month ago

Description

Remove from ConfigGUI all the elements related to runtime and command execution

The new ConfigGUI allows to edit and save a configuration file in a simplified version. UI is shown below:

Screenshot from 2024-05-30 10-40-15

Main changes

  1. Remove run/pause button
  2. Remove c_process_log c_runtime_control and c_runtime_thread class files
  3. Remove autostart parameter and logic since no execution start is needed anymore
  4. Add XML validation when saving XML file. Before the validation was performed only when the runtime was executed. In order to help the users writing formally valid XML, now the xml validation is performed everytime a configuration is saved. In case of error the saving is avoided and the following QDialog appears

Screenshot from 2024-05-30 11-13-53

How was the PR tested?

  1. Launched UI locally, edited and saved configuration files

Notes