eric4.Preferences.ConfigurationPages.ProgramsPage

Module implementing the Programs page.

Classes

ProgramsPage Class implementing the Programs page.

Functions

create Module function to create the configuration page.


ProgramsPage

Class implementing the Programs page.

Derived from

ConfigurationPageBase, Ui_ProgramsPage

Methods

ProgramsPage Constructor
__createEntry Private method to generate a program entry.
__createProgramEntry Private method to generate a program entry.
on_programsSearchButton_clicked Private slot to search for all supported/required programs.
save Public slot to save the configuration (do nothing implementation).

ProgramsPage (Constructor)

ProgramsPage(dlg)

Constructor

dlg
reference to the configuration dialog

ProgramsPage.__createEntry

__createEntry(description, entryText, entryVersion)

Private method to generate a program entry.

description
descriptive text (string or QString)
entryText
text to show (string or QString)
entryVersion
version string to show (string or QString).

ProgramsPage.__createProgramEntry

__createProgramEntry(description, exe, versionCommand = "", versionStartsWith = "", versionPosition = 0, version = "")

Private method to generate a program entry.

description
descriptive text (string or QString)
exe
name of the executable program (string)
versionCommand
command line switch to get the version info (string). if this is empty, the given version will be shown.
versionStartsWith
start of line identifying version info (string)
versionPosition
index of part containing the version info (integer)
version=
version string to show (string).
Returns:
version string of detected or given version (string)

ProgramsPage.on_programsSearchButton_clicked

on_programsSearchButton_clicked()

Private slot to search for all supported/required programs.

ProgramsPage.save

save()

Public slot to save the configuration (do nothing implementation).

Up


create

create(dlg)

Module function to create the configuration page.

dlg
reference to the configuration dialog
Up