eric6/Documentation/Source/eric6.MicroPython.CircuitPythonFirmwareSelectionDialog.html

changeset 7273
391d6b7b1eff
parent 7145
ceb3e8b242c1
child 7989
a21d673a8f99
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.CircuitPythonFirmwareSelectionDialog</h1> 23 <h1>eric6.MicroPython.CircuitPythonFirmwareSelectionDialog</h1>
24
23 <p> 25 <p>
24 Module implementing a dialog to enter the firmware flashing data. 26 Module implementing a dialog to enter the firmware flashing data.
25 </p> 27 </p>
26 <h3>Global Attributes</h3> 28 <h3>Global Attributes</h3>
29
27 <table> 30 <table>
28 <tr><td>None</td></tr> 31 <tr><td>None</td></tr>
29 </table> 32 </table>
30 <h3>Classes</h3> 33 <h3>Classes</h3>
34
31 <table> 35 <table>
36
32 <tr> 37 <tr>
33 <td><a href="#CircuitPythonFirmwareSelectionDialog">CircuitPythonFirmwareSelectionDialog</a></td> 38 <td><a href="#CircuitPythonFirmwareSelectionDialog">CircuitPythonFirmwareSelectionDialog</a></td>
34 <td>Class implementing a dialog to enter the firmware flashing data.</td> 39 <td>Class implementing a dialog to enter the firmware flashing data.</td>
35 </tr> 40 </tr>
36 </table> 41 </table>
37 <h3>Functions</h3> 42 <h3>Functions</h3>
43
38 <table> 44 <table>
39 <tr><td>None</td></tr> 45 <tr><td>None</td></tr>
40 </table> 46 </table>
41 <hr /><hr /> 47 <hr />
48 <hr />
42 <a NAME="CircuitPythonFirmwareSelectionDialog" ID="CircuitPythonFirmwareSelectionDialog"></a> 49 <a NAME="CircuitPythonFirmwareSelectionDialog" ID="CircuitPythonFirmwareSelectionDialog"></a>
43 <h2>CircuitPythonFirmwareSelectionDialog</h2> 50 <h2>CircuitPythonFirmwareSelectionDialog</h2>
51
44 <p> 52 <p>
45 Class implementing a dialog to enter the firmware flashing data. 53 Class implementing a dialog to enter the firmware flashing data.
46 </p> 54 </p>
47 <h3>Derived from</h3> 55 <h3>Derived from</h3>
48 QDialog, Ui_CircuitPythonFirmwareSelectionDialog 56 QDialog, Ui_CircuitPythonFirmwareSelectionDialog
49 <h3>Class Attributes</h3> 57 <h3>Class Attributes</h3>
58
50 <table> 59 <table>
51 <tr><td>None</td></tr> 60 <tr><td>None</td></tr>
52 </table> 61 </table>
53 <h3>Class Methods</h3> 62 <h3>Class Methods</h3>
63
54 <table> 64 <table>
55 <tr><td>None</td></tr> 65 <tr><td>None</td></tr>
56 </table> 66 </table>
57 <h3>Methods</h3> 67 <h3>Methods</h3>
68
58 <table> 69 <table>
70
59 <tr> 71 <tr>
60 <td><a href="#CircuitPythonFirmwareSelectionDialog.__init__">CircuitPythonFirmwareSelectionDialog</a></td> 72 <td><a href="#CircuitPythonFirmwareSelectionDialog.__init__">CircuitPythonFirmwareSelectionDialog</a></td>
61 <td>Constructor</td> 73 <td>Constructor</td>
62 </tr><tr> 74 </tr>
75 <tr>
63 <td><a href="#CircuitPythonFirmwareSelectionDialog.__updateOkButton">__updateOkButton</a></td> 76 <td><a href="#CircuitPythonFirmwareSelectionDialog.__updateOkButton">__updateOkButton</a></td>
64 <td>Private method to update the state of the OK button and the retest button.</td> 77 <td>Private method to update the state of the OK button and the retest button.</td>
65 </tr><tr> 78 </tr>
79 <tr>
66 <td><a href="#CircuitPythonFirmwareSelectionDialog.getData">getData</a></td> 80 <td><a href="#CircuitPythonFirmwareSelectionDialog.getData">getData</a></td>
67 <td>Public method to obtain the entered data.</td> 81 <td>Public method to obtain the entered data.</td>
68 </tr><tr> 82 </tr>
83 <tr>
69 <td><a href="#CircuitPythonFirmwareSelectionDialog.on_boardComboBox_currentIndexChanged">on_boardComboBox_currentIndexChanged</a></td> 84 <td><a href="#CircuitPythonFirmwareSelectionDialog.on_boardComboBox_currentIndexChanged">on_boardComboBox_currentIndexChanged</a></td>
70 <td>Private slot to handle the selection of a board type.</td> 85 <td>Private slot to handle the selection of a board type.</td>
71 </tr><tr> 86 </tr>
87 <tr>
72 <td><a href="#CircuitPythonFirmwareSelectionDialog.on_bootPicker_textChanged">on_bootPicker_textChanged</a></td> 88 <td><a href="#CircuitPythonFirmwareSelectionDialog.on_bootPicker_textChanged">on_bootPicker_textChanged</a></td>
73 <td>Private slot handling a change of the device path.</td> 89 <td>Private slot handling a change of the device path.</td>
74 </tr><tr> 90 </tr>
91 <tr>
75 <td><a href="#CircuitPythonFirmwareSelectionDialog.on_firmwarePicker_textChanged">on_firmwarePicker_textChanged</a></td> 92 <td><a href="#CircuitPythonFirmwareSelectionDialog.on_firmwarePicker_textChanged">on_firmwarePicker_textChanged</a></td>
76 <td>Private slot handling a change of the firmware path.</td> 93 <td>Private slot handling a change of the firmware path.</td>
77 </tr><tr> 94 </tr>
95 <tr>
78 <td><a href="#CircuitPythonFirmwareSelectionDialog.on_retestButton_clicked">on_retestButton_clicked</a></td> 96 <td><a href="#CircuitPythonFirmwareSelectionDialog.on_retestButton_clicked">on_retestButton_clicked</a></td>
79 <td>Private slot to research for the selected volume.</td> 97 <td>Private slot to research for the selected volume.</td>
80 </tr> 98 </tr>
81 </table> 99 </table>
82 <h3>Static Methods</h3> 100 <h3>Static Methods</h3>
101
83 <table> 102 <table>
84 <tr><td>None</td></tr> 103 <tr><td>None</td></tr>
85 </table> 104 </table>
105
86 <a NAME="CircuitPythonFirmwareSelectionDialog.__init__" ID="CircuitPythonFirmwareSelectionDialog.__init__"></a> 106 <a NAME="CircuitPythonFirmwareSelectionDialog.__init__" ID="CircuitPythonFirmwareSelectionDialog.__init__"></a>
87 <h4>CircuitPythonFirmwareSelectionDialog (Constructor)</h4> 107 <h4>CircuitPythonFirmwareSelectionDialog (Constructor)</h4>
88 <b>CircuitPythonFirmwareSelectionDialog</b>(<i>parent=None</i>) 108 <b>CircuitPythonFirmwareSelectionDialog</b>(<i>parent=None</i>)
109
89 <p> 110 <p>
90 Constructor 111 Constructor
91 </p><dl> 112 </p>
113 <dl>
114
92 <dt><i>parent</i> (QWidget)</dt> 115 <dt><i>parent</i> (QWidget)</dt>
93 <dd> 116 <dd>
94 reference to the parent widget 117 reference to the parent widget
95 </dd> 118 </dd>
96 </dl><a NAME="CircuitPythonFirmwareSelectionDialog.__updateOkButton" ID="CircuitPythonFirmwareSelectionDialog.__updateOkButton"></a> 119 </dl>
120 <a NAME="CircuitPythonFirmwareSelectionDialog.__updateOkButton" ID="CircuitPythonFirmwareSelectionDialog.__updateOkButton"></a>
97 <h4>CircuitPythonFirmwareSelectionDialog.__updateOkButton</h4> 121 <h4>CircuitPythonFirmwareSelectionDialog.__updateOkButton</h4>
98 <b>__updateOkButton</b>(<i></i>) 122 <b>__updateOkButton</b>(<i></i>)
123
99 <p> 124 <p>
100 Private method to update the state of the OK button and the retest 125 Private method to update the state of the OK button and the retest
101 button. 126 button.
102 </p><a NAME="CircuitPythonFirmwareSelectionDialog.getData" ID="CircuitPythonFirmwareSelectionDialog.getData"></a> 127 </p>
128 <a NAME="CircuitPythonFirmwareSelectionDialog.getData" ID="CircuitPythonFirmwareSelectionDialog.getData"></a>
103 <h4>CircuitPythonFirmwareSelectionDialog.getData</h4> 129 <h4>CircuitPythonFirmwareSelectionDialog.getData</h4>
104 <b>getData</b>(<i></i>) 130 <b>getData</b>(<i></i>)
131
105 <p> 132 <p>
106 Public method to obtain the entered data. 133 Public method to obtain the entered data.
107 </p><dl> 134 </p>
135 <dl>
108 <dt>Returns:</dt> 136 <dt>Returns:</dt>
109 <dd> 137 <dd>
110 tuple containing the path to the CircuitPython firmware file 138 tuple containing the path to the CircuitPython firmware file
111 and the path to the device 139 and the path to the device
112 </dd> 140 </dd>
113 </dl><dl> 141 </dl>
142 <dl>
114 <dt>Return Type:</dt> 143 <dt>Return Type:</dt>
115 <dd> 144 <dd>
116 tuple of (str, str) 145 tuple of (str, str)
117 </dd> 146 </dd>
118 </dl><a NAME="CircuitPythonFirmwareSelectionDialog.on_boardComboBox_currentIndexChanged" ID="CircuitPythonFirmwareSelectionDialog.on_boardComboBox_currentIndexChanged"></a> 147 </dl>
148 <a NAME="CircuitPythonFirmwareSelectionDialog.on_boardComboBox_currentIndexChanged" ID="CircuitPythonFirmwareSelectionDialog.on_boardComboBox_currentIndexChanged"></a>
119 <h4>CircuitPythonFirmwareSelectionDialog.on_boardComboBox_currentIndexChanged</h4> 149 <h4>CircuitPythonFirmwareSelectionDialog.on_boardComboBox_currentIndexChanged</h4>
120 <b>on_boardComboBox_currentIndexChanged</b>(<i>index</i>) 150 <b>on_boardComboBox_currentIndexChanged</b>(<i>index</i>)
151
121 <p> 152 <p>
122 Private slot to handle the selection of a board type. 153 Private slot to handle the selection of a board type.
123 </p><dl> 154 </p>
155 <dl>
156
124 <dt><i>index</i> (int)</dt> 157 <dt><i>index</i> (int)</dt>
125 <dd> 158 <dd>
126 index of the selected board type 159 index of the selected board type
127 </dd> 160 </dd>
128 </dl><a NAME="CircuitPythonFirmwareSelectionDialog.on_bootPicker_textChanged" ID="CircuitPythonFirmwareSelectionDialog.on_bootPicker_textChanged"></a> 161 </dl>
162 <a NAME="CircuitPythonFirmwareSelectionDialog.on_bootPicker_textChanged" ID="CircuitPythonFirmwareSelectionDialog.on_bootPicker_textChanged"></a>
129 <h4>CircuitPythonFirmwareSelectionDialog.on_bootPicker_textChanged</h4> 163 <h4>CircuitPythonFirmwareSelectionDialog.on_bootPicker_textChanged</h4>
130 <b>on_bootPicker_textChanged</b>(<i>devicePath</i>) 164 <b>on_bootPicker_textChanged</b>(<i>devicePath</i>)
165
131 <p> 166 <p>
132 Private slot handling a change of the device path. 167 Private slot handling a change of the device path.
133 </p><dl> 168 </p>
169 <dl>
170
134 <dt><i>devicePath</i> (str)</dt> 171 <dt><i>devicePath</i> (str)</dt>
135 <dd> 172 <dd>
136 path to the device 173 path to the device
137 </dd> 174 </dd>
138 </dl><a NAME="CircuitPythonFirmwareSelectionDialog.on_firmwarePicker_textChanged" ID="CircuitPythonFirmwareSelectionDialog.on_firmwarePicker_textChanged"></a> 175 </dl>
176 <a NAME="CircuitPythonFirmwareSelectionDialog.on_firmwarePicker_textChanged" ID="CircuitPythonFirmwareSelectionDialog.on_firmwarePicker_textChanged"></a>
139 <h4>CircuitPythonFirmwareSelectionDialog.on_firmwarePicker_textChanged</h4> 177 <h4>CircuitPythonFirmwareSelectionDialog.on_firmwarePicker_textChanged</h4>
140 <b>on_firmwarePicker_textChanged</b>(<i>firmware</i>) 178 <b>on_firmwarePicker_textChanged</b>(<i>firmware</i>)
179
141 <p> 180 <p>
142 Private slot handling a change of the firmware path. 181 Private slot handling a change of the firmware path.
143 </p><dl> 182 </p>
183 <dl>
184
144 <dt><i>firmware</i> (str)</dt> 185 <dt><i>firmware</i> (str)</dt>
145 <dd> 186 <dd>
146 path to the firmware 187 path to the firmware
147 </dd> 188 </dd>
148 </dl><a NAME="CircuitPythonFirmwareSelectionDialog.on_retestButton_clicked" ID="CircuitPythonFirmwareSelectionDialog.on_retestButton_clicked"></a> 189 </dl>
190 <a NAME="CircuitPythonFirmwareSelectionDialog.on_retestButton_clicked" ID="CircuitPythonFirmwareSelectionDialog.on_retestButton_clicked"></a>
149 <h4>CircuitPythonFirmwareSelectionDialog.on_retestButton_clicked</h4> 191 <h4>CircuitPythonFirmwareSelectionDialog.on_retestButton_clicked</h4>
150 <b>on_retestButton_clicked</b>(<i></i>) 192 <b>on_retestButton_clicked</b>(<i></i>)
193
151 <p> 194 <p>
152 Private slot to research for the selected volume. 195 Private slot to research for the selected volume.
153 </p> 196 </p>
154 <div align="right"><a href="#top">Up</a></div> 197 <div align="right"><a href="#top">Up</a></div>
155 <hr /> 198 <hr />

eric ide

mercurial