eric7/Documentation/Source/eric7.Plugins.VcsPlugins.vcsMercurial.HgImportDialog.html

Mon, 24 May 2021 11:19:57 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 24 May 2021 11:19:57 +0200
branch
eric7
changeset 8372
e0227a7c850e
child 8596
d64760b2da50
permissions
-rw-r--r--

Generated source docu for eric7.

<!DOCTYPE html>
<html><head>
<title>eric7.Plugins.VcsPlugins.vcsMercurial.HgImportDialog</title>
<meta charset="UTF-8">
<style>
body {
    background: #EDECE6;
    margin: 0em 1em 10em 1em;
    color: black;
}

h1 { color: white; background: #85774A; }
h2 { color: white; background: #85774A; }
h3 { color: white; background: #9D936E; }
h4 { color: white; background: #9D936E; }
    
a { color: #BA6D36; }

</style>
</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></dt>
<dd>
contents of the line edit (string)
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial