Documentation/Source/eric5.Plugins.VcsPlugins.vcsMercurial.HgExportDialog.html

Tue, 13 May 2014 19:18:12 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 13 May 2014 19:18:12 +0200
branch
5_4_x
changeset 3567
d739e8de1b4f
parent 2966
f85f686981ad
permissions
-rw-r--r--

Added a utility function to handle mime types other than 'text' that are editable text files as well.

<!DOCTYPE html>
<html><head>
<title>eric5.Plugins.VcsPlugins.vcsMercurial.HgExportDialog</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>eric5.Plugins.VcsPlugins.vcsMercurial.HgExportDialog</h1>
<p>
Module implementing a dialog to enter data for the Mercurial export command.
</p>
<h3>Global Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Classes</h3>
<table>
<tr>
<td><a href="#HgExportDialog">HgExportDialog</a></td>
<td>Class documentation goes here.</td>
</tr>
</table>
<h3>Functions</h3>
<table>
<tr><td>None</td></tr>
</table>
<hr /><hr />
<a NAME="HgExportDialog" ID="HgExportDialog"></a>
<h2>HgExportDialog</h2>
<p>
    Class documentation goes here.
</p>
<h3>Derived from</h3>
QDialog, Ui_HgExportDialog
<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="#HgExportDialog.__init__">HgExportDialog</a></td>
<td>Constructor</td>
</tr><tr>
<td><a href="#HgExportDialog.__updateOK">__updateOK</a></td>
<td>Private slot to update the OK button.</td>
</tr><tr>
<td><a href="#HgExportDialog.getParameters">getParameters</a></td>
<td>Public method to retrieve the export data.</td>
</tr><tr>
<td><a href="#HgExportDialog.on_changesetsEdit_textChanged">on_changesetsEdit_textChanged</a></td>
<td>Private slot to react on changes of the changesets edit.</td>
</tr><tr>
<td><a href="#HgExportDialog.on_directoryButton_clicked">on_directoryButton_clicked</a></td>
<td>Private slot called by pressing the export directory selection button.</td>
</tr><tr>
<td><a href="#HgExportDialog.on_directoryEdit_textChanged">on_directoryEdit_textChanged</a></td>
<td>Private slot to react on changes of the export directory edit.</td>
</tr><tr>
<td><a href="#HgExportDialog.on_patternEdit_textChanged">on_patternEdit_textChanged</a></td>
<td>Private slot to react on changes of the export file name pattern edit.</td>
</tr>
</table>
<h3>Static Methods</h3>
<table>
<tr><td>None</td></tr>
</table>
<a NAME="HgExportDialog.__init__" ID="HgExportDialog.__init__"></a>
<h4>HgExportDialog (Constructor)</h4>
<b>HgExportDialog</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="HgExportDialog.__updateOK" ID="HgExportDialog.__updateOK"></a>
<h4>HgExportDialog.__updateOK</h4>
<b>__updateOK</b>(<i></i>)
<p>
        Private slot to update the OK button.
</p><a NAME="HgExportDialog.getParameters" ID="HgExportDialog.getParameters"></a>
<h4>HgExportDialog.getParameters</h4>
<b>getParameters</b>(<i></i>)
<p>
        Public method to retrieve the export data.
</p><dl>
<dt>Returns:</dt>
<dd>
tuple naming the output file name, the list of revisions to
            export, and flags indicating to compare against the second parent,
            to treat all files as text, to omit dates in the diff headers and
            to use the git extended diff format (string, list of strings,
            boolean, boolean, boolean, boolean)
</dd>
</dl><a NAME="HgExportDialog.on_changesetsEdit_textChanged" ID="HgExportDialog.on_changesetsEdit_textChanged"></a>
<h4>HgExportDialog.on_changesetsEdit_textChanged</h4>
<b>on_changesetsEdit_textChanged</b>(<i></i>)
<p>
        Private slot to react on changes of the changesets edit.
</p><a NAME="HgExportDialog.on_directoryButton_clicked" ID="HgExportDialog.on_directoryButton_clicked"></a>
<h4>HgExportDialog.on_directoryButton_clicked</h4>
<b>on_directoryButton_clicked</b>(<i></i>)
<p>
        Private slot called by pressing the export directory selection button.
</p><a NAME="HgExportDialog.on_directoryEdit_textChanged" ID="HgExportDialog.on_directoryEdit_textChanged"></a>
<h4>HgExportDialog.on_directoryEdit_textChanged</h4>
<b>on_directoryEdit_textChanged</b>(<i>txt</i>)
<p>
        Private slot to react on changes of the export directory edit.
</p><dl>
<dt><i>txt</i></dt>
<dd>
contents of the line edit (string)
</dd>
</dl><a NAME="HgExportDialog.on_patternEdit_textChanged" ID="HgExportDialog.on_patternEdit_textChanged"></a>
<h4>HgExportDialog.on_patternEdit_textChanged</h4>
<b>on_patternEdit_textChanged</b>(<i>txt</i>)
<p>
        Private slot to react on changes of the export file name pattern 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