def METHOD_NAME(self):
    geometry = settings.outputWindowGeometry()
    if geometry:
        self.restoreGeometry(geometry)
    checked = settings.outputWindowWrapLines()
    self.wrapLinesBox.setChecked(checked)