src/eric7/Documentation/Source/eric7.PipInterface.PipPackagesInputDialog.html

Sat, 26 Apr 2025 12:34:32 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 26 Apr 2025 12:34:32 +0200
branch
eric7
changeset 11240
c48c615c04a3
parent 10690
fab36645aa7d
permissions
-rw-r--r--

MicroPython
- Added a configuration option to disable the support for the no longer produced Pimoroni Pico Wireless Pack.

<!DOCTYPE html>
<html><head>
<title>eric7.PipInterface.PipPackagesInputDialog</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<a NAME="top" ID="top"></a>
<h1>eric7.PipInterface.PipPackagesInputDialog</h1>
<p>
Module implementing a dialog to enter package specifications.
</p>

<h3>Global Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>

<h3>Classes</h3>
<table>
<tr>
<td><a href="#PipPackagesInputDialog">PipPackagesInputDialog</a></td>
<td>Class implementing a dialog to enter package specifications.</td>
</tr>
</table>

<h3>Functions</h3>
<table>
<tr><td>None</td></tr>
</table>

<hr />
<hr />
<a NAME="PipPackagesInputDialog" ID="PipPackagesInputDialog"></a>
<h2>PipPackagesInputDialog</h2>
<p>
    Class implementing a dialog to enter package specifications.
</p>

<h3>Derived from</h3>
QDialog, Ui_PipPackagesInputDialog
<h3>Class Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>

<h3>Class Methods</h3>
<table>
<tr><td>None</td></tr>
</table>

<h3>Methods</h3>
<table>
<tr>
<td><a href="#PipPackagesInputDialog.__init__">PipPackagesInputDialog</a></td>
<td>Constructor</td>
</tr>
<tr>
<td><a href="#PipPackagesInputDialog.getData">getData</a></td>
<td>Public method to get the entered data.</td>
</tr>
<tr>
<td><a href="#PipPackagesInputDialog.on_packagesEdit_textChanged">on_packagesEdit_textChanged</a></td>
<td>Private slot handling entering package names.</td>
</tr>
</table>

<h3>Static Methods</h3>
<table>
<tr><td>None</td></tr>
</table>


<a NAME="PipPackagesInputDialog.__init__" ID="PipPackagesInputDialog.__init__"></a>
<h4>PipPackagesInputDialog (Constructor)</h4>
<b>PipPackagesInputDialog</b>(<i>title, install=True, parent=None</i>)
<p>
        Constructor
</p>

<dl>

<dt><i>title</i> (str)</dt>
<dd>
dialog title
</dd>
<dt><i>install</i> (bool)</dt>
<dd>
flag indicating an install action
</dd>
<dt><i>parent</i> (QWidget)</dt>
<dd>
reference to the parent widget
</dd>
</dl>
<a NAME="PipPackagesInputDialog.getData" ID="PipPackagesInputDialog.getData"></a>
<h4>PipPackagesInputDialog.getData</h4>
<b>getData</b>(<i></i>)
<p>
        Public method to get the entered data.
</p>

<dl>
<dt>Return:</dt>
<dd>
tuple with the list of package specifications and a flag
            indicating to install to the user install directory
</dd>
</dl>
<dl>
<dt>Return Type:</dt>
<dd>
tuple of (list of str, bool)
</dd>
</dl>
<a NAME="PipPackagesInputDialog.on_packagesEdit_textChanged" ID="PipPackagesInputDialog.on_packagesEdit_textChanged"></a>
<h4>PipPackagesInputDialog.on_packagesEdit_textChanged</h4>
<b>on_packagesEdit_textChanged</b>(<i>txt</i>)
<p>
        Private slot handling entering package names.
</p>

<dl>

<dt><i>txt</i> (str)</dt>
<dd>
name of the requirements file
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial