eda_plugin.utility.qt_classes.QMainWindowRestore

class eda_plugin.utility.qt_classes.QMainWindowRestore(*args: Any, **kwargs: Any)

Bases: QMainWindow

QMainWindow 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.