mafw.steering_gui.dialogs.steering_text_editor

Dialog for manual editing of steering files in TOML format.

Author:

Bulgheroni Antonio (antonio.bulgheroni@ec.europa.eu)

Description:

Allow advanced users to edit the TOML serialization of the current steering builder.

Classes

SteeringTextEditor(controller[, parent])

Dialog that lets users edit the steering file directly as TOML.

TomlSyntaxHighlighter([parent])

Simple TOML syntax highlighter for the manual editor.

class mafw.steering_gui.dialogs.steering_text_editor.SteeringTextEditor(controller: SteeringController, parent: QWidget | None = None)[source]

Bases: QDialog

Dialog that lets users edit the steering file directly as TOML.

class mafw.steering_gui.dialogs.steering_text_editor.TomlSyntaxHighlighter(parent: Any = None)[source]

Bases: QSyntaxHighlighter

Simple TOML syntax highlighter for the manual editor.

mafw.steering_gui.dialogs.steering_text_editor._VALIDATION_DEBOUNCE_MS = 500

Debounce duration for TOML validation in milliseconds.