code: def get_layout_settings(self):
          
          splitsettings = self.editorwidget.editorsplitter.get_layout_settings()
          return dict(size=(self.window_size.width(), self.window_size.height()),
                      pos=(self.pos().x(), self.pos().y()),
                      is_maximized=self.isMaximized(),
                      is_fullscreen=self.isFullScreen(),
                      hexstate=qbytearray_to_str(self.saveState()),
                      splitsettings=splitsettings)
docs: Return layout state