src/eric7/Documentation/Source/eric7.Plugins.VcsPlugins.vcsMercurial.HgRevisionsSelectionDialog.html

Mon, 09 Jan 2023 11:22:56 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 09 Jan 2023 11:22:56 +0100
branch
eric7
changeset 9686
2eee7a645cba
parent 9209
b99e7fd55fd3
child 10479
856476537696
permissions
-rw-r--r--

Moved the 'QtHelp' subpackage out of the WebBrowser package because it is used in the HelpViewer as well.

<!DOCTYPE html>
<html><head>
<title>eric7.Plugins.VcsPlugins.vcsMercurial.HgRevisionsSelectionDialog</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<a NAME="top" ID="top"></a>
<h1>eric7.Plugins.VcsPlugins.vcsMercurial.HgRevisionsSelectionDialog</h1>

<p>
Module implementing a dialog to enter the revisions for the hg diff command.
</p>
<h3>Global Attributes</h3>

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

<table>

<tr>
<td><a href="#HgRevisionsSelectionDialog">HgRevisionsSelectionDialog</a></td>
<td>Class implementing a dialog to enter the revisions for the hg diff command.</td>
</tr>
</table>
<h3>Functions</h3>

<table>
<tr><td>None</td></tr>
</table>
<hr />
<hr />
<a NAME="HgRevisionsSelectionDialog" ID="HgRevisionsSelectionDialog"></a>
<h2>HgRevisionsSelectionDialog</h2>

<p>
    Class implementing a dialog to enter the revisions for the hg diff command.
</p>
<h3>Derived from</h3>
QDialog, Ui_HgRevisionsSelectionDialog
<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="#HgRevisionsSelectionDialog.__init__">HgRevisionsSelectionDialog</a></td>
<td>Constructor</td>
</tr>
<tr>
<td><a href="#HgRevisionsSelectionDialog.__getRevision">__getRevision</a></td>
<td>Private method to generate the revision.</td>
</tr>
<tr>
<td><a href="#HgRevisionsSelectionDialog.__updateOK">__updateOK</a></td>
<td>Private slot to update the OK button.</td>
</tr>
<tr>
<td><a href="#HgRevisionsSelectionDialog.getRevisions">getRevisions</a></td>
<td>Public method to get the revisions.</td>
</tr>
</table>
<h3>Static Methods</h3>

<table>
<tr><td>None</td></tr>
</table>

<a NAME="HgRevisionsSelectionDialog.__init__" ID="HgRevisionsSelectionDialog.__init__"></a>
<h4>HgRevisionsSelectionDialog (Constructor)</h4>
<b>HgRevisionsSelectionDialog</b>(<i>tagsList, branchesList, bookmarksList=None, parent=None</i>)

<p>
        Constructor
</p>
<dl>

<dt><i>tagsList</i> (list of str)</dt>
<dd>
list of tags
</dd>
<dt><i>branchesList</i> (list of str)</dt>
<dd>
list of branches
</dd>
<dt><i>bookmarksList</i> (list of str)</dt>
<dd>
list of bookmarks
</dd>
<dt><i>parent</i> (QWidget)</dt>
<dd>
parent widget of the dialog
</dd>
</dl>
<a NAME="HgRevisionsSelectionDialog.__getRevision" ID="HgRevisionsSelectionDialog.__getRevision"></a>
<h4>HgRevisionsSelectionDialog.__getRevision</h4>
<b>__getRevision</b>(<i>no</i>)

<p>
        Private method to generate the revision.
</p>
<dl>

<dt><i>no</i> (int)</dt>
<dd>
revision number to generate (1 or 2)
</dd>
</dl>
<dl>
<dt>Return:</dt>
<dd>
revision
</dd>
</dl>
<dl>
<dt>Return Type:</dt>
<dd>
str
</dd>
</dl>
<a NAME="HgRevisionsSelectionDialog.__updateOK" ID="HgRevisionsSelectionDialog.__updateOK"></a>
<h4>HgRevisionsSelectionDialog.__updateOK</h4>
<b>__updateOK</b>(<i></i>)

<p>
        Private slot to update the OK button.
</p>
<a NAME="HgRevisionsSelectionDialog.getRevisions" ID="HgRevisionsSelectionDialog.getRevisions"></a>
<h4>HgRevisionsSelectionDialog.getRevisions</h4>
<b>getRevisions</b>(<i></i>)

<p>
        Public method to get the revisions.
</p>
<dl>
<dt>Return:</dt>
<dd>
list of two revisions
</dd>
</dl>
<dl>
<dt>Return Type:</dt>
<dd>
list of [str, str]
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial