src/eric7/Documentation/Source/eric7.MicroPython.WifiDialogs.WifiCountryDialog.html

branch
mpy_network
changeset 9800
25f388536caf
child 10479
856476537696
equal deleted inserted replaced
9799:a79430a8811d 9800:25f388536caf
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.MicroPython.WifiDialogs.WifiCountryDialog</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.WifiDialogs.WifiCountryDialog</h1>
10
11 <p>
12 Module implementing a dialog to enter the country code for the WiFi interface.
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="#WifiCountryDialog">WifiCountryDialog</a></td>
25 <td>Class implementing a dialog to enter the country code for the WiFi interface.</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="WifiCountryDialog" ID="WifiCountryDialog"></a>
36 <h2>WifiCountryDialog</h2>
37
38 <p>
39 Class implementing a dialog to enter the country code for the WiFi interface.
40 </p>
41 <h3>Derived from</h3>
42 QDialog, Ui_WifiCountryDialog
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="#WifiCountryDialog.__init__">WifiCountryDialog</a></td>
59 <td>Constructor</td>
60 </tr>
61 <tr>
62 <td><a href="#WifiCountryDialog.getCountry">getCountry</a></td>
63 <td>Public method to get the entered country code.</td>
64 </tr>
65 <tr>
66 <td><a href="#WifiCountryDialog.on_countryEdit_textChanged">on_countryEdit_textChanged</a></td>
67 <td>Private slot handling a change of the country.</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="WifiCountryDialog.__init__" ID="WifiCountryDialog.__init__"></a>
77 <h4>WifiCountryDialog (Constructor)</h4>
78 <b>WifiCountryDialog</b>(<i>parent=None</i>)
79
80 <p>
81 Constructor
82 </p>
83 <dl>
84
85 <dt><i>parent</i> (QWidget (optional))</dt>
86 <dd>
87 reference to the parent widget (defaults to None)
88 </dd>
89 </dl>
90 <a NAME="WifiCountryDialog.getCountry" ID="WifiCountryDialog.getCountry"></a>
91 <h4>WifiCountryDialog.getCountry</h4>
92 <b>getCountry</b>(<i></i>)
93
94 <p>
95 Public method to get the entered country code.
96 </p>
97 <dl>
98 <dt>Return:</dt>
99 <dd>
100 tuple containing the country code and a flag indicating to save it to
101 the settings
102 </dd>
103 </dl>
104 <dl>
105 <dt>Return Type:</dt>
106 <dd>
107 tuple of (str, bool)
108 </dd>
109 </dl>
110 <a NAME="WifiCountryDialog.on_countryEdit_textChanged" ID="WifiCountryDialog.on_countryEdit_textChanged"></a>
111 <h4>WifiCountryDialog.on_countryEdit_textChanged</h4>
112 <b>on_countryEdit_textChanged</b>(<i>country</i>)
113
114 <p>
115 Private slot handling a change of the country.
116 </p>
117 <dl>
118
119 <dt><i>country</i> (str)</dt>
120 <dd>
121 entered country code
122 </dd>
123 </dl>
124 <div align="right"><a href="#top">Up</a></div>
125 <hr />
126 </body></html>

eric ide

mercurial