Author: HECE - University of Liege, Pierre Archambeau
Date: 2024
Copyright (c) 2024 University of Liege. All rights reserved.
This script and its content are protected by copyright law. Unauthorized
copying or distribution of this file, via any medium, is strictly prohibited.
Module Contents
-
class wolfhece.PyConfig.ConfigurationKeys[source]
Bases: enum.Enum
Using enumerated keys make sure we
can check value names at code write time
(i.e. we don’t use string which are brittle)
-
VERSION = 'Version'[source]
-
PLAY_WELCOME_SOUND = 'PlayWelcomeSound'[source]
-
TICKS_SIZE = 'TicksSize'[source]
-
TICKS_BOUNDS = 'TicksBounds'[source]
-
COLOR_BACKGROUND = 'ColorBackground'[source]
-
ACTIVE_ARRAY_PALETTE_FOR_IMAGE = 'Use active array palette for image'[source]
-
ACTIVE_RES2D_PALETTE_FOR_IMAGE = 'Use active result palette for image'[source]
-
ASSEMBLY_IMAGES = 'AssemblyImages'[source]
-
class wolfhece.PyConfig.WolfConfiguration(path=None)[source]
Holds the PyWolf configuration
-
property path: pathlib.Path[source]
Where the configuration is read/saved.
-
set_default_config()[source]
-
_check_config()[source]
-
load()[source]
-
save()[source]
-
class wolfhece.PyConfig.GlobalOptionsDialog(*args, **kw)[source]
Bases: wx.Dialog
A dialog to set global options for a WolfMapViewer.
-
push_configuration(configuration)[source]
-
pull_configuration(configuration)[source]
-
InitUI()[source]
-
OnOk(e)[source]
-
OnClose(e)[source]
-
wolfhece.PyConfig.handle_configuration_dialog(wxparent, configuration)[source]
-
wolfhece.PyConfig.cfg[source]