Sat, 26 Apr 2025 12:34:32 +0200
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.vcsGit.GitChangeRemoteUrlDialog</title> <meta charset="UTF-8"> <link rel="stylesheet" href="styles.css"> </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 (unused) </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>