Taurus custom settings

Taurus provides a module located at its root directory called tauruscustomsettings which stores global configuration options. It can be modified permanently so that it affects all applications (use with care), or accessed at run time for setting options for the current execution.

This module contains some Taurus-wide default configurations.

The idea is that the final user may edit the values here to customize certain aspects of Taurus.

DEFAULT_QT_API = 'pyqt'

Set preffered API if not is already loaded

QT_AUTO_INIT_LOG = True

Auto initialize Qt logging to python logging

QT_AUTO_REMOVE_INPUTHOOK = True

Remove input hook (only valid for PyQt4)

QT_THEME_DIR = ''

Select the theme to be used: set the theme dir and the theme name. The path can be absolute or relative to the dir of taurus.qt.qtgui.icon If not set, the dir of taurus.qt.qtgui.icon will be used

QT_THEME_FORCE_ON_LINUX = True

In Linux the QT_THEME_NAME is not applied (to respect the system theme) setting QT_THEME_FORCE_ON_LINUX=True overrides this.

QT_THEME_NAME = 'Tango'

The name of the icon theme (e.g. ‘Tango’, ‘Oxygen’, etc). Default=’Tango’