def METHOD_NAME(self):
    settings = utils.get_settings()
    window_size: QtCore.QSize = settings.value("ui/window_size", QtCore.QSize(1000, 600), QtCore.QSize)
    lpw = settings.value("ui/left_pane_width", 100, int)
    self.splitter.setSizes([lpw, window_size.width() - lpw])