Documentation/Source/eric6.Plugins.VcsPlugins.vcsMercurial.HgNewProjectOptionsDialog.html

Tue, 24 Oct 2017 19:09:09 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 24 Oct 2017 19:09:09 +0200
changeset 5928
a3809f75ca07
parent 5559
072d97551334
permissions
-rw-r--r--

Changed the logic of the two web browsers in order to put new downloads at the top of the list of downloads and add the download date and time to the shown info.

<!DOCTYPE html>
<html><head>
<title>eric6.Plugins.VcsPlugins.vcsMercurial.HgNewProjectOptionsDialog</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>eric6.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>Returns:</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