def set_key(self, section, key, value):
        """
        Stores given key in settings file.

        :param section: Current section to save the key into.
        :type section: unicode
        :param key: Current key to save.
        :type key: unicode
        :param value: Current key value to save.
        :type value: object
        """

        LOGGER.debug("> Saving '{0}' in '{1}' section with value: '{2}' in settings file.".format(
            key, section, foundations.strings.to_string(value)))

        self.__settings.beginGroup(section)
        self.__settings.setValue(key, QVariant(value))
        self.__settings.endGroup()