--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric7/Documentation/Source/eric7.Plugins.VcsPlugins.vcsGit.GitChangeRemoteUrlDialog.html Mon May 24 11:19:57 2021 +0200 @@ -0,0 +1,158 @@ +<!DOCTYPE html> +<html><head> +<title>eric7.Plugins.VcsPlugins.vcsGit.GitChangeRemoteUrlDialog</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.GitChangeRemoteUrlDialog</h1> + +<p> +Module implementing a dialog to change the URL of a remote git repository. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> + +<tr> +<td><a href="#GitChangeRemoteUrlDialog">GitChangeRemoteUrlDialog</a></td> +<td>Class implementing a dialog to change the URL of a remote git repository.</td> +</tr> +</table> +<h3>Functions</h3> + +<table> +<tr><td>None</td></tr> +</table> +<hr /> +<hr /> +<a NAME="GitChangeRemoteUrlDialog" ID="GitChangeRemoteUrlDialog"></a> +<h2>GitChangeRemoteUrlDialog</h2> + +<p> + Class implementing a dialog to change the URL of a remote git repository. +</p> +<h3>Derived from</h3> +QDialog, Ui_GitChangeRemoteUrlDialog +<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="#GitChangeRemoteUrlDialog.__init__">GitChangeRemoteUrlDialog</a></td> +<td>Constructor</td> +</tr> +<tr> +<td><a href="#GitChangeRemoteUrlDialog.__updateOK">__updateOK</a></td> +<td>Private method to update the status of the OK button.</td> +</tr> +<tr> +<td><a href="#GitChangeRemoteUrlDialog.getData">getData</a></td> +<td>Public method to get the entered data.</td> +</tr> +<tr> +<td><a href="#GitChangeRemoteUrlDialog.on_newUrlEdit_textChanged">on_newUrlEdit_textChanged</a></td> +<td>Private slot handling changes of the entered URL.</td> +</tr> +</table> +<h3>Static Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> + +<a NAME="GitChangeRemoteUrlDialog.__init__" ID="GitChangeRemoteUrlDialog.__init__"></a> +<h4>GitChangeRemoteUrlDialog (Constructor)</h4> +<b>GitChangeRemoteUrlDialog</b>(<i>remoteName, remoteUrl, parent=None</i>) + +<p> + Constructor +</p> +<dl> + +<dt><i>remoteName</i> (str)</dt> +<dd> +name of the remote repository +</dd> +<dt><i>remoteUrl</i> (str)</dt> +<dd> +URL of the remote repository +</dd> +<dt><i>parent</i> (QWidget)</dt> +<dd> +reference to the parent widget +</dd> +</dl> +<a NAME="GitChangeRemoteUrlDialog.__updateOK" ID="GitChangeRemoteUrlDialog.__updateOK"></a> +<h4>GitChangeRemoteUrlDialog.__updateOK</h4> +<b>__updateOK</b>(<i></i>) + +<p> + Private method to update the status of the OK button. +</p> +<a NAME="GitChangeRemoteUrlDialog.getData" ID="GitChangeRemoteUrlDialog.getData"></a> +<h4>GitChangeRemoteUrlDialog.getData</h4> +<b>getData</b>(<i></i>) + +<p> + Public method to get the entered data. +</p> +<dl> +<dt>Return:</dt> +<dd> +tuple with name and new URL of the remote repository +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (str, str) +</dd> +</dl> +<a NAME="GitChangeRemoteUrlDialog.on_newUrlEdit_textChanged" ID="GitChangeRemoteUrlDialog.on_newUrlEdit_textChanged"></a> +<h4>GitChangeRemoteUrlDialog.on_newUrlEdit_textChanged</h4> +<b>on_newUrlEdit_textChanged</b>(<i>txt</i>) + +<p> + Private slot handling changes of the entered URL. +</p> +<dl> + +<dt><i>txt</i> (str)</dt> +<dd> +current text +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file