eric3.Preferences.ConfigurationDialog

Module implementing a dialog for the configuration of eric3.

Classes

ConfigurationDialog Class implementing a dialog for the configuration of eric3.

Functions

None

ConfigurationDialog

Class implementing a dialog for the configuration of eric3.

Derived from

ConfigurationForm

Methods

ConfigurationDialog Constructor
enableStyleList Private method to enable/disable the style list and related widgets.
getApisFromListBox Private slot to retrieve the api filenames from the listbox.
handleAllBackgroundColours Private method used to select the background colour of all styles of a selected lexer.
handleAllFonts Private method used to change the font of all styles of a selected lexer.
handleApiFile Private method to select an api file.
handleApiFileAdd Private slot to add the api file displayed to the listbox.
handleApiFileDelete Private slot to delete the currently selected file of the listbox.
handleApiLanguageSelected Private slot to fill the api listbox of the api tab.
handleBackgroundColour Private method used to select the background colour of the selected style and lexer.
handleCallTipsBackgroundColour Private slot to set the background colour for calltips.
handleCaretForegroundColour Private slot to set the foreground colour of the caret.
handleCaretlineBackgroundColour Private slot to set the background colour of the caretline.
handleConfigPageSelected Private slot to handle the selection of a new config page.
handleCurrentLineColour Private slot to set the colour for the highlight of the current line.
handleDebugClientSelection Private slot to handle the Debug Client selection.
handleEolFill Private method used to set the eolfill for the selected style and lexer.
handleErrorLineColour Private slot to set the colour for the highlight of the error line.
handleFont Private method used to select the font of the selected style and lexer.
handleForegroundColour Private method used to select the foreground colour of the selected style and lexer.
handleHeaderFont Private method used to select the font for the page header.
handleIconDirectory Private slot to select an icon directory.
handleIconDirectoryAdd Private slot to add the api file displayed to the listbox.
handleIconDirectoryDelete Private slot to delete the currently selected directory of the listbox.
handleIdlSelection Private slot to handle the IDL compiler selection.
handleInterpreterSelection Private slot to handle the Python interpreter selection.
handleLayoutReset Private method to reset layout to factory defaults
handleLexerSelected Private slot to fill the style combo of the source tab.
handleLinenumbersFont Private method used to select the font for the editor margins.
handleMatchingBracesColour Private slot to set the colour for highlighting matching braces.
handleMonospacedFont Private method used to select the font to be used as the monospaced font.
handleNonMatchingBracesColour Private slot to set the colour for highlighting nonmatching braces.
handlePdfviewerSelection Private slot to handle the PDF viewer selection.
handleQtDirEntered Private slot to handle a change in the entered Qt directory.
handleQtDirSelection Private slot to handle the Qt directory selection.
handleSelectionBackgroundColour Private slot to set the background colour for the selection.
handleShellFont Private method used to select the font for the python shell.
handleStyleSelected Private method to set up the style element part of the source tab.
handleUseTabs Private slot used to set the tab conversion check box.
handleWebbrowserSelection Private slot to handle the Web browser selection.
handleWorkspacePreview Private slot to show a preview of the selected workspace view type.
initDebuggerTab Private method to initialize the debugger tab.
initEditorTabs Private method to initialize the editor tab.
initIconsTab Private method to initialize the icons tab.
initInterfaceTab Private method to initialize the interface tab.
initLanguageCombo Private method to initialize the language combobox of the interface tab.
initPrinterTab Private method to initialize the printer tab.
initProjectTab Private method to initialize the project tab.
initVariousTabs Private method to initialize the various tabs.
initWindowViewCombo Private method to initialize the window view combobox of the interface tab.
moveIconDirectoryDown Private slot called to move the selected item down in the list.
moveIconDirectoryUp Private slot called to move the selected item up in the list.
selectColour Private method used by the buttons selecting the marker colours.
setPreferences Public method called to store the selected values into the preferences storage.

ConfigurationDialog (Constructor)

ConfigurationDialog(parent = None, name = None, modal = 0, fl = 0)

Constructor

fl
The window flags.
modal
Flag indicating a modal dialog. (boolean)
name
The name of this dialog. (QString)
parent
The parent widget of this dialog. (QWidget)

ConfigurationDialog.enableStyleList

enableStyleList(b)

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

b
Flag indicatin enabled or disabled state.

ConfigurationDialog.getApisFromListBox

getApisFromListBox()

Private slot to retrieve the api filenames from the listbox.

Returns

list of api filenames (QStringList)

ConfigurationDialog.handleAllBackgroundColours

handleAllBackgroundColours()

Private method used to select the background colour of all styles of a selected lexer.

ConfigurationDialog.handleAllFonts

handleAllFonts()

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

ConfigurationDialog.handleApiFile

handleApiFile()

Private method to select an api file.

ConfigurationDialog.handleApiFileAdd

handleApiFileAdd()

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

ConfigurationDialog.handleApiFileDelete

handleApiFileDelete()

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

ConfigurationDialog.handleApiLanguageSelected

handleApiLanguageSelected(language)

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

language
The selecte API language. (QString)

ConfigurationDialog.handleBackgroundColour

handleBackgroundColour()

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

ConfigurationDialog.handleCallTipsBackgroundColour

handleCallTipsBackgroundColour()

Private slot to set the background colour for calltips.

ConfigurationDialog.handleCaretForegroundColour

handleCaretForegroundColour()

Private slot to set the foreground colour of the caret.

ConfigurationDialog.handleCaretlineBackgroundColour

handleCaretlineBackgroundColour()

Private slot to set the background colour of the caretline.

ConfigurationDialog.handleConfigPageSelected

handleConfigPageSelected(itm)

Private slot to handle the selection of a new config page.

itm
reference to the selected list view item (QListViewItem)

ConfigurationDialog.handleCurrentLineColour

handleCurrentLineColour()

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

ConfigurationDialog.handleDebugClientSelection

handleDebugClientSelection()

Private slot to handle the Debug Client selection.

ConfigurationDialog.handleEolFill

handleEolFill(b)

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

b
Flag indicating enabled or disabled state.

ConfigurationDialog.handleErrorLineColour

handleErrorLineColour()

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

ConfigurationDialog.handleFont

handleFont()

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

ConfigurationDialog.handleForegroundColour

handleForegroundColour()

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

ConfigurationDialog.handleHeaderFont

handleHeaderFont()

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

ConfigurationDialog.handleIconDirectory

handleIconDirectory()

Private slot to select an icon directory.

ConfigurationDialog.handleIconDirectoryAdd

handleIconDirectoryAdd()

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

ConfigurationDialog.handleIconDirectoryDelete

handleIconDirectoryDelete()

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

ConfigurationDialog.handleIdlSelection

handleIdlSelection()

Private slot to handle the IDL compiler selection.

ConfigurationDialog.handleInterpreterSelection

handleInterpreterSelection()

Private slot to handle the Python interpreter selection.

ConfigurationDialog.handleLayoutReset

handleLayoutReset()

Private method to reset layout to factory defaults

ConfigurationDialog.handleLexerSelected

handleLexerSelected(language)

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

language
The lexer language (string or QString)

ConfigurationDialog.handleLinenumbersFont

handleLinenumbersFont()

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

ConfigurationDialog.handleMatchingBracesColour

handleMatchingBracesColour()

Private slot to set the colour for highlighting matching braces.

ConfigurationDialog.handleMonospacedFont

handleMonospacedFont()

Private method used to select the font to be used as the monospaced font.

ConfigurationDialog.handleNonMatchingBracesColour

handleNonMatchingBracesColour()

Private slot to set the colour for highlighting nonmatching braces.

ConfigurationDialog.handlePdfviewerSelection

handlePdfviewerSelection()

Private slot to handle the PDF viewer selection.

ConfigurationDialog.handleQtDirEntered

handleQtDirEntered(dir)

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

dir
the entered string (QString)

ConfigurationDialog.handleQtDirSelection

handleQtDirSelection()

Private slot to handle the Qt directory selection.

ConfigurationDialog.handleSelectionBackgroundColour

handleSelectionBackgroundColour()

Private slot to set the background colour for the selection.

ConfigurationDialog.handleShellFont

handleShellFont()

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

ConfigurationDialog.handleStyleSelected

handleStyleSelected(index)

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

index
the style index.

ConfigurationDialog.handleUseTabs

handleUseTabs(checked)

Private slot used to set the tab conversion check box.

checked
flag received from the signal (boolean)

ConfigurationDialog.handleWebbrowserSelection

handleWebbrowserSelection()

Private slot to handle the Web browser selection.

ConfigurationDialog.handleWorkspacePreview

handleWorkspacePreview(workspace)

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

workspace
Workspace view type. (string or QString)

ConfigurationDialog.initDebuggerTab

initDebuggerTab()

Private method to initialize the debugger tab.

ConfigurationDialog.initEditorTabs

initEditorTabs()

Private method to initialize the editor tab.

ConfigurationDialog.initIconsTab

initIconsTab()

Private method to initialize the icons tab.

ConfigurationDialog.initInterfaceTab

initInterfaceTab()

Private method to initialize the interface tab.

ConfigurationDialog.initLanguageCombo

initLanguageCombo()

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

ConfigurationDialog.initPrinterTab

initPrinterTab()

Private method to initialize the printer tab.

ConfigurationDialog.initProjectTab

initProjectTab()

Private method to initialize the project tab.

ConfigurationDialog.initVariousTabs

initVariousTabs()

Private method to initialize the various tabs.

ConfigurationDialog.initWindowViewCombo

initWindowViewCombo()

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

ConfigurationDialog.moveIconDirectoryDown

moveIconDirectoryDown()

Private slot called to move the selected item down in the list.

ConfigurationDialog.moveIconDirectoryUp

moveIconDirectoryUp()

Private slot called to move the selected item up in the list.

ConfigurationDialog.selectColour

selectColour(colourstr, button)

Private method used by the buttons selecting the marker colours.

button
Reference to a QButton to show the colour on.
colourstr
Colour to be set. (string)

ConfigurationDialog.setPreferences

setPreferences()

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

Up