eric7/Documentation/Source/eric7.MicroPython.EspFirmwareSelectionDialog.html

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

eric ide

mercurial