Steuerung der Oberfläche über eine cfg-Datei
This commit is contained in:
@@ -484,6 +484,10 @@ class InvaldCharsConfig():
|
||||
def get(self):
|
||||
return self._characters
|
||||
|
||||
class GuiConfig(IniBasedConfig):
|
||||
"""Auslesen der Zusatzinformationen die aus dem Änderungsindex abgeleitet werden"""
|
||||
def __init__(self, config_dir='.', config_file='gui.cfg'):
|
||||
super().__init__(config_dir, config_file)
|
||||
|
||||
class Configs:
|
||||
"""Sammlung aller Configdateien """
|
||||
@@ -500,6 +504,7 @@ class Configs:
|
||||
self.Werkstoffe = WerkstoffeConfig(cfg_dir)
|
||||
self.Zusatz = ZusatzConfig(cfg_dir)
|
||||
self.InvalidChars = InvaldCharsConfig(cfg_dir)
|
||||
self.Gui = GuiConfig(cfg_dir)
|
||||
|
||||
self.TOSGruppen = TOSGroupsConfig(cfg_dir)
|
||||
self.Materialien = MaterialTransConfig(cfg_dir)
|
||||
|
||||
Reference in New Issue
Block a user