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

branch
eric7
changeset 10479
856476537696
parent 9756
9854647c8c5c
child 10690
fab36645aa7d
equal deleted inserted replaced
10478:de9106c55c3d 10479:856476537696
5 <link rel="stylesheet" href="styles.css"> 5 <link rel="stylesheet" href="styles.css">
6 </head> 6 </head>
7 <body> 7 <body>
8 <a NAME="top" ID="top"></a> 8 <a NAME="top" ID="top"></a>
9 <h1>eric7.MicroPython.Devices.EspDialogs.EspBackupRestoreFirmwareDialog</h1> 9 <h1>eric7.MicroPython.Devices.EspDialogs.EspBackupRestoreFirmwareDialog</h1>
10
11 <p> 10 <p>
12 Module implementing a dialog to select the ESP chip type and the backup and 11 Module implementing a dialog to select the ESP chip type and the backup and
13 restore parameters. 12 restore parameters.
14 </p> 13 </p>
14
15 <h3>Global Attributes</h3> 15 <h3>Global Attributes</h3>
16
17 <table> 16 <table>
18 <tr><td>None</td></tr> 17 <tr><td>None</td></tr>
19 </table> 18 </table>
19
20 <h3>Classes</h3> 20 <h3>Classes</h3>
21
22 <table> 21 <table>
23
24 <tr> 22 <tr>
25 <td><a href="#EspBackupRestoreFirmwareDialog">EspBackupRestoreFirmwareDialog</a></td> 23 <td><a href="#EspBackupRestoreFirmwareDialog">EspBackupRestoreFirmwareDialog</a></td>
26 <td>Class implementing a dialog to select the ESP chip type and the backup and restore parameters.</td> 24 <td>Class implementing a dialog to select the ESP chip type and the backup and restore parameters.</td>
27 </tr> 25 </tr>
28 </table> 26 </table>
27
29 <h3>Functions</h3> 28 <h3>Functions</h3>
30
31 <table> 29 <table>
32 <tr><td>None</td></tr> 30 <tr><td>None</td></tr>
33 </table> 31 </table>
32
34 <hr /> 33 <hr />
35 <hr /> 34 <hr />
36 <a NAME="EspBackupRestoreFirmwareDialog" ID="EspBackupRestoreFirmwareDialog"></a> 35 <a NAME="EspBackupRestoreFirmwareDialog" ID="EspBackupRestoreFirmwareDialog"></a>
37 <h2>EspBackupRestoreFirmwareDialog</h2> 36 <h2>EspBackupRestoreFirmwareDialog</h2>
38
39 <p> 37 <p>
40 Class implementing a dialog to select the ESP chip type and the backup and 38 Class implementing a dialog to select the ESP chip type and the backup and
41 restore parameters. 39 restore parameters.
42 </p> 40 </p>
41
43 <h3>Derived from</h3> 42 <h3>Derived from</h3>
44 QDialog, Ui_EspBackupRestoreFirmwareDialog 43 QDialog, Ui_EspBackupRestoreFirmwareDialog
45 <h3>Class Attributes</h3> 44 <h3>Class Attributes</h3>
45 <table>
46 <tr><td>Chips</td></tr>
47 <tr><td>FlashModes</td></tr>
48 <tr><td>FlashSizes</td></tr>
49 </table>
46 50
47 <table>
48 <tr><td>Chips</td></tr><tr><td>FlashModes</td></tr><tr><td>FlashSizes</td></tr>
49 </table>
50 <h3>Class Methods</h3> 51 <h3>Class Methods</h3>
51
52 <table> 52 <table>
53 <tr><td>None</td></tr> 53 <tr><td>None</td></tr>
54 </table> 54 </table>
55
55 <h3>Methods</h3> 56 <h3>Methods</h3>
56
57 <table> 57 <table>
58
59 <tr> 58 <tr>
60 <td><a href="#EspBackupRestoreFirmwareDialog.__init__">EspBackupRestoreFirmwareDialog</a></td> 59 <td><a href="#EspBackupRestoreFirmwareDialog.__init__">EspBackupRestoreFirmwareDialog</a></td>
61 <td>Constructor</td> 60 <td>Constructor</td>
62 </tr> 61 </tr>
63 <tr> 62 <tr>
79 <tr> 78 <tr>
80 <td><a href="#EspBackupRestoreFirmwareDialog.on_sizeComboBox_currentTextChanged">on_sizeComboBox_currentTextChanged</a></td> 79 <td><a href="#EspBackupRestoreFirmwareDialog.on_sizeComboBox_currentTextChanged">on_sizeComboBox_currentTextChanged</a></td>
81 <td>Private slot handling a change of the selected firmware size.</td> 80 <td>Private slot handling a change of the selected firmware size.</td>
82 </tr> 81 </tr>
83 </table> 82 </table>
83
84 <h3>Static Methods</h3> 84 <h3>Static Methods</h3>
85
86 <table> 85 <table>
87 <tr><td>None</td></tr> 86 <tr><td>None</td></tr>
88 </table> 87 </table>
89 88
89
90 <a NAME="EspBackupRestoreFirmwareDialog.__init__" ID="EspBackupRestoreFirmwareDialog.__init__"></a> 90 <a NAME="EspBackupRestoreFirmwareDialog.__init__" ID="EspBackupRestoreFirmwareDialog.__init__"></a>
91 <h4>EspBackupRestoreFirmwareDialog (Constructor)</h4> 91 <h4>EspBackupRestoreFirmwareDialog (Constructor)</h4>
92 <b>EspBackupRestoreFirmwareDialog</b>(<i>backupMode=True, parent=None</i>) 92 <b>EspBackupRestoreFirmwareDialog</b>(<i>backupMode=True, parent=None</i>)
93
94 <p> 93 <p>
95 Constructor 94 Constructor
96 </p> 95 </p>
96
97 <dl> 97 <dl>
98 98
99 <dt><i>backupMode</i> (bool)</dt> 99 <dt><i>backupMode</i> (bool)</dt>
100 <dd> 100 <dd>
101 flag indicating parameters for a firmware backup are 101 flag indicating parameters for a firmware backup are
107 </dd> 107 </dd>
108 </dl> 108 </dl>
109 <a NAME="EspBackupRestoreFirmwareDialog.__updateOkButton" ID="EspBackupRestoreFirmwareDialog.__updateOkButton"></a> 109 <a NAME="EspBackupRestoreFirmwareDialog.__updateOkButton" ID="EspBackupRestoreFirmwareDialog.__updateOkButton"></a>
110 <h4>EspBackupRestoreFirmwareDialog.__updateOkButton</h4> 110 <h4>EspBackupRestoreFirmwareDialog.__updateOkButton</h4>
111 <b>__updateOkButton</b>(<i></i>) 111 <b>__updateOkButton</b>(<i></i>)
112
113 <p> 112 <p>
114 Private method to update the state of the OK button. 113 Private method to update the state of the OK button.
115 </p> 114 </p>
115
116 <a NAME="EspBackupRestoreFirmwareDialog.getData" ID="EspBackupRestoreFirmwareDialog.getData"></a> 116 <a NAME="EspBackupRestoreFirmwareDialog.getData" ID="EspBackupRestoreFirmwareDialog.getData"></a>
117 <h4>EspBackupRestoreFirmwareDialog.getData</h4> 117 <h4>EspBackupRestoreFirmwareDialog.getData</h4>
118 <b>getData</b>(<i></i>) 118 <b>getData</b>(<i></i>)
119
120 <p> 119 <p>
121 Public method to get the entered data. 120 Public method to get the entered data.
122 </p> 121 </p>
122
123 <dl> 123 <dl>
124 <dt>Return:</dt> 124 <dt>Return:</dt>
125 <dd> 125 <dd>
126 tuple containing the selected chip type, the firmware size, 126 tuple containing the selected chip type, the firmware size,
127 the baud rate or flashing, the flash mode and the path of the 127 the baud rate or flashing, the flash mode and the path of the
135 </dd> 135 </dd>
136 </dl> 136 </dl>
137 <a NAME="EspBackupRestoreFirmwareDialog.on_espComboBox_currentTextChanged" ID="EspBackupRestoreFirmwareDialog.on_espComboBox_currentTextChanged"></a> 137 <a NAME="EspBackupRestoreFirmwareDialog.on_espComboBox_currentTextChanged" ID="EspBackupRestoreFirmwareDialog.on_espComboBox_currentTextChanged"></a>
138 <h4>EspBackupRestoreFirmwareDialog.on_espComboBox_currentTextChanged</h4> 138 <h4>EspBackupRestoreFirmwareDialog.on_espComboBox_currentTextChanged</h4>
139 <b>on_espComboBox_currentTextChanged</b>(<i>chip</i>) 139 <b>on_espComboBox_currentTextChanged</b>(<i>chip</i>)
140
141 <p> 140 <p>
142 Private slot to handle the selection of a chip type. 141 Private slot to handle the selection of a chip type.
143 </p> 142 </p>
143
144 <dl> 144 <dl>
145 145
146 <dt><i>chip</i> (str)</dt> 146 <dt><i>chip</i> (str)</dt>
147 <dd> 147 <dd>
148 selected chip type 148 selected chip type
149 </dd> 149 </dd>
150 </dl> 150 </dl>
151 <a NAME="EspBackupRestoreFirmwareDialog.on_firmwarePicker_textChanged" ID="EspBackupRestoreFirmwareDialog.on_firmwarePicker_textChanged"></a> 151 <a NAME="EspBackupRestoreFirmwareDialog.on_firmwarePicker_textChanged" ID="EspBackupRestoreFirmwareDialog.on_firmwarePicker_textChanged"></a>
152 <h4>EspBackupRestoreFirmwareDialog.on_firmwarePicker_textChanged</h4> 152 <h4>EspBackupRestoreFirmwareDialog.on_firmwarePicker_textChanged</h4>
153 <b>on_firmwarePicker_textChanged</b>(<i>firmware</i>) 153 <b>on_firmwarePicker_textChanged</b>(<i>firmware</i>)
154
155 <p> 154 <p>
156 Private slot handling a change of the firmware path. 155 Private slot handling a change of the firmware path.
157 </p> 156 </p>
157
158 <dl> 158 <dl>
159 159
160 <dt><i>firmware</i> (str)</dt> 160 <dt><i>firmware</i> (str)</dt>
161 <dd> 161 <dd>
162 path to the firmware 162 path to the firmware
163 </dd> 163 </dd>
164 </dl> 164 </dl>
165 <a NAME="EspBackupRestoreFirmwareDialog.on_sizeComboBox_currentTextChanged" ID="EspBackupRestoreFirmwareDialog.on_sizeComboBox_currentTextChanged"></a> 165 <a NAME="EspBackupRestoreFirmwareDialog.on_sizeComboBox_currentTextChanged" ID="EspBackupRestoreFirmwareDialog.on_sizeComboBox_currentTextChanged"></a>
166 <h4>EspBackupRestoreFirmwareDialog.on_sizeComboBox_currentTextChanged</h4> 166 <h4>EspBackupRestoreFirmwareDialog.on_sizeComboBox_currentTextChanged</h4>
167 <b>on_sizeComboBox_currentTextChanged</b>(<i>size</i>) 167 <b>on_sizeComboBox_currentTextChanged</b>(<i>size</i>)
168
169 <p> 168 <p>
170 Private slot handling a change of the selected firmware size. 169 Private slot handling a change of the selected firmware size.
171 </p> 170 </p>
171
172 <dl> 172 <dl>
173 173
174 <dt><i>size</i> (str)</dt> 174 <dt><i>size</i> (str)</dt>
175 <dd> 175 <dd>
176 selected size text 176 selected size text

eric ide

mercurial