Sun, 03 Jun 2018 14:03:19 +0200
Git: added capability to change the URL and/or user credentials for a remote repository.
<!DOCTYPE html> <html><head> <title>eric6.Plugins.VcsPlugins.vcsGit.GitRemoteCredentialsDialog</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.vcsGit.GitRemoteCredentialsDialog</h1> <p> Module implementing a dialog to enter the data of a remote repository. </p> <h3>Global Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> <table> <tr> <td><a href="#GitRemoteCredentialsDialog">GitRemoteCredentialsDialog</a></td> <td>Class implementing a dialog to enter the data of a remote repository.</td> </tr> </table> <h3>Functions</h3> <table> <tr><td>None</td></tr> </table> <hr /><hr /> <a NAME="GitRemoteCredentialsDialog" ID="GitRemoteCredentialsDialog"></a> <h2>GitRemoteCredentialsDialog</h2> <p> Class implementing a dialog to enter the data of a remote repository. </p> <h3>Derived from</h3> QDialog, Ui_GitRemoteCredentialsDialog <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="#GitRemoteCredentialsDialog.__init__">GitRemoteCredentialsDialog</a></td> <td>Constructor</td> </tr><tr> <td><a href="#GitRemoteCredentialsDialog.getData">getData</a></td> <td>Public method to get the entered data.</td> </tr><tr> <td><a href="#GitRemoteCredentialsDialog.on_userEdit_textChanged">on_userEdit_textChanged</a></td> <td>Private slot handling changes of the entered user name.</td> </tr> </table> <h3>Static Methods</h3> <table> <tr><td>None</td></tr> </table> <a NAME="GitRemoteCredentialsDialog.__init__" ID="GitRemoteCredentialsDialog.__init__"></a> <h4>GitRemoteCredentialsDialog (Constructor)</h4> <b>GitRemoteCredentialsDialog</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="GitRemoteCredentialsDialog.getData" ID="GitRemoteCredentialsDialog.getData"></a> <h4>GitRemoteCredentialsDialog.getData</h4> <b>getData</b>(<i></i>) <p> Public method to get the entered data. </p><dl> <dt>Returns:</dt> <dd> tuple with name and URL of the remote repository </dd> </dl><dl> <dt>Return Type:</dt> <dd> tuple of (str, str) </dd> </dl><a NAME="GitRemoteCredentialsDialog.on_userEdit_textChanged" ID="GitRemoteCredentialsDialog.on_userEdit_textChanged"></a> <h4>GitRemoteCredentialsDialog.on_userEdit_textChanged</h4> <b>on_userEdit_textChanged</b>(<i>txt</i>) <p> Private slot handling changes of the entered user name. </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>