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

Sat, 26 Apr 2025 12:34:32 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 26 Apr 2025 12:34:32 +0200
branch
eric7
changeset 11240
c48c615c04a3
parent 10479
856476537696
permissions
-rw-r--r--

MicroPython
- Added a configuration option to disable the support for the no longer produced Pimoroni Pico Wireless Pack.

<!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> (Hg)</dt>
<dd>
reference to the version control object
</dd>
<dt><i>parent</i> (QWidget)</dt>
<dd>
parent widget
</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>
tuple containing the project directory and a dictionary
            containing the data entered
</dd>
</dl>
<dl>
<dt>Return Type:</dt>
<dd>
tuple of (str, dict)
</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> (str)</dt>
<dd>
name of the project directory
</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> (str)</dt>
<dd>
current text of the line edit
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial