eric6.Plugins.UiExtensionPlugins.PipInterface.PipFileSelectionDialog

Module implementing a dialog to enter a file to be processed.

Global Attributes

None

Classes

PipFileSelectionDialog Class implementing a dialog to enter a file to be processed.

Functions

None


PipFileSelectionDialog

Class implementing a dialog to enter a file to be processed.

Derived from

QDialog, Ui_PipFileSelectionDialog

Class Attributes

None

Class Methods

None

Methods

PipFileSelectionDialog Constructor
getData Public method to get the entered data.
on_filePicker_textChanged Private slot to handle entering the name of a file.

Static Methods

None

PipFileSelectionDialog (Constructor)

PipFileSelectionDialog(plugin, mode, parent=None)

Constructor

plugin (PipInterfacePlugin)
reference to the plugin object
mode (str)
mode of the dialog
parent (QWidget)
reference to the parent widget

PipFileSelectionDialog.getData

getData()

Public method to get the entered data.

Returns:
tuple with the pip command and the name of the selected file
Return Type:
tuple of (str, str)

PipFileSelectionDialog.on_filePicker_textChanged

on_filePicker_textChanged(txt)

Private slot to handle entering the name of a file.

txt (str)
name of the file
Up