eda_plugin.utility.qt_classes.QWidgetRestore
- class eda_plugin.utility.qt_classes.QWidgetRestore(*args: Any, **kwargs: Any)
Bases:
QWidgetQWidget that saves its last position to the registry and loads it when opened again.
Also closes all the other windows that are open in the application.
- __init__()
Load the settings in the registry an reset position. If no present, use default.
Methods
__init__()Load the settings in the registry an reset position.
closeEvent(e)Write window size and position to config file.
- closeEvent(e)
Write window size and position to config file.