Thu, 18 Oct 2018 18:53:23 +0200
Updated source docu.
<!DOCTYPE html> <html><head> <title>eric6.E5Gui.E5StringListEditWidget</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.E5Gui.E5StringListEditWidget</h1> <p> Module implementing a dialog to edit a list of strings. </p> <h3>Global Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> <table> <tr> <td><a href="#E5StringListEditWidget">E5StringListEditWidget</a></td> <td>Class implementing a dialog to edit a list of strings.</td> </tr> </table> <h3>Functions</h3> <table> <tr><td>None</td></tr> </table> <hr /><hr /> <a NAME="E5StringListEditWidget" ID="E5StringListEditWidget"></a> <h2>E5StringListEditWidget</h2> <p> Class implementing a dialog to edit a list of strings. </p><h3>Signals</h3> <dl> <dt>setToDefault()</dt> <dd> emitted to request the default list of values </dd> </dl> <h3>Derived from</h3> QWidget, Ui_E5StringListEditWidget <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="#E5StringListEditWidget.__init__">E5StringListEditWidget</a></td> <td>Constructor</td> </tr><tr> <td><a href="#E5StringListEditWidget.getList">getList</a></td> <td>Public method to get the edited list of strings.</td> </tr><tr> <td><a href="#E5StringListEditWidget.on_addButton_clicked">on_addButton_clicked</a></td> <td>Private slot to add an entry to the list.</td> </tr><tr> <td><a href="#E5StringListEditWidget.setDefaultVisible">setDefaultVisible</a></td> <td>Public method to show or hide the default button.</td> </tr><tr> <td><a href="#E5StringListEditWidget.setList">setList</a></td> <td>Public method to set the list of strings to be edited.</td> </tr><tr> <td><a href="#E5StringListEditWidget.setListWhatsThis">setListWhatsThis</a></td> <td>Public method to set a what's that help text for the string list.</td> </tr> </table> <h3>Static Methods</h3> <table> <tr><td>None</td></tr> </table> <a NAME="E5StringListEditWidget.__init__" ID="E5StringListEditWidget.__init__"></a> <h4>E5StringListEditWidget (Constructor)</h4> <b>E5StringListEditWidget</b>(<i>parent=None</i>) <p> Constructor </p><dl> <dt><i>parent</i></dt> <dd> reference to the parent widget (QWidget) </dd> </dl><a NAME="E5StringListEditWidget.getList" ID="E5StringListEditWidget.getList"></a> <h4>E5StringListEditWidget.getList</h4> <b>getList</b>(<i></i>) <p> Public method to get the edited list of strings. </p><dl> <dt>Returns:</dt> <dd> edited list of string (list of string) </dd> </dl><a NAME="E5StringListEditWidget.on_addButton_clicked" ID="E5StringListEditWidget.on_addButton_clicked"></a> <h4>E5StringListEditWidget.on_addButton_clicked</h4> <b>on_addButton_clicked</b>(<i></i>) <p> Private slot to add an entry to the list. </p><a NAME="E5StringListEditWidget.setDefaultVisible" ID="E5StringListEditWidget.setDefaultVisible"></a> <h4>E5StringListEditWidget.setDefaultVisible</h4> <b>setDefaultVisible</b>(<i>visible</i>) <p> Public method to show or hide the default button. </p><dl> <dt><i>visible</i> (bool)</dt> <dd> flag indicating the visibility of the default button </dd> </dl><a NAME="E5StringListEditWidget.setList" ID="E5StringListEditWidget.setList"></a> <h4>E5StringListEditWidget.setList</h4> <b>setList</b>(<i>stringList</i>) <p> Public method to set the list of strings to be edited. </p><dl> <dt><i>stringList</i></dt> <dd> list of strings to be edited (list of string) </dd> </dl><a NAME="E5StringListEditWidget.setListWhatsThis" ID="E5StringListEditWidget.setListWhatsThis"></a> <h4>E5StringListEditWidget.setListWhatsThis</h4> <b>setListWhatsThis</b>(<i>txt</i>) <p> Public method to set a what's that help text for the string list. </p><dl> <dt><i>txt</i></dt> <dd> help text to be set (string) </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>