code: def __Autostart_TCP_Server_checkBox_set_ui(self):
          
  
          # Adding settings key if it doesn't exists.
          self.__settings.get_key(self.__settings_section, "autostart_tcp_server").isNull() and \
          self.__settings.set_key(self.__settings_section, "autostart_tcp_server", Qt.Checked)
  
          autostart_tcp_server = foundations.common.get_first_item(
              self.__settings.get_key(self.__settings_section, "autostart_tcp_server").toInt())
          LOGGER.debug("> Setting '{0}' with value '{1}'.".format("Autostart_TCP_Server_checkBox",
                                                                  autostart_tcp_server))
          self.Autostart_TCP_Server_checkBox.setCheckState(autostart_tcp_server)
docs: Sets the **Autostart_TCP_Server_checkBox** Widget.