eric7.Plugins.WizardPlugins.SetupWizard.SetupWizardDialog

Module implementing the setup.py wizard dialog.

Global Attributes

None

Classes

SetupWizardDialog Class implementing the setup.py wizard dialog.

Functions

None


SetupWizardDialog

Class implementing the setup.py wizard dialog.

It displays a dialog for entering the parameters for the setup.py code generator.

Derived from

QDialog, Ui_SetupWizardDialog

Class Attributes

None

Class Methods

None

Methods

SetupWizardDialog Constructor
__addClassifierEntry Private method to add a new entry to the list of trove classifiers.
__enableOkButton Private slot to set the state of the OK button.
__getLicenseText Private method to get the license text.
__getStartDir Private method to get the start directory for selection dialogs.
__populateClassifiers Private method to populate the classifiers.
getCode Public method to get the source code.
on_addExludePatternButton_clicked Private slot to add an exclude pattern to the list.
on_addModuleButton_clicked Private slot to add Python modules to the list.
on_addScriptButton_clicked Private slot to add scripts to the list.
on_deleteExcludePatternButton_clicked Private slot to delete the selected exclude pattern items.
on_deleteModuleButton_clicked Private slot to delete the selected script items.
on_deleteScriptButton_clicked Private slot to delete the selected script items.
on_excludePatternEdit_returnPressed Private slot handling a press of the return button of the exclude pattern edit.
on_excludePatternEdit_textChanged Private slot to handle a change of the exclude pattern text.
on_excludePatternList_itemSelectionChanged Private slot to handle a change of selected items of the exclude pattern list.
on_modulesList_itemSelectionChanged Private slot to handle a change of selected items of the modules list.
on_projectButton_clicked Private slot to populate some fields with data retrieved from the current project.
on_scriptsList_itemSelectionChanged Private slot to handle a change of selected items of the scripts list.

Static Methods

None

SetupWizardDialog (Constructor)

SetupWizardDialog(parent=None)

Constructor

parent (QWidget)
reference to the parent widget

SetupWizardDialog.__addClassifierEntry

__addClassifierEntry(classifier)

Private method to add a new entry to the list of trove classifiers.

classifier (str)
classifier containing the data for the entry

SetupWizardDialog.__enableOkButton

__enableOkButton()

Private slot to set the state of the OK button.

SetupWizardDialog.__getLicenseText

__getLicenseText()

Private method to get the license text.

Return:
license text
Return Type:
str

SetupWizardDialog.__getStartDir

__getStartDir()

Private method to get the start directory for selection dialogs.

Return:
start directory
Return Type:
str

SetupWizardDialog.__populateClassifiers

__populateClassifiers()

Private method to populate the classifiers.

SetupWizardDialog.getCode

getCode(indLevel, indString)

Public method to get the source code.

indLevel (int)
indentation level
indString (str)
string used for indentation (space or tab)
Return:
generated code
Return Type:
str

SetupWizardDialog.on_addExludePatternButton_clicked

on_addExludePatternButton_clicked()

Private slot to add an exclude pattern to the list.

SetupWizardDialog.on_addModuleButton_clicked

on_addModuleButton_clicked()

Private slot to add Python modules to the list.

SetupWizardDialog.on_addScriptButton_clicked

on_addScriptButton_clicked()

Private slot to add scripts to the list.

SetupWizardDialog.on_deleteExcludePatternButton_clicked

on_deleteExcludePatternButton_clicked()

Private slot to delete the selected exclude pattern items.

SetupWizardDialog.on_deleteModuleButton_clicked

on_deleteModuleButton_clicked()

Private slot to delete the selected script items.

SetupWizardDialog.on_deleteScriptButton_clicked

on_deleteScriptButton_clicked()

Private slot to delete the selected script items.

SetupWizardDialog.on_excludePatternEdit_returnPressed

on_excludePatternEdit_returnPressed()

Private slot handling a press of the return button of the exclude pattern edit.

SetupWizardDialog.on_excludePatternEdit_textChanged

on_excludePatternEdit_textChanged(txt)

Private slot to handle a change of the exclude pattern text.

txt (str)
text of the line edit

SetupWizardDialog.on_excludePatternList_itemSelectionChanged

on_excludePatternList_itemSelectionChanged()

Private slot to handle a change of selected items of the exclude pattern list.

SetupWizardDialog.on_modulesList_itemSelectionChanged

on_modulesList_itemSelectionChanged()

Private slot to handle a change of selected items of the modules list.

SetupWizardDialog.on_projectButton_clicked

on_projectButton_clicked()

Private slot to populate some fields with data retrieved from the current project.

SetupWizardDialog.on_scriptsList_itemSelectionChanged

on_scriptsList_itemSelectionChanged()

Private slot to handle a change of selected items of the scripts list.

Up