eric6.PipInterface.PipFileSelectionDialog
Module implementing a dialog to enter a file to be processed.
Global Attributes
Classes
Functions
PipFileSelectionDialog
Class implementing a dialog to enter a file to be processed.
Derived from
QDialog, Ui_PipFileSelectionDialog
Class Attributes
Class Methods
Methods
Static Methods
PipFileSelectionDialog (Constructor)
PipFileSelectionDialog(pip, mode, install=True, parent=None)
Constructor
- pip (Pip)
-
reference to the pip object
- mode (str)
-
mode of the dialog
- install (bool)
-
flag indicating an install action
- parent (QWidget)
-
reference to the parent widget
PipFileSelectionDialog.getData
getData()
Public method to get the entered data.
- Returns:
-
tuple with the name of the selected file and a flag indicating
to install to the user install directory
- Return Type:
-
tuple of (str, bool)
PipFileSelectionDialog.on_filePicker_textChanged
on_filePicker_textChanged(txt)
Private slot to handle entering the name of a file.
- txt (str)
-
name of the file