eric6/Documentation/Source/eric6.MicroPython.EspFirmwareSelectionDialog.html

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

eric ide

mercurial