--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric7/Documentation/Source/eric7.Plugins.VcsPlugins.vcsGit.GitNewProjectOptionsDialog.html Mon May 24 11:19:57 2021 +0200 @@ -0,0 +1,202 @@ +<!DOCTYPE html> +<html><head> +<title>eric7.Plugins.VcsPlugins.vcsGit.GitNewProjectOptionsDialog</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>eric7.Plugins.VcsPlugins.vcsGit.GitNewProjectOptionsDialog</h1> + +<p> +Module implementing the Git 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="#GitNewProjectOptionsDialog">GitNewProjectOptionsDialog</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="GitNewProjectOptionsDialog" ID="GitNewProjectOptionsDialog"></a> +<h2>GitNewProjectOptionsDialog</h2> + +<p> + Class implementing the Options Dialog for a new project from the + repository. +</p> +<h3>Derived from</h3> +QDialog, Ui_GitNewProjectOptionsDialog +<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="#GitNewProjectOptionsDialog.__init__">GitNewProjectOptionsDialog</a></td> +<td>Constructor</td> +</tr> +<tr> +<td><a href="#GitNewProjectOptionsDialog.__saveHistory">__saveHistory</a></td> +<td>Private method to save the repository URL history.</td> +</tr> +<tr> +<td><a href="#GitNewProjectOptionsDialog.getData">getData</a></td> +<td>Public slot to retrieve the data entered into the dialog.</td> +</tr> +<tr> +<td><a href="#GitNewProjectOptionsDialog.on_projectDirButton_clicked">on_projectDirButton_clicked</a></td> +<td>Private slot to display a directory selection dialog.</td> +</tr> +<tr> +<td><a href="#GitNewProjectOptionsDialog.on_vcsProjectDirEdit_textChanged">on_vcsProjectDirEdit_textChanged</a></td> +<td>Private slot to handle a change of the project directory.</td> +</tr> +<tr> +<td><a href="#GitNewProjectOptionsDialog.on_vcsUrlButton_clicked">on_vcsUrlButton_clicked</a></td> +<td>Private slot to display a selection dialog.</td> +</tr> +<tr> +<td><a href="#GitNewProjectOptionsDialog.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="#GitNewProjectOptionsDialog.on_vcsUrlCombo_editTextChanged">on_vcsUrlCombo_editTextChanged</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="GitNewProjectOptionsDialog.__init__" ID="GitNewProjectOptionsDialog.__init__"></a> +<h4>GitNewProjectOptionsDialog (Constructor)</h4> +<b>GitNewProjectOptionsDialog</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="GitNewProjectOptionsDialog.__saveHistory" ID="GitNewProjectOptionsDialog.__saveHistory"></a> +<h4>GitNewProjectOptionsDialog.__saveHistory</h4> +<b>__saveHistory</b>(<i></i>) + +<p> + Private method to save the repository URL history. +</p> +<a NAME="GitNewProjectOptionsDialog.getData" ID="GitNewProjectOptionsDialog.getData"></a> +<h4>GitNewProjectOptionsDialog.getData</h4> +<b>getData</b>(<i></i>) + +<p> + Public slot to retrieve the data entered into the dialog. +</p> +<dl> +<dt>Return:</dt> +<dd> +a tuple of a string (project directory) and a dictionary + containing the data entered. +</dd> +</dl> +<a NAME="GitNewProjectOptionsDialog.on_projectDirButton_clicked" ID="GitNewProjectOptionsDialog.on_projectDirButton_clicked"></a> +<h4>GitNewProjectOptionsDialog.on_projectDirButton_clicked</h4> +<b>on_projectDirButton_clicked</b>(<i></i>) + +<p> + Private slot to display a directory selection dialog. +</p> +<a NAME="GitNewProjectOptionsDialog.on_vcsProjectDirEdit_textChanged" ID="GitNewProjectOptionsDialog.on_vcsProjectDirEdit_textChanged"></a> +<h4>GitNewProjectOptionsDialog.on_vcsProjectDirEdit_textChanged</h4> +<b>on_vcsProjectDirEdit_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="GitNewProjectOptionsDialog.on_vcsUrlButton_clicked" ID="GitNewProjectOptionsDialog.on_vcsUrlButton_clicked"></a> +<h4>GitNewProjectOptionsDialog.on_vcsUrlButton_clicked</h4> +<b>on_vcsUrlButton_clicked</b>(<i></i>) + +<p> + Private slot to display a selection dialog. +</p> +<a NAME="GitNewProjectOptionsDialog.on_vcsUrlClearHistoryButton_clicked" ID="GitNewProjectOptionsDialog.on_vcsUrlClearHistoryButton_clicked"></a> +<h4>GitNewProjectOptionsDialog.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="GitNewProjectOptionsDialog.on_vcsUrlCombo_editTextChanged" ID="GitNewProjectOptionsDialog.on_vcsUrlCombo_editTextChanged"></a> +<h4>GitNewProjectOptionsDialog.on_vcsUrlCombo_editTextChanged</h4> +<b>on_vcsUrlCombo_editTextChanged</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 combo box +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file