Inzarcon / JessiCa-SON

JessiCa: Serpents Obstruct None. A GUI tileset composer (and going to be configurator) for Cataclysm: Dark Days Ahead
Other
1 stars 0 forks source link

Settings Menu #8

Open Inzarcon opened 5 months ago

Inzarcon commented 5 months ago

Sooner or later the app will need a settings menu. At the very least, this would be where users can configure their hotkeys (https://github.com/Inzarcon/JessiCa-SON/issues/6). The colors for the message box may also be set here.

Qt does come with a framework for this (https://doc.qt.io/qtforpython-6/PySide6/QtCore/QSettings.html), though simple json like for profiles would also work. The latter would stay in the .config folder which has both advantages and disadvantages. Until JessiCa is more stable, I'd prefer to keep config files local by default and not cluttered throughout the user's system. Ideally, the user should be able to decide which location they prefer.

Inzarcon commented 3 months ago

There is now a main settings file, but no dedicated settings menu yet. Moved to 0.1.4. This will need be part of the refactoring effort in order to make it work with the affected modules .