src/eric7/Documentation/Source/eric7.Plugins.VcsPlugins.vcsMercurial.HgImportDialog.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.Plugins.VcsPlugins.vcsMercurial.HgImportDialog</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<a NAME="top" ID="top"></a>
<h1>eric7.Plugins.VcsPlugins.vcsMercurial.HgImportDialog</h1>
<p>
Module implementing a dialog to enter data for the Mercurial import command.
</p>

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

<h3>Classes</h3>
<table>
<tr>
<td><a href="#HgImportDialog">HgImportDialog</a></td>
<td>Class implementing a dialog to enter data for the Mercurial import command.</td>
</tr>
</table>

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

<hr />
<hr />
<a NAME="HgImportDialog" ID="HgImportDialog"></a>
<h2>HgImportDialog</h2>
<p>
    Class implementing a dialog to enter data for the Mercurial import command.
</p>

<h3>Derived from</h3>
QDialog, Ui_HgImportDialog
<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="#HgImportDialog.__init__">HgImportDialog</a></td>
<td>Constructor</td>
</tr>
<tr>
<td><a href="#HgImportDialog.__updateOK">__updateOK</a></td>
<td>Private slot to update the OK button.</td>
</tr>
<tr>
<td><a href="#HgImportDialog.getParameters">getParameters</a></td>
<td>Public method to retrieve the import data.</td>
</tr>
<tr>
<td><a href="#HgImportDialog.on_patchFilePicker_textChanged">on_patchFilePicker_textChanged</a></td>
<td>Private slot to react on changes of the patch file edit.</td>
</tr>
</table>

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


<a NAME="HgImportDialog.__init__" ID="HgImportDialog.__init__"></a>
<h4>HgImportDialog (Constructor)</h4>
<b>HgImportDialog</b>(<i>vcs, parent=None</i>)
<p>
        Constructor
</p>

<dl>

<dt><i>vcs</i> (Hg)</dt>
<dd>
reference to the VCS object
</dd>
<dt><i>parent</i> (QWidget)</dt>
<dd>
reference to the parent widget
</dd>
</dl>
<a NAME="HgImportDialog.__updateOK" ID="HgImportDialog.__updateOK"></a>
<h4>HgImportDialog.__updateOK</h4>
<b>__updateOK</b>(<i></i>)
<p>
        Private slot to update the OK button.
</p>

<a NAME="HgImportDialog.getParameters" ID="HgImportDialog.getParameters"></a>
<h4>HgImportDialog.getParameters</h4>
<b>getParameters</b>(<i></i>)
<p>
        Public method to retrieve the import data.
</p>

<dl>
<dt>Return:</dt>
<dd>
tuple naming the patch file, a flag indicating to not commit,
            a commit message, a commit date, a commit user, a flag indicating
            to commit with the secret phase, a strip count and a flag
            indicating to enforce the import
</dd>
</dl>
<dl>
<dt>Return Type:</dt>
<dd>
tuple of (str, bool, str, str, str, bool, int, bool)
</dd>
</dl>
<a NAME="HgImportDialog.on_patchFilePicker_textChanged" ID="HgImportDialog.on_patchFilePicker_textChanged"></a>
<h4>HgImportDialog.on_patchFilePicker_textChanged</h4>
<b>on_patchFilePicker_textChanged</b>(<i>_txt</i>)
<p>
        Private slot to react on changes of the patch file edit.
</p>

<dl>

<dt><i>_txt</i> (str)</dt>
<dd>
contents of the line edit (unused)
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial