Sun, 16 Jan 2022 20:28:42 +0100
MicroPython
- added a dialog to show information for a connected board
<!DOCTYPE html> <html><head> <title>eric7.MicroPython.BoardDataDialog</title> <meta charset="UTF-8"> <link rel="stylesheet" href="styles.css"> </head> <body> <a NAME="top" ID="top"></a> <h1>eric7.MicroPython.BoardDataDialog</h1> <p> Module implementing a dialog to show information about a connected board. </p> <h3>Global Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> <table> <tr> <td><a href="#BoardDataDialog">BoardDataDialog</a></td> <td>Class implementing a dialog to show information about a connected board.</td> </tr> </table> <h3>Functions</h3> <table> <tr><td>None</td></tr> </table> <hr /> <hr /> <a NAME="BoardDataDialog" ID="BoardDataDialog"></a> <h2>BoardDataDialog</h2> <p> Class implementing a dialog to show information about a connected board. </p> <h3>Derived from</h3> QDialog, Ui_BoardDataDialog <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="#BoardDataDialog.__init__">BoardDataDialog</a></td> <td>Constructor</td> </tr> <tr> <td><a href="#BoardDataDialog.__createHeader">__createHeader</a></td> <td>Private method to create a header item.</td> </tr> </table> <h3>Static Methods</h3> <table> <tr><td>None</td></tr> </table> <a NAME="BoardDataDialog.__init__" ID="BoardDataDialog.__init__"></a> <h4>BoardDataDialog (Constructor)</h4> <b>BoardDataDialog</b>(<i>data, parent=None</i>) <p> Constructor </p> <dl> <dt><i>data</i> (dict)</dt> <dd> dictionary containing the data to be shown </dd> <dt><i>parent</i> (QWidget (optional))</dt> <dd> reference to the parent widget (defaults to None) </dd> </dl> <a NAME="BoardDataDialog.__createHeader" ID="BoardDataDialog.__createHeader"></a> <h4>BoardDataDialog.__createHeader</h4> <b>__createHeader</b>(<i>headerText</i>) <p> Private method to create a header item. </p> <dl> <dt><i>headerText</i> (str)</dt> <dd> text for the header item </dd> </dl> <dl> <dt>Return:</dt> <dd> reference to the created header item </dd> </dl> <dl> <dt>Return Type:</dt> <dd> QTreeWidgetItem </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>