Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content

feat(widget_state_manager): state manager for single widget

wyzula_j requested to merge feat/state-manager into main

Description

This merge request introduces a reusable WidgetStateManager class that saves and loads the state of Qt widgets to and from an INI file. An ExampleApp is included to demonstrate how the manager can be used to preserve user input for widgets such as QLineEdit, QSpinBox, and QCheckBox, however can be used for any custom widget which has defined QProperties.

Related Issues

closes #203 (closed)

Type of Change

  • Addition of a new class for widget state management.
  • Creation of an example Qt application to showcase its usage.

Potential Side Effects

  • The WidgetStateManager relies on each widget’s objectName() property for recursive state storage. If widgets lack an objectName(), the state might not be preserved.
  • Storing or loading state involves file operations. Users must have write permissions in the chosen directory.
Edited by wyzula_j

Merge request reports

Loading