We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It would be nice to have a option to pass arguments to the constructor of QSettings in the QSettingsManager.
QSettings
QSettingsManager
I have made a quick fix for me to use a .ini file instead of the registry which looks something like this:
class IniSettingsManager(QSettingsManager): def __init__(self, path, defaults=None, *args, **kwargs): self.ini_path = path super(IniSettingsManager, self).__init__(defaults, *args, **kwargs) def reset(self): """ Reset the config manager to it's initialised state. This initialises QSettings, unsets all defaults and removes all handlers, maps, and hooks. """ self.settings = QSettings(self.ini_path, QSettings.IniFormat) self.handlers = {} self.handler_callbacks = {} self.defaults = {} self.maps = {} self.eventhooks = {}
The text was updated successfully, but these errors were encountered:
mfitzp
No branches or pull requests
It would be nice to have a option to pass arguments to the constructor of
QSettings
in theQSettingsManager
.I have made a quick fix for me to use a .ini file instead of the registry which looks something like this:
The text was updated successfully, but these errors were encountered: