def restore_state(self, state): self.applets.restore_state(state["applets"]) self.log.restore_state(state["log"]) self.datasets.restore_state(state["datasets"]) self.files.restore_state(state["files"]) self.experiments.restore_state(state["experiments"]) self.restoreState(QtCore.QByteArray(state["state"])) self.restoreGeometry(QtCore.QByteArray(state["geometry"]))