src/eric7/Documentation/Source/eric7.MicroPython.NtpParametersDialog.html

branch
mpy_network
changeset 9871
4a302b8c4d28
child 10479
856476537696
equal deleted inserted replaced
9870:0399d3607829 9871:4a302b8c4d28
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.MicroPython.NtpParametersDialog</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.NtpParametersDialog</h1>
10
11 <p>
12 Module implementing a dialog to enter the NTP parameters.
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="#NtpParametersDialog">NtpParametersDialog</a></td>
25 <td>Class implementing a dialog to enter the NTP parameters.</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="NtpParametersDialog" ID="NtpParametersDialog"></a>
36 <h2>NtpParametersDialog</h2>
37
38 <p>
39 Class implementing a dialog to enter the NTP parameters.
40 </p>
41 <h3>Derived from</h3>
42 QDialog, Ui_NtpParametersDialog
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="#NtpParametersDialog.__init__">NtpParametersDialog</a></td>
59 <td>Constructor</td>
60 </tr>
61 <tr>
62 <td><a href="#NtpParametersDialog.__updateOk">__updateOk</a></td>
63 <td>Private slot to update the enabled stat of the OK button.</td>
64 </tr>
65 <tr>
66 <td><a href="#NtpParametersDialog.accept">accept</a></td>
67 <td>Public slot accepting the dialog.</td>
68 </tr>
69 <tr>
70 <td><a href="#NtpParametersDialog.getParameters">getParameters</a></td>
71 <td>Public method to get the entered NTP parameters.</td>
72 </tr>
73 <tr>
74 <td><a href="#NtpParametersDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td>
75 <td>Private slot handling the selection of a dialog button.</td>
76 </tr>
77 </table>
78 <h3>Static Methods</h3>
79
80 <table>
81 <tr><td>None</td></tr>
82 </table>
83
84 <a NAME="NtpParametersDialog.__init__" ID="NtpParametersDialog.__init__"></a>
85 <h4>NtpParametersDialog (Constructor)</h4>
86 <b>NtpParametersDialog</b>(<i>parent=None</i>)
87
88 <p>
89 Constructor
90 </p>
91 <dl>
92
93 <dt><i>parent</i> (QWidget (optional))</dt>
94 <dd>
95 reference to the parent widget (defaults to None)
96 </dd>
97 </dl>
98 <a NAME="NtpParametersDialog.__updateOk" ID="NtpParametersDialog.__updateOk"></a>
99 <h4>NtpParametersDialog.__updateOk</h4>
100 <b>__updateOk</b>(<i></i>)
101
102 <p>
103 Private slot to update the enabled stat of the OK button.
104 </p>
105 <a NAME="NtpParametersDialog.accept" ID="NtpParametersDialog.accept"></a>
106 <h4>NtpParametersDialog.accept</h4>
107 <b>accept</b>(<i></i>)
108
109 <p>
110 Public slot accepting the dialog.
111 </p>
112 <a NAME="NtpParametersDialog.getParameters" ID="NtpParametersDialog.getParameters"></a>
113 <h4>NtpParametersDialog.getParameters</h4>
114 <b>getParameters</b>(<i></i>)
115
116 <p>
117 Public method to get the entered NTP parameters.
118 </p>
119 <dl>
120 <dt>Return:</dt>
121 <dd>
122 tuple containing the NTP server name, the timezone offset in hours,
123 a flag indicating daylight savings is in effect and a timeout value in
124 seconds
125 </dd>
126 </dl>
127 <dl>
128 <dt>Return Type:</dt>
129 <dd>
130 tuple of (str, int, bool, int)
131 </dd>
132 </dl>
133 <a NAME="NtpParametersDialog.on_buttonBox_clicked" ID="NtpParametersDialog.on_buttonBox_clicked"></a>
134 <h4>NtpParametersDialog.on_buttonBox_clicked</h4>
135 <b>on_buttonBox_clicked</b>(<i>button</i>)
136
137 <p>
138 Private slot handling the selection of a dialog button.
139 </p>
140 <dl>
141
142 <dt><i>button</i> (QAbstractButton)</dt>
143 <dd>
144 reference to the clicked button
145 </dd>
146 </dl>
147 <div align="right"><a href="#top">Up</a></div>
148 <hr />
149 </body></html>

eric ide

mercurial