src/eric7/Documentation/Source/eric7.MicroPython.Devices.EspDialogs.EspFirmwareSelectionDialog.html

branch
eric7
changeset 9756
9854647c8c5c
child 10479
856476537696
equal deleted inserted replaced
9755:1a09700229e7 9756:9854647c8c5c
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.MicroPython.Devices.EspDialogs.EspFirmwareSelectionDialog</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.Devices.EspDialogs.EspFirmwareSelectionDialog</h1>
10
11 <p>
12 Module implementing a dialog to select the ESP chip type and the firmware to
13 be flashed.
14 </p>
15 <h3>Global Attributes</h3>
16
17 <table>
18 <tr><td>None</td></tr>
19 </table>
20 <h3>Classes</h3>
21
22 <table>
23
24 <tr>
25 <td><a href="#EspFirmwareSelectionDialog">EspFirmwareSelectionDialog</a></td>
26 <td>Class implementing a dialog to select the ESP chip type and the firmware to be flashed.</td>
27 </tr>
28 </table>
29 <h3>Functions</h3>
30
31 <table>
32 <tr><td>None</td></tr>
33 </table>
34 <hr />
35 <hr />
36 <a NAME="EspFirmwareSelectionDialog" ID="EspFirmwareSelectionDialog"></a>
37 <h2>EspFirmwareSelectionDialog</h2>
38
39 <p>
40 Class implementing a dialog to select the ESP chip type and the firmware to
41 be flashed.
42 </p>
43 <h3>Derived from</h3>
44 QDialog, Ui_EspFirmwareSelectionDialog
45 <h3>Class Attributes</h3>
46
47 <table>
48 <tr><td>Chips</td></tr><tr><td>FlashAddresses</td></tr><tr><td>FlashModes</td></tr>
49 </table>
50 <h3>Class Methods</h3>
51
52 <table>
53 <tr><td>None</td></tr>
54 </table>
55 <h3>Methods</h3>
56
57 <table>
58
59 <tr>
60 <td><a href="#EspFirmwareSelectionDialog.__init__">EspFirmwareSelectionDialog</a></td>
61 <td>Constructor</td>
62 </tr>
63 <tr>
64 <td><a href="#EspFirmwareSelectionDialog.__updateOkButton">__updateOkButton</a></td>
65 <td>Private method to update the state of the OK button.</td>
66 </tr>
67 <tr>
68 <td><a href="#EspFirmwareSelectionDialog.getData">getData</a></td>
69 <td>Public method to get the entered data.</td>
70 </tr>
71 <tr>
72 <td><a href="#EspFirmwareSelectionDialog.on_addressEdit_textChanged">on_addressEdit_textChanged</a></td>
73 <td>Private slot handling a change of the address.</td>
74 </tr>
75 <tr>
76 <td><a href="#EspFirmwareSelectionDialog.on_espComboBox_currentTextChanged">on_espComboBox_currentTextChanged</a></td>
77 <td>Private slot to handle the selection of a chip type.</td>
78 </tr>
79 <tr>
80 <td><a href="#EspFirmwareSelectionDialog.on_firmwarePicker_textChanged">on_firmwarePicker_textChanged</a></td>
81 <td>Private slot handling a change of the firmware path.</td>
82 </tr>
83 </table>
84 <h3>Static Methods</h3>
85
86 <table>
87 <tr><td>None</td></tr>
88 </table>
89
90 <a NAME="EspFirmwareSelectionDialog.__init__" ID="EspFirmwareSelectionDialog.__init__"></a>
91 <h4>EspFirmwareSelectionDialog (Constructor)</h4>
92 <b>EspFirmwareSelectionDialog</b>(<i>addon=False, parent=None</i>)
93
94 <p>
95 Constructor
96 </p>
97 <dl>
98
99 <dt><i>addon</i> (bool)</dt>
100 <dd>
101 flag indicating an addon firmware
102 </dd>
103 <dt><i>parent</i> (QWidget)</dt>
104 <dd>
105 reference to the parent widget
106 </dd>
107 </dl>
108 <a NAME="EspFirmwareSelectionDialog.__updateOkButton" ID="EspFirmwareSelectionDialog.__updateOkButton"></a>
109 <h4>EspFirmwareSelectionDialog.__updateOkButton</h4>
110 <b>__updateOkButton</b>(<i></i>)
111
112 <p>
113 Private method to update the state of the OK button.
114 </p>
115 <a NAME="EspFirmwareSelectionDialog.getData" ID="EspFirmwareSelectionDialog.getData"></a>
116 <h4>EspFirmwareSelectionDialog.getData</h4>
117 <b>getData</b>(<i></i>)
118
119 <p>
120 Public method to get the entered data.
121 </p>
122 <dl>
123 <dt>Return:</dt>
124 <dd>
125 tuple containing the selected chip type, the path of the
126 firmware file, the baud rate, the flash mode and the flash
127 address
128 </dd>
129 </dl>
130 <dl>
131 <dt>Return Type:</dt>
132 <dd>
133 tuple of (str, str, str, str, str)
134 </dd>
135 </dl>
136 <a NAME="EspFirmwareSelectionDialog.on_addressEdit_textChanged" ID="EspFirmwareSelectionDialog.on_addressEdit_textChanged"></a>
137 <h4>EspFirmwareSelectionDialog.on_addressEdit_textChanged</h4>
138 <b>on_addressEdit_textChanged</b>(<i>address</i>)
139
140 <p>
141 Private slot handling a change of the address.
142 </p>
143 <dl>
144
145 <dt><i>address</i> (str)</dt>
146 <dd>
147 entered address
148 </dd>
149 </dl>
150 <a NAME="EspFirmwareSelectionDialog.on_espComboBox_currentTextChanged" ID="EspFirmwareSelectionDialog.on_espComboBox_currentTextChanged"></a>
151 <h4>EspFirmwareSelectionDialog.on_espComboBox_currentTextChanged</h4>
152 <b>on_espComboBox_currentTextChanged</b>(<i>chip</i>)
153
154 <p>
155 Private slot to handle the selection of a chip type.
156 </p>
157 <dl>
158
159 <dt><i>chip</i> (str)</dt>
160 <dd>
161 selected chip type
162 </dd>
163 </dl>
164 <a NAME="EspFirmwareSelectionDialog.on_firmwarePicker_textChanged" ID="EspFirmwareSelectionDialog.on_firmwarePicker_textChanged"></a>
165 <h4>EspFirmwareSelectionDialog.on_firmwarePicker_textChanged</h4>
166 <b>on_firmwarePicker_textChanged</b>(<i>firmware</i>)
167
168 <p>
169 Private slot handling a change of the firmware path.
170 </p>
171 <dl>
172
173 <dt><i>firmware</i> (str)</dt>
174 <dd>
175 path to the firmware
176 </dd>
177 </dl>
178 <div align="right"><a href="#top">Up</a></div>
179 <hr />
180 </body></html>

eric ide

mercurial