Sat, 26 Apr 2025 12:34:32 +0200
MicroPython
- Added a configuration option to disable the support for the no longer produced Pimoroni Pico Wireless Pack.
9740 | 1 | <!DOCTYPE html> |
2 | <html><head> | |
9748 | 3 | <title>eric7.MicroPython.ShowModulesDialog</title> |
9740 | 4 | <meta charset="UTF-8"> |
5 | <link rel="stylesheet" href="styles.css"> | |
6 | </head> | |
7 | <body> | |
8 | <a NAME="top" ID="top"></a> | |
9748 | 9 | <h1>eric7.MicroPython.ShowModulesDialog</h1> |
9740 | 10 | <p> |
11 | Module implementing a dialog to show the available modules of all bundles. | |
12 | </p> | |
10479
856476537696
Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9748
diff
changeset
|
13 | |
9740 | 14 | <h3>Global Attributes</h3> |
15 | <table> | |
16 | <tr><td>None</td></tr> | |
17 | </table> | |
10479
856476537696
Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9748
diff
changeset
|
18 | |
9740 | 19 | <h3>Classes</h3> |
20 | <table> | |
21 | <tr> | |
22 | <td><a href="#ShowModulesDialog">ShowModulesDialog</a></td> | |
23 | <td>Class implementing a dialog to show the available modules of all bundles.</td> | |
24 | </tr> | |
25 | </table> | |
10479
856476537696
Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9748
diff
changeset
|
26 | |
9740 | 27 | <h3>Functions</h3> |
28 | <table> | |
29 | <tr><td>None</td></tr> | |
30 | </table> | |
10479
856476537696
Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9748
diff
changeset
|
31 | |
9740 | 32 | <hr /> |
33 | <hr /> | |
34 | <a NAME="ShowModulesDialog" ID="ShowModulesDialog"></a> | |
35 | <h2>ShowModulesDialog</h2> | |
36 | <p> | |
37 | Class implementing a dialog to show the available modules of all bundles. | |
38 | </p> | |
10479
856476537696
Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9748
diff
changeset
|
39 | |
9740 | 40 | <h3>Derived from</h3> |
41 | QDialog, Ui_ShowModulesDialog | |
42 | <h3>Class Attributes</h3> | |
43 | <table> | |
44 | <tr><td>None</td></tr> | |
45 | </table> | |
10479
856476537696
Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9748
diff
changeset
|
46 | |
9740 | 47 | <h3>Class Methods</h3> |
48 | <table> | |
49 | <tr><td>None</td></tr> | |
50 | </table> | |
10479
856476537696
Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9748
diff
changeset
|
51 | |
9740 | 52 | <h3>Methods</h3> |
53 | <table> | |
54 | <tr> | |
55 | <td><a href="#ShowModulesDialog.__init__">ShowModulesDialog</a></td> | |
56 | <td>Constructor</td> | |
57 | </tr> | |
58 | <tr> | |
59 | <td><a href="#ShowModulesDialog.__applyFilter">__applyFilter</a></td> | |
60 | <td>Private slot to apply the filter to the list of available modules.</td> | |
61 | </tr> | |
62 | <tr> | |
63 | <td><a href="#ShowModulesDialog.__checkCountUpdated">__checkCountUpdated</a></td> | |
64 | <td>Private method to handle an update of the check count.</td> | |
65 | </tr> | |
66 | <tr> | |
67 | <td><a href="#ShowModulesDialog.getSelection">getSelection</a></td> | |
68 | <td>Public method to get the list of selected modules.</td> | |
69 | </tr> | |
70 | <tr> | |
71 | <td><a href="#ShowModulesDialog.on_modulesList_itemChanged">on_modulesList_itemChanged</a></td> | |
72 | <td>Private slot to handle a change of the check state of an item.</td> | |
73 | </tr> | |
74 | </table> | |
10479
856476537696
Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9748
diff
changeset
|
75 | |
9740 | 76 | <h3>Static Methods</h3> |
77 | <table> | |
78 | <tr><td>None</td></tr> | |
79 | </table> | |
80 | ||
10479
856476537696
Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9748
diff
changeset
|
81 | |
9740 | 82 | <a NAME="ShowModulesDialog.__init__" ID="ShowModulesDialog.__init__"></a> |
83 | <h4>ShowModulesDialog (Constructor)</h4> | |
9748 | 84 | <b>ShowModulesDialog</b>(<i>modulesList, selectionMode=False, info="", parent=None</i>) |
9740 | 85 | <p> |
86 | Constructor | |
87 | </p> | |
10479
856476537696
Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9748
diff
changeset
|
88 | |
9740 | 89 | <dl> |
90 | ||
9748 | 91 | <dt><i>modulesList</i> (list of str)</dt> |
92 | <dd> | |
93 | list of module names to be shown | |
94 | </dd> | |
9740 | 95 | <dt><i>selectionMode</i> (bool (optional))</dt> |
96 | <dd> | |
97 | flag indicating the activation of the selection mode | |
98 | (defaults to False) | |
99 | </dd> | |
9748 | 100 | <dt><i>info</i> (str (optional))</dt> |
101 | <dd> | |
102 | string containing some informational data (defaults to "") | |
103 | </dd> | |
9740 | 104 | <dt><i>parent</i> (QWidget (optional))</dt> |
105 | <dd> | |
106 | reference to the parent widget (defaults to None) | |
107 | </dd> | |
108 | </dl> | |
109 | <a NAME="ShowModulesDialog.__applyFilter" ID="ShowModulesDialog.__applyFilter"></a> | |
110 | <h4>ShowModulesDialog.__applyFilter</h4> | |
111 | <b>__applyFilter</b>(<i></i>) | |
112 | <p> | |
113 | Private slot to apply the filter to the list of available modules. | |
114 | </p> | |
10479
856476537696
Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9748
diff
changeset
|
115 | |
9740 | 116 | <a NAME="ShowModulesDialog.__checkCountUpdated" ID="ShowModulesDialog.__checkCountUpdated"></a> |
117 | <h4>ShowModulesDialog.__checkCountUpdated</h4> | |
118 | <b>__checkCountUpdated</b>(<i></i>) | |
119 | <p> | |
120 | Private method to handle an update of the check count. | |
121 | </p> | |
10479
856476537696
Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9748
diff
changeset
|
122 | |
9740 | 123 | <a NAME="ShowModulesDialog.getSelection" ID="ShowModulesDialog.getSelection"></a> |
124 | <h4>ShowModulesDialog.getSelection</h4> | |
125 | <b>getSelection</b>(<i></i>) | |
126 | <p> | |
127 | Public method to get the list of selected modules. | |
128 | </p> | |
10479
856476537696
Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9748
diff
changeset
|
129 | |
9740 | 130 | <dl> |
131 | <dt>Return:</dt> | |
132 | <dd> | |
133 | list of selected modules | |
134 | </dd> | |
135 | </dl> | |
136 | <dl> | |
137 | <dt>Return Type:</dt> | |
138 | <dd> | |
11011
f1f1c8d0255d
Modified the CircuitPython library management for circup >= 2.0.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10479
diff
changeset
|
139 | circup.module.Module |
9740 | 140 | </dd> |
141 | </dl> | |
142 | <a NAME="ShowModulesDialog.on_modulesList_itemChanged" ID="ShowModulesDialog.on_modulesList_itemChanged"></a> | |
143 | <h4>ShowModulesDialog.on_modulesList_itemChanged</h4> | |
144 | <b>on_modulesList_itemChanged</b>(<i>item</i>) | |
145 | <p> | |
146 | Private slot to handle a change of the check state of an item. | |
147 | </p> | |
10479
856476537696
Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9748
diff
changeset
|
148 | |
9740 | 149 | <dl> |
150 | ||
151 | <dt><i>item</i> (QTreeWidgetItem)</dt> | |
152 | <dd> | |
153 | reference to the changed item | |
154 | </dd> | |
155 | </dl> | |
156 | <div align="right"><a href="#top">Up</a></div> | |
157 | <hr /> | |
10479
856476537696
Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9748
diff
changeset
|
158 | </body></html> |