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

<p>
Module implementing the Mercurial Options Dialog for a new project from the
repository.
</p>
<h3>Global Attributes</h3>

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

<table>

<tr>
<td><a href="#HgNewProjectOptionsDialog">HgNewProjectOptionsDialog</a></td>
<td>Class implementing the Options Dialog for a new project from the repository.</td>
</tr>
</table>
<h3>Functions</h3>

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

<p>
    Class implementing the Options Dialog for a new project from the
    repository.
</p>
<h3>Derived from</h3>
QDialog, Ui_HgNewProjectOptionsDialog
<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="#HgNewProjectOptionsDialog.__init__">HgNewProjectOptionsDialog</a></td>
<td>Constructor</td>
</tr>
<tr>
<td><a href="#HgNewProjectOptionsDialog.__saveHistory">__saveHistory</a></td>
<td>Private method to save the repository URL history.</td>
</tr>
<tr>
<td><a href="#HgNewProjectOptionsDialog.getData">getData</a></td>
<td>Public slot to retrieve the data entered into the dialog and to save the history of entered repository URLs.</td>
</tr>
<tr>
<td><a href="#HgNewProjectOptionsDialog.on_vcsProjectDirPicker_textChanged">on_vcsProjectDirPicker_textChanged</a></td>
<td>Private slot to handle a change of the project directory.</td>
</tr>
<tr>
<td><a href="#HgNewProjectOptionsDialog.on_vcsUrlClearHistoryButton_clicked">on_vcsUrlClearHistoryButton_clicked</a></td>
<td>Private slot to clear the history of entered repository URLs.</td>
</tr>
<tr>
<td><a href="#HgNewProjectOptionsDialog.on_vcsUrlPicker_textChanged">on_vcsUrlPicker_textChanged</a></td>
<td>Private slot to handle changes of the URL.</td>
</tr>
</table>
<h3>Static Methods</h3>

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

<a NAME="HgNewProjectOptionsDialog.__init__" ID="HgNewProjectOptionsDialog.__init__"></a>
<h4>HgNewProjectOptionsDialog (Constructor)</h4>
<b>HgNewProjectOptionsDialog</b>(<i>vcs, parent=None</i>)

<p>
        Constructor
</p>
<dl>

<dt><i>vcs</i></dt>
<dd>
reference to the version control object
</dd>
<dt><i>parent</i></dt>
<dd>
parent widget (QWidget)
</dd>
</dl>
<a NAME="HgNewProjectOptionsDialog.__saveHistory" ID="HgNewProjectOptionsDialog.__saveHistory"></a>
<h4>HgNewProjectOptionsDialog.__saveHistory</h4>
<b>__saveHistory</b>(<i></i>)

<p>
        Private method to save the repository URL history.
</p>
<a NAME="HgNewProjectOptionsDialog.getData" ID="HgNewProjectOptionsDialog.getData"></a>
<h4>HgNewProjectOptionsDialog.getData</h4>
<b>getData</b>(<i></i>)

<p>
        Public slot to retrieve the data entered into the dialog and to
        save the history of entered repository URLs.
</p>
<dl>
<dt>Return:</dt>
<dd>
a tuple of a string (project directory) and a dictionary
            containing the data entered.
</dd>
</dl>
<a NAME="HgNewProjectOptionsDialog.on_vcsProjectDirPicker_textChanged" ID="HgNewProjectOptionsDialog.on_vcsProjectDirPicker_textChanged"></a>
<h4>HgNewProjectOptionsDialog.on_vcsProjectDirPicker_textChanged</h4>
<b>on_vcsProjectDirPicker_textChanged</b>(<i>txt</i>)

<p>
        Private slot to handle a change of the project directory.
</p>
<dl>

<dt><i>txt</i></dt>
<dd>
name of the project directory (string)
</dd>
</dl>
<a NAME="HgNewProjectOptionsDialog.on_vcsUrlClearHistoryButton_clicked" ID="HgNewProjectOptionsDialog.on_vcsUrlClearHistoryButton_clicked"></a>
<h4>HgNewProjectOptionsDialog.on_vcsUrlClearHistoryButton_clicked</h4>
<b>on_vcsUrlClearHistoryButton_clicked</b>(<i></i>)

<p>
        Private slot to clear the history of entered repository URLs.
</p>
<a NAME="HgNewProjectOptionsDialog.on_vcsUrlPicker_textChanged" ID="HgNewProjectOptionsDialog.on_vcsUrlPicker_textChanged"></a>
<h4>HgNewProjectOptionsDialog.on_vcsUrlPicker_textChanged</h4>
<b>on_vcsUrlPicker_textChanged</b>(<i>txt</i>)

<p>
        Private slot to handle changes of the URL.
</p>
<dl>

<dt><i>txt</i></dt>
<dd>
current text of the line edit (string)
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial