Thu, 04 Jan 2024 18:02:25 +0100
Fine tuned the source code documentation template and regenerated the source code documentation.
<!DOCTYPE html> <html><head> <title>eric7.MicroPython.EthernetDialogs.IPv4AddressDialog</title> <meta charset="UTF-8"> <link rel="stylesheet" href="styles.css"> </head> <body> <a NAME="top" ID="top"></a> <h1>eric7.MicroPython.EthernetDialogs.IPv4AddressDialog</h1> <p> Module implementing a dialog to enter an IPv4 address. </p> <h3>Global Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> <table> <tr> <td><a href="#IPv4AddressDialog">IPv4AddressDialog</a></td> <td>Class implementing a dialog to enter an IPv4 address.</td> </tr> </table> <h3>Functions</h3> <table> <tr><td>None</td></tr> </table> <hr /> <hr /> <a NAME="IPv4AddressDialog" ID="IPv4AddressDialog"></a> <h2>IPv4AddressDialog</h2> <p> Class implementing a dialog to enter an IPv4 address. </p> <h3>Derived from</h3> QDialog, Ui_IPv4AddressDialog <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="#IPv4AddressDialog.__init__">IPv4AddressDialog</a></td> <td>Constructor</td> </tr> <tr> <td><a href="#IPv4AddressDialog.__updateOk">__updateOk</a></td> <td>Private method to update the enabled state of the OK button.</td> </tr> <tr> <td><a href="#IPv4AddressDialog.getIPv4Address">getIPv4Address</a></td> <td>Public method to get the entered IPv4 address.</td> </tr> </table> <h3>Static Methods</h3> <table> <tr><td>None</td></tr> </table> <a NAME="IPv4AddressDialog.__init__" ID="IPv4AddressDialog.__init__"></a> <h4>IPv4AddressDialog (Constructor)</h4> <b>IPv4AddressDialog</b>(<i>withDhcp=False, parent=None</i>) <p> Constructor </p> <dl> <dt><i>withDhcp</i> (bool)</dt> <dd> flag indicating to allow the DHCP selection </dd> <dt><i>parent</i> (QWidget (optional))</dt> <dd> reference to the parent widget (defaults to None) </dd> </dl> <a NAME="IPv4AddressDialog.__updateOk" ID="IPv4AddressDialog.__updateOk"></a> <h4>IPv4AddressDialog.__updateOk</h4> <b>__updateOk</b>(<i></i>) <p> Private method to update the enabled state of the OK button. </p> <a NAME="IPv4AddressDialog.getIPv4Address" ID="IPv4AddressDialog.getIPv4Address"></a> <h4>IPv4AddressDialog.getIPv4Address</h4> <b>getIPv4Address</b>(<i></i>) <p> Public method to get the entered IPv4 address. </p> <dl> <dt>Return:</dt> <dd> tuple containing a tuple of the IPv4 address, the netmask, the gateway address and the resolver address or the string 'dhcp' if dynamic addressing was selected and the hostname for the device </dd> </dl> <dl> <dt>Return Type:</dt> <dd> tuple of ((str, str, str, str), str) or (str, str) </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>