Plugin_Assistant_Eric.PluginAssistantEric

Module implementing the Eric assistant plugin.

Global Attributes

assistantEricPluginObject
author
autoactivate
className
deactivateable
error
longDescription
name
needsRestart
packageName
shortDescription
version

Classes

AssistantEricPlugin Class implementing the Eric assistant plugin.

Functions

createAutoCompletionPage Module function to create the autocompletion configuration page.
createCallTipsPage Module function to create the calltips configuration page.
getConfigData Module function returning data as required by the configuration dialog.
prepareUninstall Module function to prepare for an uninstallation.


AssistantEricPlugin

Class implementing the Eric assistant plugin.

Derived from

QObject

Class Attributes

None

Methods

AssistantEricPlugin Constructor
__checkQSql Private method to perform some checks on QSql.
__checkVersions Private method to check that the eric4 and Python versions are ok.
__initialize Private slot to (re)initialize the plugin.
__loadTranslator Private method to load the translation file.
activate Public method to activate this plugin.
deactivate Public method to deactivate this plugin.
getPreferences Public method to retrieve the various refactoring settings.
prepareUninstall Public method to prepare for an uninstallation.
setPreferences Public method to store the various refactoring settings.

AssistantEricPlugin (Constructor)

AssistantEricPlugin(ui)

Constructor

ui
reference to the user interface object (UI.UserInterface)

AssistantEricPlugin.__checkQSql

__checkQSql()

Private method to perform some checks on QSql.

Returns:
flag indicating QSql is ok (boolean)

AssistantEricPlugin.__checkVersions

__checkVersions()

Private method to check that the eric4 and Python versions are ok.

Returns:
flag indicating version is ok (boolean)

AssistantEricPlugin.__initialize

__initialize()

Private slot to (re)initialize the plugin.

AssistantEricPlugin.__loadTranslator

__loadTranslator()

Private method to load the translation file.

AssistantEricPlugin.activate

activate()

Public method to activate this plugin.

Returns:
tuple of None and activation status (boolean)

AssistantEricPlugin.deactivate

deactivate()

Public method to deactivate this plugin.

AssistantEricPlugin.getPreferences

getPreferences(key)

Public method to retrieve the various refactoring settings.

key
the key of the value to get
prefClass
preferences class used as the storage area
Returns:
the requested refactoring setting

AssistantEricPlugin.prepareUninstall

prepareUninstall()

Public method to prepare for an uninstallation.

AssistantEricPlugin.setPreferences

setPreferences(key, value)

Public method to store the various refactoring settings.

key
the key of the setting to be set (string)
value
the value to be set
prefClass
preferences class used as the storage area
Up


createAutoCompletionPage

createAutoCompletionPage(configDlg)

Module function to create the autocompletion configuration page.

Returns:
reference to the configuration page
Up


createCallTipsPage

createCallTipsPage(configDlg)

Module function to create the calltips configuration page.

Returns:
reference to the configuration page
Up


getConfigData

getConfigData()

Module function returning data as required by the configuration dialog.

Returns:
dictionary containing the relevant data
Up


prepareUninstall

prepareUninstall()

Module function to prepare for an uninstallation.

Up