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

Tue, 24 Oct 2017 19:09:09 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 24 Oct 2017 19:09:09 +0200
changeset 5928
a3809f75ca07
parent 4602
48cc4820e2c2
permissions
-rw-r--r--

Changed the logic of the two web browsers in order to put new downloads at the top of the list of downloads and add the download date and time to the shown info.

<!DOCTYPE html>
<html><head>
<title>eric6.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>eric6.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>parent=None</i>)
<p>
        Constructor
</p><dl>
<dt><i>parent</i></dt>
<dd>
reference to the parent widget (QWidget)
</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>Returns:</dt>
<dd>
tuple naming the patch file, a flag indicating to not commit,
            a commit message, a commit date, a commit user, a strip count and
            a flag indicating to enforce the import
            (string, boolean, string, string, string, integer, boolean)
</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