eric4.Preferences.ConfigurationPages.EditorAPIsPage

Module implementing the Editor APIs configuration page.

Classes

EditorAPIsPage Class implementing the Editor APIs configuration page.

Functions

create Module function to create the configuration page.


EditorAPIsPage

Class implementing the Editor APIs configuration page.

Derived from

ConfigurationPageBase, Ui_EditorAPIsPage

Methods

EditorAPIsPage Constructor
__editorGetApisFromApiList Private slot to retrieve the api filenames from the list.
on_addApiFileButton_clicked Private slot to add the api file displayed to the listbox.
on_apiFileButton_clicked Private method to select an api file.
on_apiLanguageComboBox_activated Private slot to fill the api listbox of the api page.
on_deleteApiFileButton_clicked Private slot to delete the currently selected file of the listbox.
save Public slot to save the Editor APIs configuration.
saveState Public method to save the current state of the widget.
setState Public method to set the state of the widget.

EditorAPIsPage (Constructor)

EditorAPIsPage()

Constructor

EditorAPIsPage.__editorGetApisFromApiList

__editorGetApisFromApiList()

Private slot to retrieve the api filenames from the list.

Returns:
list of api filenames (QStringList)

EditorAPIsPage.on_addApiFileButton_clicked

on_addApiFileButton_clicked()

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

EditorAPIsPage.on_apiFileButton_clicked

on_apiFileButton_clicked()

Private method to select an api file.

EditorAPIsPage.on_apiLanguageComboBox_activated

on_apiLanguageComboBox_activated(language)

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

language
The selecte API language. (QString)

EditorAPIsPage.on_deleteApiFileButton_clicked

on_deleteApiFileButton_clicked()

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

EditorAPIsPage.save

save()

Public slot to save the Editor APIs configuration.

EditorAPIsPage.saveState

saveState()

Public method to save the current state of the widget.

Returns:
index of the selected lexer language (integer)

EditorAPIsPage.setState

setState(state)

Public method to set the state of the widget.

state
state data generated by saveState

Up


create

create(dlg)

Module function to create the configuration page.

dlg
reference to the configuration dialog
Up