# eric6.Preferences.__init__

Package implementing the preferences interface.

The preferences interface consists of a class, which defines the default values for all configuration items and stores the actual values. These values are read and written to the eric6 preferences file by module functions. The data is stored in a file in a subdirectory of the users home directory. The individual configuration data is accessed by accessor functions defined on the module level. The module is simply imported wherever it is needed with the statement 'import Preferences'. Do not use 'from Preferences import *' to import it.

### Global Attributes

None

### Classes

Prefs | A class to hold all configuration items for the application.

### Functions

convertPasswords | Module function to convert all passwords.
exportPreferences | Module function to export the current preferences.
getConda | Module function to retrieve the conda related settings.
getCooperation | Module function to retrieve the various Cooperation settings.
getCorba | Module function to retrieve the various Corba settings.
getDebugger | Module function to retrieve the debugger settings.
getDiffColour | Module function to retrieve the colours for the diff highlighter.
getDocuViewer | Module function to retrieve the Code Documentation Viewer related settings.
getEditor | Module function to retrieve the various editor settings.
getEditorAPI | Module function to retrieve the various lists of API files.
getEditorColour | Module function to retrieve the various editor marker colours.
getEditorExporter | Module function to retrieve the various editor exporters settings.
getEditorKeywords | Module function to retrieve the various lists of language keywords.
getEditorLexerAssoc | Module function to retrieve a lexer association.
getEditorLexerAssocs | Module function to retrieve all lexer associations.
getEditorOtherFonts | Module function to retrieve the various editor fonts except the lexer fonts.
getEditorTyping | Module function to retrieve the various editor typing settings.
getFlakes | Module function to retrieve the pyflakes related settings.
getGeometry | Module function to retrieve the display geometry.
getGraphics | Module function to retrieve the Graphics related settings.
getHelp | Module function to retrieve the various help settings.
getHexEditor | Module function to retrieve the Hex Editor related settings.
getIconEditor | Module function to retrieve the Icon Editor related settings.
getIcons | Module function to retrieve the various Icons settings.
getIrc | Module function to retrieve the IRC related settings.
getMultiProject | Module function to retrieve the various project handling settings.
getPip | Module function to retrieve the pip related settings.
getPluginManager | Module function to retrieve the plugin manager related settings.
getPrinter | Module function to retrieve the various printer settings.
getProject | Module function to retrieve the various project handling settings.
getProjectBrowserColour | Module function to retrieve the various project browser colours.
getProjectBrowserFlags | Module function to retrieve the various project browser flags settings.
getProtobuf | Module function to retrieve the various protobuf settings.
getPython | Module function to retrieve the Python settings.
getQt | Module function to retrieve the various Qt settings.
getQt4DocDir | Module function to retrieve the Qt4DocDir setting.
getQt5DocDir | Module function to retrieve the Qt5DocDir setting.
getQtTranslationsDir | Module function to retrieve the Qt4TranslationsDir or Qt5TranslationsDir setting depending on the current Qt version.
getShell | Module function to retrieve the various shell settings.
getSystem | Module function to retrieve the various system settings.
getTasks | Module function to retrieve the Tasks related settings.
getTemplates | Module function to retrieve the Templates related settings.
getTrayStarter | Module function to retrieve the tray starter related settings.
getUI | Module function to retrieve the various UI settings.
getUILanguage | Module function to retrieve the language for the user interface.
getUser | Module function to retrieve the various user settings.
getVCS | Module function to retrieve the VCS related settings.
getVarFilters | Module function to retrieve the variables filter settings.
getViewManager | Module function to retrieve the selected viewmanager type.
getWebBrowser | Module function to retrieve the various web browser settings.
importPreferences | Module function to import preferences from a file previously saved by the export function.
initPreferences | Module function to initialize the central configuration store.
initRecentSettings | Module function to initialize the central configuration store for recently opened files and projects.
isConfigured | Module function to check, if the the application has been configured.
readToolGroups | Module function to read the tool groups configuration.
removeProjectBrowserFlags | Module function to remove a project browser flags setting.
resetLayout | Module function to set a flag not storing the current layout.
saveResetLayout | Module function to save the reset layout.
saveToolGroups | Module function to write the tool groups configuration.
setConda | Module function to store the conda related settings.
setCooperation | Module function to store the various Cooperation settings.
setCorba | Module function to store the various Corba settings.
setDebugger | Module function to store the debugger settings.
setDiffColour | Module function to store the diff highlighter colours.
setDocuViewer | Module function to store the Code Documentation Viewer related settings.
setEditor | Module function to store the various editor settings.
setEditorAPI | Module function to store the various lists of API files.
setEditorColour | Module function to store the various editor marker colours.
setEditorExporter | Module function to store the various editor exporters settings.
setEditorKeywords | Module function to store the various lists of language keywords.
setEditorLexerAssocs | Module function to retrieve all lexer associations.
setEditorOtherFonts | Module function to store the various editor fonts except the lexer fonts.
setEditorTyping | Module function to store the various editor typing settings.
setFlakes | Module function to store the pyflakes related settings.
setGeometry | Module function to store the display geometry.
setGraphics | Module function to store the Graphics related settings.
setHelp | Module function to store the various help settings.
setHexEditor | Module function to store the Hex Editor related settings.
setIconEditor | Module function to store the Icon Editor related settings.
setIcons | Module function to store the various Icons settings.
setIrc | Module function to store the IRC related settings.
setMultiProject | Module function to store the various project handling settings.
setPip | Module function to store the pip related settings.
setPluginManager | Module function to store the plugin manager related settings.
setPrinter | Module function to store the various printer settings.
setProject | Module function to store the various project handling settings.
setProjectBrowserColour | Module function to store the various project browser colours.
setProjectBrowserFlags | Module function to store the various project browser flags settings.
setProjectBrowserFlagsDefault | Module function to store the various project browser flags settings.
setProtobuf | Module function to store the various protobuf settings.
setPython | Module function to store the Python settings.
setQt | Module function to store the various Qt settings.
setShell | Module function to store the various shell settings.
setSystem | Module function to store the various system settings.
setTasks | Module function to store the Tasks related settings.
setTemplates | Module function to store the Templates related settings.
setTrayStarter | Module function to store the tray starter related settings.
setUI | Module function to store the various UI settings.
setUILanguage | Module function to store the language for the user interface.
setUser | Module function to store the various user settings.
setVCS | Module function to store the VCS related settings.
setVarFilters | Module function to store the variables filter settings.
setViewManager | Module function to store the selected viewmanager type.
setWebBrowser | Module function to store the various web browser settings.
shouldResetLayout | Module function to indicate a reset of the layout.
syncPreferences | Module function to sync the preferences to disk.
toBool | Module function to convert a value to bool.
toByteArray | Module function to convert a value to a byte array.
toDict | Module function to convert a value to a dictionary.
toList | Module function to convert a value to a list.

## Prefs

A class to hold all configuration items for the application.

### Derived from

object

### Class Attributes

condaDefaults
cooperationDefaults
corbaDefaults
debuggerDefaults
diffColourDefaults
docuViewerDefaults
editorColourDefaults
editorDefaults
editorExporterDefaults
editorOtherFontsDefaults
editorTypingDefaults
geometryDefaults
graphicsDefaults
helpDefaults
hexEditorDefaults
iconEditorDefaults
iconsDefaults
ircDefaults
multiProjectDefaults
pipDefaults
pluginManagerDefaults
printerDefaults
projectBrowserColourDefaults
projectBrowserFlagsDefaults
projectDefaults
protobufDefaults
pyflakesDefaults
qtDefaults
resetLayout
shellDefaults
sysDefaults
tasksDefaults
templatesDefaults
trayStarterDefaults
uiDefaults
userDefaults
varDefaults
vcsDefaults
webBrowserDefaults
webEngineSettingsIntitialized
webSettingsIntitialized

### Class Methods

initWebEngineSettingsDefaults | Class method to initialize the web engine settings related defaults.
initWebSettingsDefaults | Class method to initialize the web settings related defaults.

### Methods

None

### Static Methods

None

#### Prefs.initWebEngineSettingsDefaults (class method)

initWebEngineSettingsDefaults()

Class method to initialize the web engine settings related defaults.

#### Prefs.initWebSettingsDefaults (class method)

initWebSettingsDefaults()

Class method to initialize the web settings related defaults.

Up

## convertPasswords

convertPasswords(oldPassword, newPassword, prefClass=Prefs)

Module function to convert all passwords.

oldPassword
  current master password (string)
newPassword
  new master password (string)
prefClass
  preferences class used as the storage area

Up

## exportPreferences

exportPreferences(prefClass=Prefs)

Module function to export the current preferences.

prefClass
  preferences class used as the storage area

Up

## getConda

getConda(key, prefClass=Prefs)

Module function to retrieve the conda related settings.

key
  the key of the value to get
prefClass
  preferences class used as the storage area

Returns:
  the requested conda value

Up

## getCooperation

getCooperation(key, prefClass=Prefs)

Module function to retrieve the various Cooperation settings.

key
  the key of the value to get
prefClass
  preferences class used as the storage area

Returns:
  the requested UI setting

Up

## getCorba

getCorba(key, prefClass=Prefs)

Module function to retrieve the various Corba settings.

key
  the key of the value to get
prefClass
  preferences class used as the storage area

Returns:
  the requested corba setting

Up

## getDebugger

getDebugger(key, prefClass=Prefs)

Module function to retrieve the debugger settings.

key
  the key of the value to get
prefClass
  preferences class used as the storage area

Returns:
  the requested debugger setting

Up

## getDiffColour

getDiffColour(key, prefClass=Prefs)

Module function to retrieve the colours for the diff highlighter.

key
  the key of the value to get
prefClass
  preferences class used as the storage area

Returns:
  the requested diff colour

Up

## getDocuViewer

getDocuViewer(key, prefClass=Prefs)

Module function to retrieve the Code Documentation Viewer related settings.

key
  the key of the value to get
prefClass
  preferences class used as the storage area

Returns:
  the requested Code Documentation Viewer value

Up

## getEditor

getEditor(key, prefClass=Prefs)

Module function to retrieve the various editor settings.

key
  the key of the value to get
prefClass
  preferences class used as the storage area

Returns:
  the requested editor setting

Up

## getEditorAPI

getEditorAPI(language, projectType="", prefClass=Prefs)

Module function to retrieve the various lists of API files.

language (str)
  language of the API list
projectType (str)
  project type of the API list
prefClass (Prefs)
  preferences class used as the storage area

Returns:
  requested list of API files

Return Type:
  list of str

Up

## getEditorColour

getEditorColour(key, prefClass=Prefs)

Module function to retrieve the various editor marker colours.

key
  the key of the value to get
prefClass
  preferences class used as the storage area

Returns:
  the requested editor colour

Up

## getEditorExporter

getEditorExporter(key, prefClass=Prefs)

Module function to retrieve the various editor exporters settings.

key
  the key of the value to get
prefClass
  preferences class used as the storage area

Returns:
  the requested editor setting

Up

## getEditorKeywords

getEditorKeywords(key, prefClass=Prefs)

Module function to retrieve the various lists of language keywords.

key
  the key of the value to get
prefClass
  preferences class used as the storage area

Returns:
  the requested list of language keywords (list of strings)

Up

## getEditorLexerAssoc

getEditorLexerAssoc(filename, prefClass=Prefs)

Module function to retrieve a lexer association.

filename
  filename used to determine the associated lexer language (string)
prefClass
  preferences class used as the storage area

Returns:
  the requested lexer language (string)

Up

## getEditorLexerAssocs

getEditorLexerAssocs(prefClass=Prefs)

Module function to retrieve all lexer associations.

prefClass
  preferences class used as the storage area

Returns:
  a reference to the list of lexer associations (dictionary of strings)

Up

## getEditorOtherFonts

getEditorOtherFonts(key, prefClass=Prefs)

Module function to retrieve the various editor fonts except the lexer fonts.

key
  the key of the value to get
prefClass
  preferences class used as the storage area

Returns:
  the requested editor font (QFont)

Up

## getEditorTyping

getEditorTyping(key, prefClass=Prefs)

Module function to retrieve the various editor typing settings.

key
  the key of the value to get
prefClass
  preferences class used as the storage area

Returns:
  the requested editor setting

Up

## getFlakes

getFlakes(key, prefClass=Prefs)

Module function to retrieve the pyflakes related settings.

key
  the key of the value to get
prefClass
  preferences class used as the storage area

Returns:
  the requested user setting

Up

## getGeometry

getGeometry(key, prefClass=Prefs)

Module function to retrieve the display geometry.

key
  the key of the value to get
prefClass
  preferences class used as the storage area

Returns:
  the requested geometry setting

Up

## getGraphics

getGraphics(key, prefClass=Prefs)

Module function to retrieve the Graphics related settings.

key
  the key of the value to get
prefClass
  preferences class used as the storage area

Returns:
  the requested user setting

Up

## getHelp

getHelp(key, prefClass=Prefs)

Module function to retrieve the various help settings.

key
  the key of the value to get
prefClass
  preferences class used as the storage area

Returns:
  the requested help setting

Up

## getHexEditor

getHexEditor(key, prefClass=Prefs)

Module function to retrieve the Hex Editor related settings.

key
  the key of the value to get
prefClass
  preferences class used as the storage area

Returns:
  the requested user setting

Up

## getIconEditor

getIconEditor(key, prefClass=Prefs)

Module function to retrieve the Icon Editor related settings.

key
  the key of the value to get
prefClass
  preferences class used as the storage area

Returns:
  the requested user setting

Up

## getIcons

getIcons(key, prefClass=Prefs)

Module function to retrieve the various Icons settings.

key
  the key of the value to get
prefClass
  preferences class used as the storage area

Returns:
  the requested Icons setting

Up

## getIrc

getIrc(key, prefClass=Prefs)

Module function to retrieve the IRC related settings.

key
  the key of the value to get
prefClass
  preferences class used as the storage area

Returns:
  the requested user setting

Up

## getMultiProject

getMultiProject(key, prefClass=Prefs)

Module function to retrieve the various project handling settings.

key
  the key of the value to get
prefClass
  preferences class used as the storage area

Returns:
  the requested project setting

Up

## getPip

getPip(key, prefClass=Prefs)

Module function to retrieve the pip related settings.

key
  the key of the value to get
prefClass
  preferences class used as the storage area

Returns:
  the requested pip value

Up

## getPluginManager

getPluginManager(key, prefClass=Prefs)

Module function to retrieve the plugin manager related settings.

key
  the key of the value to get
prefClass
  preferences class used as the storage area

Returns:
  the requested user setting

Up

## getPrinter

getPrinter(key, prefClass=Prefs)

Module function to retrieve the various printer settings.

key
  the key of the value to get
prefClass
  preferences class used as the storage area

Returns:
  the requested printer setting

Up

## getProject

getProject(key, prefClass=Prefs)

Module function to retrieve the various project handling settings.

key
  the key of the value to get
prefClass
  preferences class used as the storage area

Returns:
  the requested project setting

Up

## getProjectBrowserColour

getProjectBrowserColour(key, prefClass=Prefs)

Module function to retrieve the various project browser colours.

key
  the key of the value to get
prefClass
  preferences class used as the storage area

Returns:
  the requested project browser colour

Up

## getProjectBrowserFlags

getProjectBrowserFlags(key, prefClass=Prefs)

Module function to retrieve the various project browser flags settings.

key
  the key of the value to get
prefClass
  preferences class used as the storage area

Returns:
  the requested project setting

Up

## getProtobuf

getProtobuf(key, prefClass=Prefs)

Module function to retrieve the various protobuf settings.

key (str)
  the key of the value to get
prefClass (Prefs)
  preferences class used as the storage area

Returns:
  the requested protobuf setting

Return Type:
  any

Up

## getPython

getPython(key, prefClass=Prefs)

Module function to retrieve the Python settings.

key
  the key of the value to get
prefClass
  preferences class used as the storage area

Returns:
  the requested debugger setting

Up

## getQt

getQt(key, prefClass=Prefs)

Module function to retrieve the various Qt settings.

key
  the key of the value to get
prefClass
  preferences class used as the storage area

Returns:
  the requested Qt setting

Up

## getQt4DocDir

getQt4DocDir(prefClass=Prefs)

Module function to retrieve the Qt4DocDir setting.

prefClass
  preferences class used as the storage area

Returns:
  the requested Qt4DocDir setting (string)

Up

## getQt5DocDir

getQt5DocDir(prefClass=Prefs)

Module function to retrieve the Qt5DocDir setting.

prefClass
  preferences class used as the storage area

Returns:
  the requested Qt4DocDir setting (string)

Up

## getQtTranslationsDir

getQtTranslationsDir(prefClass=Prefs)

Module function to retrieve the Qt4TranslationsDir or Qt5TranslationsDir setting depending on the current Qt version.

prefClass
  preferences class used as the storage area

Returns:
  the requested setting (string)

Up

## getShell

getShell(key, prefClass=Prefs)

Module function to retrieve the various shell settings.

key
  the key of the value to get
prefClass
  preferences class used as the storage area

Returns:
  the requested shell setting

Up

## getSystem

getSystem(key, prefClass=Prefs)

Module function to retrieve the various system settings.

key
  the key of the value to get
prefClass
  preferences class used as the storage area

Returns:
  the requested system setting

Up

## getTasks

getTasks(key, prefClass=Prefs)

Module function to retrieve the Tasks related settings.

key
  the key of the value to get
prefClass
  preferences class used as the storage area

Returns:
  the requested user setting

Up

## getTemplates

getTemplates(key, prefClass=Prefs)

Module function to retrieve the Templates related settings.

key
  the key of the value to get
prefClass
  preferences class used as the storage area

Returns:
  the requested user setting

Up

## getTrayStarter

getTrayStarter(key, prefClass=Prefs)

Module function to retrieve the tray starter related settings.

key
  the key of the value to get
prefClass
  preferences class used as the storage area

Returns:
  the requested user setting

Up

## getUI

getUI(key, prefClass=Prefs)

Module function to retrieve the various UI settings.

key
  the key of the value to get
prefClass
  preferences class used as the storage area

Returns:
  the requested UI setting

Up

## getUILanguage

getUILanguage(prefClass=Prefs)

Module function to retrieve the language for the user interface.

prefClass
  preferences class used as the storage area

Returns:
  the language for the UI

Up

## getUser

getUser(key, prefClass=Prefs)

Module function to retrieve the various user settings.

key
  the key of the value to get
prefClass
  preferences class used as the storage area

Returns:
  the requested user setting

Up

## getVCS

getVCS(key, prefClass=Prefs)

Module function to retrieve the VCS related settings.

key
  the key of the value to get
prefClass
  preferences class used as the storage area

Returns:
  the requested user setting

Up

## getVarFilters

getVarFilters(prefClass=Prefs)

Module function to retrieve the variables filter settings.

prefClass
  preferences class used as the storage area

Returns:
  a tuple defining the variables filter

Up

## getViewManager

getViewManager(prefClass=Prefs)

Module function to retrieve the selected viewmanager type.

prefClass
  preferences class used as the storage area

Returns:
  the viewmanager type

Up

## getWebBrowser

getWebBrowser(key, prefClass=Prefs)

Module function to retrieve the various web browser settings.

key
  the key of the value to get
prefClass
  preferences class used as the storage area

Returns:
  the requested help setting

Up

## importPreferences

importPreferences(prefClass=Prefs)

Module function to import preferences from a file previously saved by the export function.

prefClass
  preferences class used as the storage area

Up

## initPreferences

initPreferences()

Module function to initialize the central configuration store.

Up

## initRecentSettings

initRecentSettings()

Module function to initialize the central configuration store for recently opened files and projects.

This function is called once upon import of the module.

Up

## isConfigured

isConfigured(prefClass=Prefs)

Module function to check, if the the application has been configured.

prefClass
  preferences class used as the storage area

Returns:
  flag indicating the configured status (boolean)

Up

## readToolGroups

readToolGroups(prefClass=Prefs)

Module function to read the tool groups configuration.

prefClass
  preferences class used as the storage area

Returns:
  list of tuples defing the tool groups

Up

## removeProjectBrowserFlags

removeProjectBrowserFlags(key, prefClass=Prefs)

Module function to remove a project browser flags setting.

key
  the key of the setting to be removed
prefClass
  preferences class used as the storage area

Up

## resetLayout

resetLayout(prefClass=Prefs)

Module function to set a flag not storing the current layout.

prefClass
  preferences class used as the storage area

Up

## saveResetLayout

saveResetLayout(prefClass=Prefs)

Module function to save the reset layout.

prefClass
  preferences class used as the storage area

Up

## saveToolGroups

saveToolGroups(toolGroups, currentGroup, prefClass=Prefs)

Module function to write the tool groups configuration.

toolGroups
  reference to the list of tool groups
currentGroup
  index of the currently selected tool group (integer)
prefClass
  preferences class used as the storage area

Up

## setConda

setConda(key, value, prefClass=Prefs)

Module function to store the conda related settings.

key
  the key of the setting to be set
value
  the value to be set
prefClass
  preferences class used as the storage area

Up

## setCooperation

setCooperation(key, value, prefClass=Prefs)

Module function to store the various Cooperation settings.

key
  the key of the setting to be set
value
  the value to be set
prefClass
  preferences class used as the storage area

Up

## setCorba

setCorba(key, value, prefClass=Prefs)

Module function to store the various Corba settings.

key
  the key of the setting to be set
value
  the value to be set
prefClass
  preferences class used as the storage area

Up

## setDebugger

setDebugger(key, value, prefClass=Prefs)

Module function to store the debugger settings.

key
  the key of the setting to be set
value
  the value to be set
prefClass
  preferences class used as the storage area

Up

## setDiffColour

setDiffColour(key, value, prefClass=Prefs)

Module function to store the diff highlighter colours.

key
  the key of the colour to be set
value
  the colour to be set
prefClass
  preferences class used as the storage area

Up

## setDocuViewer

setDocuViewer(key, value, prefClass=Prefs)

Module function to store the Code Documentation Viewer related settings.

key
  the key of the setting to be set
value
  the value to be set
prefClass
  preferences class used as the storage area

Up

## setEditor

setEditor(key, value, prefClass=Prefs)

Module function to store the various editor settings.

key
  the key of the setting to be set
value
  the value to be set
prefClass
  preferences class used as the storage area

Up

## setEditorAPI

setEditorAPI(language, projectType, apilist, prefClass=Prefs)

Module function to store the various lists of API files.

language (str)
  language of the API list
projectType (str)
  project type of the API list
apilist (list of str)
  list of API files
prefClass (Prefs)
  preferences class used as the storage area

Up

## setEditorColour

setEditorColour(key, value, prefClass=Prefs)

Module function to store the various editor marker colours.

key
  the key of the colour to be set
value
  the colour to be set
prefClass
  preferences class used as the storage area

Up

## setEditorExporter

setEditorExporter(key, value, prefClass=Prefs)

Module function to store the various editor exporters settings.

key
  the key of the setting to be set
value
  the value to be set
prefClass
  preferences class used as the storage area

Up

## setEditorKeywords

setEditorKeywords(key, keywordsLists, prefClass=Prefs)

Module function to store the various lists of language keywords.

key
  the key of the api to be set
keywordsLists
  the list of language keywords (list of strings)
prefClass
  preferences class used as the storage area

Up

## setEditorLexerAssocs

setEditorLexerAssocs(assocs, prefClass=Prefs)

Module function to retrieve all lexer associations.

assocs
  dictionary of lexer associations to be set
prefClass
  preferences class used as the storage area

Up

## setEditorOtherFonts

setEditorOtherFonts(key, font, prefClass=Prefs)

Module function to store the various editor fonts except the lexer fonts.

key
  the key of the font to be set
font
  the font to be set (QFont)
prefClass
  preferences class used as the storage area

Up

## setEditorTyping

setEditorTyping(key, value, prefClass=Prefs)

Module function to store the various editor typing settings.

key
  the key of the setting to be set
value
  the value to be set
prefClass
  preferences class used as the storage area

Up

## setFlakes

setFlakes(key, value, prefClass=Prefs)

Module function to store the pyflakes related settings.

key
  the key of the setting to be set
value
  the value to be set
prefClass
  preferences class used as the storage area

Up

## setGeometry

setGeometry(key, value, prefClass=Prefs)

Module function to store the display geometry.

key
  the key of the setting to be set
value
  the geometry to be set
prefClass
  preferences class used as the storage area

Up

## setGraphics

setGraphics(key, value, prefClass=Prefs)

Module function to store the Graphics related settings.

key
  the key of the setting to be set
value
  the value to be set
prefClass
  preferences class used as the storage area

Up

## setHelp

setHelp(key, value, prefClass=Prefs)

Module function to store the various help settings.

key
  the key of the setting to be set
value
  the value to be set
prefClass
  preferences class used as the storage area

Up

## setHexEditor

setHexEditor(key, value, prefClass=Prefs)

Module function to store the Hex Editor related settings.

key
  the key of the setting to be set
value
  the value to be set
prefClass
  preferences class used as the storage area

Up

## setIconEditor

setIconEditor(key, value, prefClass=Prefs)

Module function to store the Icon Editor related settings.

key
  the key of the setting to be set
value
  the value to be set
prefClass
  preferences class used as the storage area

Up

## setIcons

setIcons(key, value, prefClass=Prefs)

Module function to store the various Icons settings.

key
  the key of the setting to be set
value
  the value to be set
prefClass
  preferences class used as the storage area

Up

## setIrc

setIrc(key, value, prefClass=Prefs)

Module function to store the IRC related settings.

key
  the key of the setting to be set
value
  the value to be set
prefClass
  preferences class used as the storage area

Up

## setMultiProject

setMultiProject(key, value, prefClass=Prefs)

Module function to store the various project handling settings.

key
  the key of the setting to be set
value
  the value to be set
prefClass
  preferences class used as the storage area

Up

## setPip

setPip(key, value, prefClass=Prefs)

Module function to store the pip related settings.

key
  the key of the setting to be set
value
  the value to be set
prefClass
  preferences class used as the storage area

Up

## setPluginManager

setPluginManager(key, value, prefClass=Prefs)

Module function to store the plugin manager related settings.

key
  the key of the setting to be set
value
  the value to be set
prefClass
  preferences class used as the storage area

Up

## setPrinter

setPrinter(key, value, prefClass=Prefs)

Module function to store the various printer settings.

key
  the key of the setting to be set
value
  the value to be set
prefClass
  preferences class used as the storage area

Up

## setProject

setProject(key, value, prefClass=Prefs)

Module function to store the various project handling settings.

key
  the key of the setting to be set
value
  the value to be set
prefClass
  preferences class used as the storage area

Up

## setProjectBrowserColour

setProjectBrowserColour(key, value, prefClass=Prefs)

Module function to store the various project browser colours.

key
  the key of the colour to be set
value
  the colour to be set
prefClass
  preferences class used as the storage area

Up

## setProjectBrowserFlags

setProjectBrowserFlags(key, value, prefClass=Prefs)

Module function to store the various project browser flags settings.

key
  the key of the setting to be set
value
  the value to be set
prefClass
  preferences class used as the storage area

Up

## setProjectBrowserFlagsDefault

setProjectBrowserFlagsDefault(key, value, prefClass=Prefs)

Module function to store the various project browser flags settings.

key
  the key of the setting to be set
value
  the value to be set
prefClass
  preferences class used as the storage area

Up

## setProtobuf

setProtobuf(key, value, prefClass=Prefs)

Module function to store the various protobuf settings.

key (str)
  the key of the setting to be set
value (any)
  the value to be set
prefClass (Prefs)
  preferences class used as the storage area

Up

## setPython

setPython(key, value, prefClass=Prefs)

Module function to store the Python settings.

key
  the key of the setting to be set
value
  the value to be set
prefClass
  preferences class used as the storage area

Up

## setQt

setQt(key, value, prefClass=Prefs)

Module function to store the various Qt settings.

key
  the key of the setting to be set
value
  the value to be set
prefClass
  preferences class used as the storage area

Up

## setShell

setShell(key, value, prefClass=Prefs)

Module function to store the various shell settings.

key
  the key of the setting to be set
value
  the value to be set
prefClass
  preferences class used as the storage area

Up

## setSystem

setSystem(key, value, prefClass=Prefs)

Module function to store the various system settings.

key
  the key of the setting to be set
value
  the value to be set
prefClass
  preferences class used as the storage area

Up

## setTasks

setTasks(key, value, prefClass=Prefs)

Module function to store the Tasks related settings.

key
  the key of the setting to be set
value
  the value to be set
prefClass
  preferences class used as the storage area

Up

## setTemplates

setTemplates(key, value, prefClass=Prefs)

Module function to store the Templates related settings.

key
  the key of the setting to be set
value
  the value to be set
prefClass
  preferences class used as the storage area

Up

## setTrayStarter

setTrayStarter(key, value, prefClass=Prefs)

Module function to store the tray starter related settings.

key
  the key of the setting to be set
value
  the value to be set
prefClass
  preferences class used as the storage area

Up

## setUI

setUI(key, value, prefClass=Prefs)

Module function to store the various UI settings.

key
  the key of the setting to be set
value
  the value to be set
prefClass
  preferences class used as the storage area

Up

## setUILanguage

setUILanguage(lang, prefClass=Prefs)

Module function to store the language for the user interface.

lang
  the language
prefClass
  preferences class used as the storage area

Up

## setUser

setUser(key, value, prefClass=Prefs)

Module function to store the various user settings.

key
  the key of the setting to be set
value
  the value to be set
prefClass
  preferences class used as the storage area

Up

## setVCS

setVCS(key, value, prefClass=Prefs)

Module function to store the VCS related settings.

key
  the key of the setting to be set
value
  the value to be set
prefClass
  preferences class used as the storage area

Up

## setVarFilters

setVarFilters(filters, prefClass=Prefs)

Module function to store the variables filter settings.

filters
  variable filters to set
prefClass
  preferences class used as the storage area

Up

## setViewManager

setViewManager(vm, prefClass=Prefs)

Module function to store the selected viewmanager type.

vm
  the viewmanager type
prefClass
  preferences class used as the storage area

Up

## setWebBrowser

setWebBrowser(key, value, prefClass=Prefs)

Module function to store the various web browser settings.

key
  the key of the setting to be set
value
  the value to be set
prefClass
  preferences class used as the storage area

Up

## shouldResetLayout

shouldResetLayout(prefClass=Prefs)

Module function to indicate a reset of the layout.

prefClass
  preferences class used as the storage area

Returns:
  flag indicating a reset of the layout (boolean)

Up

## syncPreferences

syncPreferences(prefClass=Prefs)

Module function to sync the preferences to disk.

In addition to syncing, the central configuration store is reinitialized as well.

prefClass
  preferences class used as the storage area

Up

## toBool

toBool(value)

Module function to convert a value to bool.

value
  value to be converted

Returns:
  converted data

Up

## toByteArray

toByteArray(value)

Module function to convert a value to a byte array.

value
  value to be converted

Returns:
  converted data

Up

## toDict

toDict(value)

Module function to convert a value to a dictionary.

value
  value to be converted

Returns:
  converted data

Up

## toList

toList(value)

Module function to convert a value to a list.

value
  value to be converted

Returns:
  converted data

Up