Auto-save Editor

Editor for the list of periodic HDF5 auto-save points in time: checkbox + date/time save instants.

Overview

quatm/GUI/editors/auto_save_editor.py provides the auto-save editor (AutoSaveEditor): a popup dialog for editing the “list of points in time” of the periodic HDF5 auto-save, where every row is one (tick mark + date/time) pair and a ticked row triggers one auto-save at the corresponding instant. The configuration is stored in a property (such as regular_auto_save_times).

Components

ComponentDescription
AutoSaveEditorAuto-save point-in-time editor (BWidget popup)
DateTimeWidgetSingle-row date/time + tick widget

Key methods

MethodDescription
load_AutoSaveEditor_propsReads the date/times and tick states from the properties (static)
update_propsWrites the date/times and tick states back to the properties (static)
update_datetime / update_tickedUpdates when the date/time / tick state of a row changes
acceptSaves the changes and closes the window

Usage

from quatm.GUI.editors.auto_save_editor import AutoSaveEditor

editor = AutoSaveEditor(props=props, max_items=20, parent=parent)
editor.show()

For a fuller description see Auto-save.