4 Commits

Author SHA1 Message Date
Iwbnwif Yiw
5248d3d676 Allow aliases to be used in order to support legacy setting key names. 2024-02-06 20:48:34 +00:00
Iwbnwif Yiw
6c606f43b7 Convert the majority of settings reading in main.cpp to new model. 2024-02-06 19:57:26 +00:00
Iwbnwif Yiw
53959c4f2e Implement setting an item and access default. 2024-02-05 22:24:05 +00:00
Iwbnwif Yiw
c35fb1f489 Implement a singleton / static settingsManager
This change implements a QucsSingleton class that can be used to
make any class singleton. It also provides a new settingsManager
class which uses QucsSingleton to provide a single, static access
point to the standard QSettings functionality. A shortcut is provided
and a new method for providing a default value if the requested key
is not set.
2024-02-05 20:43:11 +00:00