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

Handler does not work on Windows. Why? #20

Open alimirzaei opened 7 years ago

alimirzaei commented 7 years ago

I write a code using this module. It works properly on Linux but does not work on windows! How can I resolve this problem in windows?

alimirzaei commented 7 years ago

ConfigManager works but QSettingManager does not work :)

mfitzp commented 7 years ago

Hi @alimirzaei when you say it doesn't work, what exactly happens?

There are complications with QSettings across different platforms, since e.g. on Windows these values can be stored via the registry, while other platforms have other mechanisms. There is a bit of hacking to convert values back to the correct type when reading.

Can you give examples of what problems you're having, and the exact version of Windows, 32 vs 64 bit, and some example source if possible. Thanks!

alimirzaei commented 7 years ago

Handler does not work. I change the textbox but the value of config does not change. When I change QSettingManager to ConfigManager, It works properly.