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.vcsMercurial.QueuesExtension.HgQueuesRenamePatchDialog</title> <meta charset="UTF-8"> <link rel="stylesheet" href="styles.css"> </head> <body> <a NAME="top" ID="top"></a> <h1>eric7.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.HgQueuesRenamePatchDialog</h1> <p> Module implementing a dialog to enter the data to rename a patch. </p> <h3>Global Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> <table> <tr> <td><a href="#HgQueuesRenamePatchDialog">HgQueuesRenamePatchDialog</a></td> <td>Class implementing a dialog to enter the data to rename a patch.</td> </tr> </table> <h3>Functions</h3> <table> <tr><td>None</td></tr> </table> <hr /> <hr /> <a NAME="HgQueuesRenamePatchDialog" ID="HgQueuesRenamePatchDialog"></a> <h2>HgQueuesRenamePatchDialog</h2> <p> Class implementing a dialog to enter the data to rename a patch. </p> <h3>Derived from</h3> QDialog, Ui_HgQueuesRenamePatchDialog <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="#HgQueuesRenamePatchDialog.__init__">HgQueuesRenamePatchDialog</a></td> <td>Constructor</td> </tr> <tr> <td><a href="#HgQueuesRenamePatchDialog.__updateUI">__updateUI</a></td> <td>Private slot to update the UI.</td> </tr> <tr> <td><a href="#HgQueuesRenamePatchDialog.getData">getData</a></td> <td>Public method to retrieve the entered data.</td> </tr> <tr> <td><a href="#HgQueuesRenamePatchDialog.on_nameCombo_currentIndexChanged">on_nameCombo_currentIndexChanged</a></td> <td>Private slot to handle changes of the selected patch name.</td> </tr> <tr> <td><a href="#HgQueuesRenamePatchDialog.on_nameEdit_textChanged">on_nameEdit_textChanged</a></td> <td>Private slot to handle changes of the new name.</td> </tr> <tr> <td><a href="#HgQueuesRenamePatchDialog.on_namedButton_toggled">on_namedButton_toggled</a></td> <td>Private slot to handle changes of the selection method.</td> </tr> </table> <h3>Static Methods</h3> <table> <tr><td>None</td></tr> </table> <a NAME="HgQueuesRenamePatchDialog.__init__" ID="HgQueuesRenamePatchDialog.__init__"></a> <h4>HgQueuesRenamePatchDialog (Constructor)</h4> <b>HgQueuesRenamePatchDialog</b>(<i>currentPatch, patchesList, parent=None</i>) <p> Constructor </p> <dl> <dt><i>currentPatch</i> (str)</dt> <dd> name of the current patch </dd> <dt><i>patchesList</i> (list of str)</dt> <dd> list of patches to select from </dd> <dt><i>parent</i> (QWidget)</dt> <dd> reference to the parent widget </dd> </dl> <a NAME="HgQueuesRenamePatchDialog.__updateUI" ID="HgQueuesRenamePatchDialog.__updateUI"></a> <h4>HgQueuesRenamePatchDialog.__updateUI</h4> <b>__updateUI</b>(<i></i>) <p> Private slot to update the UI. </p> <a NAME="HgQueuesRenamePatchDialog.getData" ID="HgQueuesRenamePatchDialog.getData"></a> <h4>HgQueuesRenamePatchDialog.getData</h4> <b>getData</b>(<i></i>) <p> Public method to retrieve the entered data. </p> <dl> <dt>Return:</dt> <dd> tuple of new name and selected patch </dd> </dl> <dl> <dt>Return Type:</dt> <dd> tuple of (str, str) </dd> </dl> <a NAME="HgQueuesRenamePatchDialog.on_nameCombo_currentIndexChanged" ID="HgQueuesRenamePatchDialog.on_nameCombo_currentIndexChanged"></a> <h4>HgQueuesRenamePatchDialog.on_nameCombo_currentIndexChanged</h4> <b>on_nameCombo_currentIndexChanged</b>(<i>_index</i>) <p> Private slot to handle changes of the selected patch name. </p> <dl> <dt><i>_index</i> (int)</dt> <dd> current index (unused) </dd> </dl> <a NAME="HgQueuesRenamePatchDialog.on_nameEdit_textChanged" ID="HgQueuesRenamePatchDialog.on_nameEdit_textChanged"></a> <h4>HgQueuesRenamePatchDialog.on_nameEdit_textChanged</h4> <b>on_nameEdit_textChanged</b>(<i>_txt</i>) <p> Private slot to handle changes of the new name. </p> <dl> <dt><i>_txt</i> (str)</dt> <dd> text of the edit (unused) </dd> </dl> <a NAME="HgQueuesRenamePatchDialog.on_namedButton_toggled" ID="HgQueuesRenamePatchDialog.on_namedButton_toggled"></a> <h4>HgQueuesRenamePatchDialog.on_namedButton_toggled</h4> <b>on_namedButton_toggled</b>(<i>_checked</i>) <p> Private slot to handle changes of the selection method. </p> <dl> <dt><i>_checked</i> (bool)</dt> <dd> state of the check box (unused) </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>