Module implementing the Editor Highlighting Styles configuration page.
NoFontsOption |
EditorHighlightingStylesPage | Class implementing the Editor Highlighting Styles configuration page. |
create | Module function to create the configuration page. |
Class implementing the Editor Highlighting Styles configuration page.
FAMILYANDSIZE |
FAMILYONLY |
FONT |
SIZEONLY |
StyleRole |
SubstyleRole |
None |
EditorHighlightingStylesPage | Constructor |
__allFontsButtonMenuTriggered | Private slot used to change the font of all styles of a selected lexer. |
__changeFont | Private slot to change the highlighter font. |
__currentStyles | Private method to get the styles of the current item. |
__exportStyles | Private method to export the styles of the given lexers. |
__fontButtonMenuTriggered | Private slot used to select the font of the selected style and lexer. |
__importStyles | Private method to import the styles of the given lexers. |
__setToDefault | Private method to set a specific style to its default values. |
__styleAllItems | Private method to style all items of the style element list. |
__styleOneItem | Private method to style one item of the style element list. |
__stylesForItem | Private method to get the style and sub-style number of the given item. |
on_addSubstyleButton_clicked | Private slot to add a new sub-style. |
on_allBackgroundColoursButton_clicked | Private method used to select the background colour of all styles of a selected lexer. |
on_allDefaultButton_clicked | Private method to set all styles to their default values. |
on_allEolFillButton_clicked | Private method used to set the eolfill for all styles of a selected lexer. |
on_backgroundButton_clicked | Private method used to select the background colour of the selected style and lexer. |
on_copySubstyleButton_clicked | Private slot to copy the selected sub-style. |
on_defaultButton_clicked | Private method to set the current style to its default values. |
on_defaultSubstylesButton_clicked | Private slot to reset all substyles to default values. |
on_deleteSubstyleButton_clicked | Private slot to delete the selected sub-style. |
on_editSubstyleButton_clicked | Private slot to edit the selected sub-style entry. |
on_eolfillCheckBox_clicked | Private method used to set the eolfill for the selected style and lexer. |
on_exportAllButton_clicked | Private slot to export the styles of all lexers. |
on_exportCurrentButton_clicked | Private slot to export the styles of the current lexer. |
on_foregroundButton_clicked | Private method used to select the foreground colour of the selected style and lexer. |
on_importAllButton_clicked | Private slot to import the styles of all lexers. |
on_importCurrentButton_clicked | Private slot to import the styles of the current lexer. |
on_lexerLanguageComboBox_activated | Private slot to fill the style combo of the source page. |
on_styleElementList_currentItemChanged | Private method to handle a change of the current row. |
save | Public slot to save the Editor Highlighting Styles configuration. |
saveState | Public method to save the current state of the widget. |
setFont | Local function to set the font. |
setSampleFont | Local function to set the font of the sample text. |
setState | Public method to set the state of the widget. |
None |
Constructor
Private slot used to change the font of all styles of a selected lexer.
Private slot to change the highlighter font.
Private method to get the styles of the current item.
Private method to export the styles of the given lexers.
Private slot used to select the font of the selected style and lexer.
Private method to import the styles of the given lexers.
Private method to set a specific style to its default values.
Private method to style all items of the style element list.
Private method to style one item of the style element list.
Private method to get the style and sub-style number of the given item.
Private slot to add a new sub-style.
Private method used to select the background colour of all styles of a selected lexer.
Private method to set all styles to their default values.
Private method used to set the eolfill for all styles of a selected lexer.
Private method used to select the background colour of the selected style and lexer.
Private slot to copy the selected sub-style.
Private method to set the current style to its default values.
Private slot to reset all substyles to default values.
Private slot to delete the selected sub-style.
Private slot to edit the selected sub-style entry.
Private method used to set the eolfill for the selected style and lexer.
Private slot to export the styles of all lexers.
Private slot to export the styles of the current lexer.
Private method used to select the foreground colour of the selected style and lexer.
Private slot to import the styles of all lexers.
Private slot to import the styles of the current lexer.
Private slot to fill the style combo of the source page.
Private method to handle a change of the current row.
Public slot to save the Editor Highlighting Styles configuration.
Public method to save the current state of the widget.
Local function to set the font.
Local function to set the font of the sample text.
Public method to set the state of the widget.
Module function to create the configuration page.