code: def __Restore_Geometry_On_Layout_Change_checkBox_set_ui(self):
          
  
          # Adding settings key if it doesn't exists.
          self.__settings.get_key("Settings", "restore_geometry_on_layout_change").isNull() and \
          self.__settings.set_key("Settings", "restore_geometry_on_layout_change", Qt.Unchecked)
  
          restore_geometry_on_layout_change = foundations.common.get_first_item(
              self.__settings.get_key("Settings", "restore_geometry_on_layout_change").toInt())
          LOGGER.debug("> Setting '{0}' with value '{1}'.".format("Restore_Geometry_On_Layout_Change_checkBox",
                                                                  restore_geometry_on_layout_change))
          self.Restore_Geometry_On_Layout_Change_checkBox.setCheckState(restore_geometry_on_layout_change)
          self.__engine.layouts_manager.restore_geometry_on_layout_change = True if restore_geometry_on_layout_change else False
docs: Sets the **Restore_Geometry_On_Layout_Change_checkBox** Widget.