src/eric7/Documentation/Source/eric7.MicroPython.EthernetDialogs.IPv4AddressDialog.html

branch
mpy_network
changeset 9878
a82014a9e57b
child 10153
ffe7432f716b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/eric7/Documentation/Source/eric7.MicroPython.EthernetDialogs.IPv4AddressDialog.html	Sun Mar 12 14:56:04 2023 +0100
@@ -0,0 +1,123 @@
+<!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 the IPv4 address, the netmask, the gateway address and
+            the resolver address or the string 'dhcp' if dynamic addressing was selected
+</dd>
+</dl>
+<dl>
+<dt>Return Type:</dt>
+<dd>
+tuple (str, str, str, str) or str
+</dd>
+</dl>
+<div align="right"><a href="#top">Up</a></div>
+<hr />
+</body></html>
\ No newline at end of file

eric ide

mercurial