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

branch
mpy_network
changeset 9878
a82014a9e57b
child 10153
ffe7432f716b
equal deleted inserted replaced
9877:dad1f6d37366 9878:a82014a9e57b
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.MicroPython.EthernetDialogs.IPv4AddressDialog</title>
4 <meta charset="UTF-8">
5 <link rel="stylesheet" href="styles.css">
6 </head>
7 <body>
8 <a NAME="top" ID="top"></a>
9 <h1>eric7.MicroPython.EthernetDialogs.IPv4AddressDialog</h1>
10
11 <p>
12 Module implementing a dialog to enter an IPv4 address.
13 </p>
14 <h3>Global Attributes</h3>
15
16 <table>
17 <tr><td>None</td></tr>
18 </table>
19 <h3>Classes</h3>
20
21 <table>
22
23 <tr>
24 <td><a href="#IPv4AddressDialog">IPv4AddressDialog</a></td>
25 <td>Class implementing a dialog to enter an IPv4 address.</td>
26 </tr>
27 </table>
28 <h3>Functions</h3>
29
30 <table>
31 <tr><td>None</td></tr>
32 </table>
33 <hr />
34 <hr />
35 <a NAME="IPv4AddressDialog" ID="IPv4AddressDialog"></a>
36 <h2>IPv4AddressDialog</h2>
37
38 <p>
39 Class implementing a dialog to enter an IPv4 address.
40 </p>
41 <h3>Derived from</h3>
42 QDialog, Ui_IPv4AddressDialog
43 <h3>Class Attributes</h3>
44
45 <table>
46 <tr><td>None</td></tr>
47 </table>
48 <h3>Class Methods</h3>
49
50 <table>
51 <tr><td>None</td></tr>
52 </table>
53 <h3>Methods</h3>
54
55 <table>
56
57 <tr>
58 <td><a href="#IPv4AddressDialog.__init__">IPv4AddressDialog</a></td>
59 <td>Constructor</td>
60 </tr>
61 <tr>
62 <td><a href="#IPv4AddressDialog.__updateOk">__updateOk</a></td>
63 <td>Private method to update the enabled state of the OK button.</td>
64 </tr>
65 <tr>
66 <td><a href="#IPv4AddressDialog.getIPv4Address">getIPv4Address</a></td>
67 <td>Public method to get the entered IPv4 address.</td>
68 </tr>
69 </table>
70 <h3>Static Methods</h3>
71
72 <table>
73 <tr><td>None</td></tr>
74 </table>
75
76 <a NAME="IPv4AddressDialog.__init__" ID="IPv4AddressDialog.__init__"></a>
77 <h4>IPv4AddressDialog (Constructor)</h4>
78 <b>IPv4AddressDialog</b>(<i>withDhcp=False, parent=None</i>)
79
80 <p>
81 Constructor
82 </p>
83 <dl>
84
85 <dt><i>withDhcp</i> (bool)</dt>
86 <dd>
87 flag indicating to allow the DHCP selection
88 </dd>
89 <dt><i>parent</i> (QWidget (optional))</dt>
90 <dd>
91 reference to the parent widget (defaults to None)
92 </dd>
93 </dl>
94 <a NAME="IPv4AddressDialog.__updateOk" ID="IPv4AddressDialog.__updateOk"></a>
95 <h4>IPv4AddressDialog.__updateOk</h4>
96 <b>__updateOk</b>(<i></i>)
97
98 <p>
99 Private method to update the enabled state of the OK button.
100 </p>
101 <a NAME="IPv4AddressDialog.getIPv4Address" ID="IPv4AddressDialog.getIPv4Address"></a>
102 <h4>IPv4AddressDialog.getIPv4Address</h4>
103 <b>getIPv4Address</b>(<i></i>)
104
105 <p>
106 Public method to get the entered IPv4 address.
107 </p>
108 <dl>
109 <dt>Return:</dt>
110 <dd>
111 tuple containing the IPv4 address, the netmask, the gateway address and
112 the resolver address or the string 'dhcp' if dynamic addressing was selected
113 </dd>
114 </dl>
115 <dl>
116 <dt>Return Type:</dt>
117 <dd>
118 tuple (str, str, str, str) or str
119 </dd>
120 </dl>
121 <div align="right"><a href="#top">Up</a></div>
122 <hr />
123 </body></html>

eric ide

mercurial