# Pierre Raybaut # Licensed under the terms of the CECILL License # (see guidata/__init__.py for details) """ Handle *guidata* module configuration (options, images and icons) """ import os.path as osp from guidata.configtools import add_image_module_path, get_translation from guidata.userconfig import UserConfig APP_PATH = osp.dirname(__file__) add_image_module_path("guidata", "images") _ = get_translation("guidata") DEFAULTS = { 'arrayeditor': { 'font/family/nt': ['Consolas', 'Courier New'], 'font/family/posix': 'Bitstream Vera Sans Mono', 'font/family/mac': 'Monaco', 'font/size': 9, 'font/bold': False, }, 'dicteditor': { 'font/family/nt': ['Consolas', 'Courier New'], 'font/family/posix': 'Bitstream Vera Sans Mono', 'font/family/mac': 'Monaco', 'font/size': 9, 'font/italic': False,
# Copyright © 2009-2010 CEA # Pierre Raybaut # Licensed under the terms of the CECILL License # (see guiqwt/__init__.py for details) """ guiqwt.config ------------- The `config` module handles `guiqwt` configuration (options, images and icons). """ import os.path as osp from guidata.configtools import add_image_module_path, get_translation _ = get_translation("guiqwt") def make_title(basename, count): """Make item title with *basename* and *count* number""" return "%s %s%d" % (basename, _("#"), count) APP_PATH = osp.dirname(__file__) add_image_module_path("guiqwt", "images") DEFAULTS = { 'plot': { "selection/distance": 6, "antialiasing": False, "title/font/size": 12,
# Licensed under the terms of the CECILL License # (see guiqwt/__init__.py for details) """ guiqwt.config ------------- The `config` module handles `guiqwt` configuration (options, images and icons). """ import os.path as osp from guidata.configtools import add_image_module_path, get_translation _ = get_translation( "guiqwt" ) def make_title(basename, count): """Make item title with *basename* and *count* number""" return "%s %s%d" % (basename, _("#"), count) APP_PATH = osp.dirname(__file__) add_image_module_path( "guiqwt", "images" ) DEFAULTS = { 'plot': { "selection/distance": 6, "antialiasing": False,
# Licensed under the terms of the CECILL License # (see guidata/__init__.py for details) """ Handle *guidata* module configuration (options, images and icons) """ import os.path as osp from guidata.configtools import add_image_module_path, get_translation from guidata.userconfig import UserConfig APP_PATH = osp.dirname(__file__) add_image_module_path("guidata", "images") _ = get_translation("guidata") DEFAULTS = {'arrayeditor': { 'font/family/nt': ['Consolas', 'Courier New'], 'font/family/posix': 'Bitstream Vera Sans Mono', 'font/family/mac': 'Monaco', 'font/size': 9, 'font/bold': False, }, 'dicteditor': { 'font/family/nt': ['Consolas', 'Courier New'], 'font/family/posix': 'Bitstream Vera Sans Mono', 'font/family/mac': 'Monaco', 'font/size': 9,