eric4.Preferences.ConfigurationPages.EditorColoursPage

Module implementing the Editor Colours configuration page.

Classes

EditorColoursPage Class implementing the Editor Colours configuration page.

Functions

create Module function to create the configuration page.


EditorColoursPage

Class implementing the Editor Colours configuration page.

Derived from

ConfigurationPageBase, Ui_EditorColoursPage

Methods

EditorColoursPage Constructor
__initEditorColoursColour Private method to initialize the colour buttons.
__selectEditorColour Private method used by the buttons selecting the marker colours.
on_calltipsBackgroundButton_clicked Private slot to set the background colour for calltips.
on_caretForegroundButton_clicked Private slot to set the foreground colour of the caret.
on_caretlineBackgroundButton_clicked Private slot to set the background colour of the caretline.
on_currentLineMarkerButton_clicked Private slot to set the colour for the highlight of the current line.
on_errorMarkerButton_clicked Private slot to set the colour for the highlight of the error line.
on_matchingBracesBackButton_clicked Private slot to set the background colour for highlighting matching braces.
on_matchingBracesButton_clicked Private slot to set the colour for highlighting matching braces.
on_nonmatchingBracesBackButton_clicked Private slot to set the background colour for highlighting nonmatching braces.
on_nonmatchingBracesButton_clicked Private slot to set the colour for highlighting nonmatching braces.
on_selectionBackgroundButton_clicked Private slot to set the background colour of the selection.
on_selectionForegroundButton_clicked Private slot to set the foreground colour of the selection.
save Public slot to save the Editor Colours configuration.

EditorColoursPage (Constructor)

EditorColoursPage()

Constructor

EditorColoursPage.__initEditorColoursColour

__initEditorColoursColour(colourstr, button)

Private method to initialize the colour buttons.

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

EditorColoursPage.__selectEditorColour

__selectEditorColour(colourstr, button)

Private method used by the buttons selecting the marker colours.

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

EditorColoursPage.on_calltipsBackgroundButton_clicked

on_calltipsBackgroundButton_clicked()

Private slot to set the background colour for calltips.

EditorColoursPage.on_caretForegroundButton_clicked

on_caretForegroundButton_clicked()

Private slot to set the foreground colour of the caret.

EditorColoursPage.on_caretlineBackgroundButton_clicked

on_caretlineBackgroundButton_clicked()

Private slot to set the background colour of the caretline.

EditorColoursPage.on_currentLineMarkerButton_clicked

on_currentLineMarkerButton_clicked()

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

EditorColoursPage.on_errorMarkerButton_clicked

on_errorMarkerButton_clicked()

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

EditorColoursPage.on_matchingBracesBackButton_clicked

on_matchingBracesBackButton_clicked()

Private slot to set the background colour for highlighting matching braces.

EditorColoursPage.on_matchingBracesButton_clicked

on_matchingBracesButton_clicked()

Private slot to set the colour for highlighting matching braces.

EditorColoursPage.on_nonmatchingBracesBackButton_clicked

on_nonmatchingBracesBackButton_clicked()

Private slot to set the background colour for highlighting nonmatching braces.

EditorColoursPage.on_nonmatchingBracesButton_clicked

on_nonmatchingBracesButton_clicked()

Private slot to set the colour for highlighting nonmatching braces.

EditorColoursPage.on_selectionBackgroundButton_clicked

on_selectionBackgroundButton_clicked()

Private slot to set the background colour of the selection.

EditorColoursPage.on_selectionForegroundButton_clicked

on_selectionForegroundButton_clicked()

Private slot to set the foreground colour of the selection.

EditorColoursPage.save

save()

Public slot to save the Editor Colours configuration.

Up


create

create(dlg)

Module function to create the configuration page.

dlg
reference to the configuration dialog
Up