Tue, 10 Dec 2024 15:49:05 +0100
Updated copyright for 2025.
<!DOCTYPE html> <html><head> <title>Plugin_Tools_Selection_Encloser.SelectionEncloser.ConfigurationPage.SelectionEncloserEditDialog</title> <meta charset="UTF-8"> <link rel="stylesheet" href="styles.css"> </head> <body> <a NAME="top" ID="top"></a> <h1>Plugin_Tools_Selection_Encloser.SelectionEncloser.ConfigurationPage.SelectionEncloserEditDialog</h1> <p> Module implementing a dialog to edit an enclosing menu entry. </p> <h3>Global Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> <table> <tr> <td><a href="#SelectionEncloserEditDialog">SelectionEncloserEditDialog</a></td> <td>Class implementing a dialog to edit an enclosing menu entry.</td> </tr> </table> <h3>Functions</h3> <table> <tr><td>None</td></tr> </table> <hr /> <hr /> <a NAME="SelectionEncloserEditDialog" ID="SelectionEncloserEditDialog"></a> <h2>SelectionEncloserEditDialog</h2> <p> Class implementing a dialog to edit an enclosing menu entry. </p> <h3>Derived from</h3> QDialog, Ui_SelectionEncloserEditDialog <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="#SelectionEncloserEditDialog.__init__">SelectionEncloserEditDialog</a></td> <td>Constructor</td> </tr> <tr> <td><a href="#SelectionEncloserEditDialog.__updateOkButton">__updateOkButton</a></td> <td>Private slot to set the status of the OK button.</td> </tr> <tr> <td><a href="#SelectionEncloserEditDialog.getData">getData</a></td> <td>Public method to get the dialog data.</td> </tr> <tr> <td><a href="#SelectionEncloserEditDialog.on_stringEdit_textChanged">on_stringEdit_textChanged</a></td> <td>Private slot to react on changes of the string.</td> </tr> <tr> <td><a href="#SelectionEncloserEditDialog.on_titleEdit_textChanged">on_titleEdit_textChanged</a></td> <td>Private slot to react on changes of the title.</td> </tr> </table> <h3>Static Methods</h3> <table> <tr><td>None</td></tr> </table> <a NAME="SelectionEncloserEditDialog.__init__" ID="SelectionEncloserEditDialog.__init__"></a> <h4>SelectionEncloserEditDialog (Constructor)</h4> <b>SelectionEncloserEditDialog</b>(<i>title="", string="", parent=None</i>) <p> Constructor </p> <dl> <dt><i>title</i> (str)</dt> <dd> menu entry title </dd> <dt><i>string</i> (str)</dt> <dd> enclosing string or string format expression </dd> <dt><i>parent</i> (QWidget)</dt> <dd> reference to the parent widget </dd> </dl> <a NAME="SelectionEncloserEditDialog.__updateOkButton" ID="SelectionEncloserEditDialog.__updateOkButton"></a> <h4>SelectionEncloserEditDialog.__updateOkButton</h4> <b>__updateOkButton</b>(<i></i>) <p> Private slot to set the status of the OK button. </p> <a NAME="SelectionEncloserEditDialog.getData" ID="SelectionEncloserEditDialog.getData"></a> <h4>SelectionEncloserEditDialog.getData</h4> <b>getData</b>(<i></i>) <p> Public method to get the dialog data. </p> <dl> <dt>Return:</dt> <dd> tuple with menu entry title and enclosing string or string format expression </dd> </dl> <dl> <dt>Return Type:</dt> <dd> tuple of (str, str) </dd> </dl> <a NAME="SelectionEncloserEditDialog.on_stringEdit_textChanged" ID="SelectionEncloserEditDialog.on_stringEdit_textChanged"></a> <h4>SelectionEncloserEditDialog.on_stringEdit_textChanged</h4> <b>on_stringEdit_textChanged</b>(<i>txt</i>) <p> Private slot to react on changes of the string. </p> <dl> <dt><i>txt</i> (str)</dt> <dd> enclosing string </dd> </dl> <a NAME="SelectionEncloserEditDialog.on_titleEdit_textChanged" ID="SelectionEncloserEditDialog.on_titleEdit_textChanged"></a> <h4>SelectionEncloserEditDialog.on_titleEdit_textChanged</h4> <b>on_titleEdit_textChanged</b>(<i>txt</i>) <p> Private slot to react on changes of the title. </p> <dl> <dt><i>txt</i> (str)</dt> <dd> title text </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>