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

branch
mpy_network
changeset 10015
9352f33732ae
child 10479
856476537696
equal deleted inserted replaced
10014:951a8d558e23 10015:9352f33732ae
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.MicroPython.MicroPythonWebreplUrlAddEditDialog</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.MicroPythonWebreplUrlAddEditDialog</h1>
10
11 <p>
12 Module implementing a dialog to edit the parameters for a WebREPL connection.
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="#MicroPythonWebreplUrlAddEditDialog">MicroPythonWebreplUrlAddEditDialog</a></td>
25 <td>Class implementing a dialog to edit the parameters for a WebREPL connection.</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="MicroPythonWebreplUrlAddEditDialog" ID="MicroPythonWebreplUrlAddEditDialog"></a>
36 <h2>MicroPythonWebreplUrlAddEditDialog</h2>
37
38 <p>
39 Class implementing a dialog to edit the parameters for a WebREPL connection.
40 </p>
41 <h3>Derived from</h3>
42 QDialog, Ui_MicroPythonWebreplUrlAddEditDialog
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="#MicroPythonWebreplUrlAddEditDialog.__init__">MicroPythonWebreplUrlAddEditDialog</a></td>
59 <td>Constructor</td>
60 </tr>
61 <tr>
62 <td><a href="#MicroPythonWebreplUrlAddEditDialog.__populateFields">__populateFields</a></td>
63 <td>Private method to populate the various dialog fields with the given parameters.</td>
64 </tr>
65 <tr>
66 <td><a href="#MicroPythonWebreplUrlAddEditDialog.__updateOkButton">__updateOkButton</a></td>
67 <td>Private slot to update the enabled state of the OK button.</td>
68 </tr>
69 <tr>
70 <td><a href="#MicroPythonWebreplUrlAddEditDialog.getWebreplUrl">getWebreplUrl</a></td>
71 <td>Public method to retrieve the entered WebREPL connection data.</td>
72 </tr>
73 </table>
74 <h3>Static Methods</h3>
75
76 <table>
77 <tr><td>None</td></tr>
78 </table>
79
80 <a NAME="MicroPythonWebreplUrlAddEditDialog.__init__" ID="MicroPythonWebreplUrlAddEditDialog.__init__"></a>
81 <h4>MicroPythonWebreplUrlAddEditDialog (Constructor)</h4>
82 <b>MicroPythonWebreplUrlAddEditDialog</b>(<i>definedNames, connectionParams=None, parent=None</i>)
83
84 <p>
85 Constructor
86 </p>
87 <dl>
88
89 <dt><i>definedNames</i> (list of str)</dt>
90 <dd>
91 list of already define WebREPL connection names
92 </dd>
93 <dt><i>connectionParams</i> (tuple of (str, str, str) (optional))</dt>
94 <dd>
95 parameters for the WebREPL connection to be edited
96 (default to None)
97 </dd>
98 <dt><i>parent</i> (QWidget (optional))</dt>
99 <dd>
100 reference to the parent widget (defaults to None)
101 </dd>
102 </dl>
103 <a NAME="MicroPythonWebreplUrlAddEditDialog.__populateFields" ID="MicroPythonWebreplUrlAddEditDialog.__populateFields"></a>
104 <h4>MicroPythonWebreplUrlAddEditDialog.__populateFields</h4>
105 <b>__populateFields</b>(<i>params</i>)
106
107 <p>
108 Private method to populate the various dialog fields with the given parameters.
109 </p>
110 <dl>
111
112 <dt><i>params</i> (tuple of (str, str, str))</dt>
113 <dd>
114 arameters for the WebREPL connection to be edited
115 </dd>
116 </dl>
117 <a NAME="MicroPythonWebreplUrlAddEditDialog.__updateOkButton" ID="MicroPythonWebreplUrlAddEditDialog.__updateOkButton"></a>
118 <h4>MicroPythonWebreplUrlAddEditDialog.__updateOkButton</h4>
119 <b>__updateOkButton</b>(<i></i>)
120
121 <p>
122 Private slot to update the enabled state of the OK button.
123 </p>
124 <a NAME="MicroPythonWebreplUrlAddEditDialog.getWebreplUrl" ID="MicroPythonWebreplUrlAddEditDialog.getWebreplUrl"></a>
125 <h4>MicroPythonWebreplUrlAddEditDialog.getWebreplUrl</h4>
126 <b>getWebreplUrl</b>(<i></i>)
127
128 <p>
129 Public method to retrieve the entered WebREPL connection data.
130 </p>
131 <dl>
132 <dt>Return:</dt>
133 <dd>
134 tuple containing the name, description, URL and device type for
135 the WebREPL connection
136 </dd>
137 </dl>
138 <dl>
139 <dt>Return Type:</dt>
140 <dd>
141 tuple of (str, str, str, str)
142 </dd>
143 </dl>
144 <div align="right"><a href="#top">Up</a></div>
145 <hr />
146 </body></html>

eric ide

mercurial