pythonguis / pyqtconfig

A PyQt config manager. Keep Qt widgets in sync with an config dictionary and/or QSettings object.
Other
133 stars 33 forks source link

Is it possible to receive a signal when configurations got updated? #19

Open jokober opened 7 years ago

jokober commented 7 years ago

Hi, I want to save the dict to a database as soon as a value in the dict changed. To do so I need to know when the config dict changed. Is there any way to get a pyqtsignal?

Cheers

lamasek commented 1 year ago

for me works method updated.connect: self.cfg = QSettingsManager() self.cfg.updated.connect(self.show_config) Its not in doc, but its in example.