Table of Contents

Class: PreferencesDialog | eric3/Preferences/PreferencesDialog.py
--- | ---

Class implementing a dialog for the configuration of eric3.

Base Classes |
--- | ---
PreferencesForm

Methods |
--- | ---

__init__
enableStyleList
getApisFromListBox
handleAllFonts
handleApiFile
handleApiFileAdd
handleApiFileDelete
handleApiLanguageSelected
handleBackgroundColour
handleCallTipsBackgroundColour
handleCurrentLineColour
handleDebugClientSelection
handleEolFill
handleErrorLineColour

handleFont
handleForegroundColour
handleHeaderFont
handleIdlSelection
handleInterpreterSelection
handleLayoutReset
handleLexerSelected
handleLinenumbersFont
handleMatchingBracesColour
handleNonMatchingBracesColour
handleQtDirEntered
handleQtDirSelection
handleShellFont
handleStyleSelected

handleWebbrowserSelection
handleWorkspacePreview
initDebuggerTab
initEditorTabs
initInterfaceTab
initLanguageCombo
initPrinterTab
initProjectTab
initVariousTab
initWindowViewCombo
selectColour
setPreferences

| __init__

    __init__ (
            self,
            parent=None,
            name=None,
            modal=0,
            fl=0,
            )

Constructor

| enableStyleList

    enableStyleList ( self,  b )

Private method to enable/disable the style list and related widgets.

| getApisFromListBox

    getApisFromListBox ( self )

### Private slot to retrieve the api filenames from the listbox.

#### Returns

list of api filenames (QStringList)

| handleAllFonts

    handleAllFonts ( self )

Private method used to change the font of all styles of a selected lexer.

| handleApiFile

    handleApiFile ( self )

Private method to select an api file.

| handleApiFileAdd

    handleApiFileAdd ( self )

Private slot to add the api file displayed to the listbox.

| handleApiFileDelete

    handleApiFileDelete ( self )

Private slot to delete the currently selected file of the listbox.

| handleApiLanguageSelected

    handleApiLanguageSelected ( self,  language )

Private slot to fill the api listbox of the api tab.

| handleBackgroundColour

    handleBackgroundColour ( self )

Private method used to select the background colour of the selected style and lexer.

| handleCallTipsBackgroundColour

    handleCallTipsBackgroundColour ( self )

Private slot to set the background colour for calltips.

| handleCurrentLineColour

    handleCurrentLineColour ( self )

Private slot to set the colour for the highlight of the current line.

| handleDebugClientSelection

    handleDebugClientSelection ( self )

Private slot to handle the Debug Client selection.

| handleEolFill

    handleEolFill ( self,  b )

Private method used to set the eolfill for the selected style and lexer.

| handleErrorLineColour

    handleErrorLineColour ( self )

Private slot to set the colour for the highlight of the error line.

| handleFont

    handleFont ( self )

Private method used to select the font of the selected style and lexer.

| handleForegroundColour

    handleForegroundColour ( self )

Private method used to select the foreground colour of the selected style and lexer.

| handleHeaderFont

    handleHeaderFont ( self )

Private method used to select the font for the page header.

| handleIdlSelection

    handleIdlSelection ( self )

Private slot to handle the IDL compiler selection.

| handleInterpreterSelection

    handleInterpreterSelection ( self )

Private slot to handle the Python interpreter selection.

| handleLayoutReset

    handleLayoutReset ( self )

Private method to reset layout to factory defaults

| handleLexerSelected

    handleLexerSelected ( self,  language )

Private slot to fill the style combo of the source tab.

| handleLinenumbersFont

    handleLinenumbersFont ( self )

Private method used to select the font for the editor margins.

| handleMatchingBracesColour

    handleMatchingBracesColour ( self )

Private slot to set the colour for highlighting matching braces.

| handleNonMatchingBracesColour

    handleNonMatchingBracesColour ( self )

Private slot to set the colour for highlighting nonmatching braces.

| handleQtDirEntered

    handleQtDirEntered ( self,  dir )

### Private slot to handle a change in the entered Qt directory.

#### Arguments

dir
  the entered string (QString)

| handleQtDirSelection

    handleQtDirSelection ( self )

Private slot to handle the Qt directory selection.

| handleShellFont

    handleShellFont ( self )

Private method used to select the font for the python shell.

| handleStyleSelected

    handleStyleSelected ( self,  index )

Private method to set up the style element part of the source tab.

| handleWebbrowserSelection

    handleWebbrowserSelection ( self )

Private slot to handle the Web browser selection.

| handleWorkspacePreview

    handleWorkspacePreview ( self,  workspace )

Private slot to show a preview of the selected workspace view type.

| initDebuggerTab

    initDebuggerTab ( self )

Private method to initialize the debugger tab.

| initEditorTabs

    initEditorTabs ( self )

Private method to initialize the editor tab.

| initInterfaceTab

    initInterfaceTab ( self )

Private method to initialize the interface tab.

| initLanguageCombo

    initLanguageCombo ( self )

Private method to initialize the language combobox of the interface tab.

| initPrinterTab

    initPrinterTab ( self )

Private method to initialize the printer tab.

| initProjectTab

    initProjectTab ( self )

Private method to initialize the project tab.

| initVariousTab

    initVariousTab ( self )

Private method to initialize the various tabs.

| initWindowViewCombo

    initWindowViewCombo ( self )

Private method to initialize the window view combobox of the interface tab.

| selectColour

    selectColour (
            self,
            colourstr,
            button,
            )

Private method used by the buttons selecting the marker colours.

| setPreferences

    setPreferences ( self )

Public method called to store the selected values into the preferences storage.

Table of Contents

This document was automatically generated by HappyDoc version 2.1