src/eric7/Documentation/Source/eric7.Plugins.VcsPlugins.vcsMercurial.HgRevisionSelectionDialog.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 9236
db53a9efe7ef
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.HgRevisionSelectionDialog</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<a NAME="top" ID="top"></a>
<h1>eric7.Plugins.VcsPlugins.vcsMercurial.HgRevisionSelectionDialog</h1>

<p>
Module implementing a dialog to select a revision.
</p>
<h3>Global Attributes</h3>

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

<table>

<tr>
<td><a href="#HgRevisionSelectionDialog">HgRevisionSelectionDialog</a></td>
<td>Class implementing a dialog to select a revision.</td>
</tr>
</table>
<h3>Functions</h3>

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

<p>
    Class implementing a dialog to select a revision.
</p>
<h3>Derived from</h3>
QDialog, Ui_HgRevisionSelectionDialog
<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="#HgRevisionSelectionDialog.__init__">HgRevisionSelectionDialog</a></td>
<td>Constructor</td>
</tr>
<tr>
<td><a href="#HgRevisionSelectionDialog.__updateOK">__updateOK</a></td>
<td>Private slot to update the OK button.</td>
</tr>
<tr>
<td><a href="#HgRevisionSelectionDialog.getRevision">getRevision</a></td>
<td>Public method to retrieve the selected revision.</td>
</tr>
</table>
<h3>Static Methods</h3>

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

<a NAME="HgRevisionSelectionDialog.__init__" ID="HgRevisionSelectionDialog.__init__"></a>
<h4>HgRevisionSelectionDialog (Constructor)</h4>
<b>HgRevisionSelectionDialog</b>(<i>tagsList, branchesList, bookmarksList=None, noneLabel="", revset=True, 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>noneLabel</i> (str)</dt>
<dd>
labeltext for "no revision selected"
</dd>
<dt><i>revset</i> (bool)</dt>
<dd>
flag indicating to allow the revision or ID given as a
            revset
</dd>
<dt><i>parent</i> (QWidget)</dt>
<dd>
parent widget
</dd>
</dl>
<a NAME="HgRevisionSelectionDialog.__updateOK" ID="HgRevisionSelectionDialog.__updateOK"></a>
<h4>HgRevisionSelectionDialog.__updateOK</h4>
<b>__updateOK</b>(<i></i>)

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

<p>
        Public method to retrieve the selected revision.
</p>
<dl>
<dt>Return:</dt>
<dd>
selected revision
</dd>
</dl>
<dl>
<dt>Return Type:</dt>
<dd>
str
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial