|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.MicroPython.Devices.CircuitPythonUpdater.ShowOutdatedDialog</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.CircuitPythonUpdater.ShowOutdatedDialog</h1> |
|
10 |
|
11 <p> |
|
12 Module implementing a dialog to show outdated modules of a connected device. |
|
13 </p> |
|
14 <h3>Global Attributes</h3> |
|
15 |
|
16 <table> |
|
17 <tr><td>None</td></tr> |
|
18 </table> |
|
19 <h3>Classes</h3> |
|
20 |
|
21 <table> |
|
22 |
|
23 <tr> |
|
24 <td><a href="#ShowOutdatedDialog">ShowOutdatedDialog</a></td> |
|
25 <td>Class implementing a dialog to show outdated modules of a connected device.</td> |
|
26 </tr> |
|
27 </table> |
|
28 <h3>Functions</h3> |
|
29 |
|
30 <table> |
|
31 <tr><td>None</td></tr> |
|
32 </table> |
|
33 <hr /> |
|
34 <hr /> |
|
35 <a NAME="ShowOutdatedDialog" ID="ShowOutdatedDialog"></a> |
|
36 <h2>ShowOutdatedDialog</h2> |
|
37 |
|
38 <p> |
|
39 Class implementing a dialog to show outdated modules of a connected device. |
|
40 </p> |
|
41 <h3>Derived from</h3> |
|
42 QDialog, Ui_ShowOutdatedDialog |
|
43 <h3>Class Attributes</h3> |
|
44 |
|
45 <table> |
|
46 <tr><td>None</td></tr> |
|
47 </table> |
|
48 <h3>Class Methods</h3> |
|
49 |
|
50 <table> |
|
51 <tr><td>None</td></tr> |
|
52 </table> |
|
53 <h3>Methods</h3> |
|
54 |
|
55 <table> |
|
56 |
|
57 <tr> |
|
58 <td><a href="#ShowOutdatedDialog.__init__">ShowOutdatedDialog</a></td> |
|
59 <td>Constructor</td> |
|
60 </tr> |
|
61 <tr> |
|
62 <td><a href="#ShowOutdatedDialog.__checkCountUpdated">__checkCountUpdated</a></td> |
|
63 <td>Private method to handle an update of the check count.</td> |
|
64 </tr> |
|
65 <tr> |
|
66 <td><a href="#ShowOutdatedDialog.getSelection">getSelection</a></td> |
|
67 <td>Public method to get the list of selected modules.</td> |
|
68 </tr> |
|
69 <tr> |
|
70 <td><a href="#ShowOutdatedDialog.on_modulesList_itemChanged">on_modulesList_itemChanged</a></td> |
|
71 <td>Private slot to handle a change of the check state of an item.</td> |
|
72 </tr> |
|
73 </table> |
|
74 <h3>Static Methods</h3> |
|
75 |
|
76 <table> |
|
77 <tr><td>None</td></tr> |
|
78 </table> |
|
79 |
|
80 <a NAME="ShowOutdatedDialog.__init__" ID="ShowOutdatedDialog.__init__"></a> |
|
81 <h4>ShowOutdatedDialog (Constructor)</h4> |
|
82 <b>ShowOutdatedDialog</b>(<i>devicePath, selectionMode=False, parent=None</i>) |
|
83 |
|
84 <p> |
|
85 Constructor |
|
86 </p> |
|
87 <dl> |
|
88 |
|
89 <dt><i>devicePath</i> (str)</dt> |
|
90 <dd> |
|
91 path to the connected board |
|
92 </dd> |
|
93 <dt><i>selectionMode</i> (bool (optional))</dt> |
|
94 <dd> |
|
95 flag indicating the activation of the selection mode |
|
96 (defaults to False) |
|
97 </dd> |
|
98 <dt><i>parent</i> (QWidget (optional))</dt> |
|
99 <dd> |
|
100 reference to the parent widget (defaults to None) |
|
101 </dd> |
|
102 </dl> |
|
103 <a NAME="ShowOutdatedDialog.__checkCountUpdated" ID="ShowOutdatedDialog.__checkCountUpdated"></a> |
|
104 <h4>ShowOutdatedDialog.__checkCountUpdated</h4> |
|
105 <b>__checkCountUpdated</b>(<i></i>) |
|
106 |
|
107 <p> |
|
108 Private method to handle an update of the check count. |
|
109 </p> |
|
110 <a NAME="ShowOutdatedDialog.getSelection" ID="ShowOutdatedDialog.getSelection"></a> |
|
111 <h4>ShowOutdatedDialog.getSelection</h4> |
|
112 <b>getSelection</b>(<i></i>) |
|
113 |
|
114 <p> |
|
115 Public method to get the list of selected modules. |
|
116 </p> |
|
117 <dl> |
|
118 <dt>Return:</dt> |
|
119 <dd> |
|
120 list of selected modules |
|
121 </dd> |
|
122 </dl> |
|
123 <dl> |
|
124 <dt>Return Type:</dt> |
|
125 <dd> |
|
126 circup.Module |
|
127 </dd> |
|
128 </dl> |
|
129 <a NAME="ShowOutdatedDialog.on_modulesList_itemChanged" ID="ShowOutdatedDialog.on_modulesList_itemChanged"></a> |
|
130 <h4>ShowOutdatedDialog.on_modulesList_itemChanged</h4> |
|
131 <b>on_modulesList_itemChanged</b>(<i>item, column</i>) |
|
132 |
|
133 <p> |
|
134 Private slot to handle a change of the check state of an item. |
|
135 </p> |
|
136 <dl> |
|
137 |
|
138 <dt><i>item</i> (QTreeWidgetItem)</dt> |
|
139 <dd> |
|
140 reference to the changed item |
|
141 </dd> |
|
142 <dt><i>column</i> (int)</dt> |
|
143 <dd> |
|
144 changed column |
|
145 </dd> |
|
146 </dl> |
|
147 <div align="right"><a href="#top">Up</a></div> |
|
148 <hr /> |
|
149 </body></html> |