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.ShowModulesDialog</h1> |
9 <h1>eric7.MicroPython.ShowModulesDialog</h1> |
10 |
|
11 <p> |
10 <p> |
12 Module implementing a dialog to show the available modules of all bundles. |
11 Module implementing a dialog to show the available modules of all bundles. |
13 </p> |
12 </p> |
|
13 |
14 <h3>Global Attributes</h3> |
14 <h3>Global Attributes</h3> |
15 |
|
16 <table> |
15 <table> |
17 <tr><td>None</td></tr> |
16 <tr><td>None</td></tr> |
18 </table> |
17 </table> |
|
18 |
19 <h3>Classes</h3> |
19 <h3>Classes</h3> |
20 |
|
21 <table> |
20 <table> |
22 |
|
23 <tr> |
21 <tr> |
24 <td><a href="#ShowModulesDialog">ShowModulesDialog</a></td> |
22 <td><a href="#ShowModulesDialog">ShowModulesDialog</a></td> |
25 <td>Class implementing a dialog to show the available modules of all bundles.</td> |
23 <td>Class implementing a dialog to show the available modules of all bundles.</td> |
26 </tr> |
24 </tr> |
27 </table> |
25 </table> |
|
26 |
28 <h3>Functions</h3> |
27 <h3>Functions</h3> |
29 |
|
30 <table> |
28 <table> |
31 <tr><td>None</td></tr> |
29 <tr><td>None</td></tr> |
32 </table> |
30 </table> |
|
31 |
33 <hr /> |
32 <hr /> |
34 <hr /> |
33 <hr /> |
35 <a NAME="ShowModulesDialog" ID="ShowModulesDialog"></a> |
34 <a NAME="ShowModulesDialog" ID="ShowModulesDialog"></a> |
36 <h2>ShowModulesDialog</h2> |
35 <h2>ShowModulesDialog</h2> |
37 |
|
38 <p> |
36 <p> |
39 Class implementing a dialog to show the available modules of all bundles. |
37 Class implementing a dialog to show the available modules of all bundles. |
40 </p> |
38 </p> |
|
39 |
41 <h3>Derived from</h3> |
40 <h3>Derived from</h3> |
42 QDialog, Ui_ShowModulesDialog |
41 QDialog, Ui_ShowModulesDialog |
43 <h3>Class Attributes</h3> |
42 <h3>Class Attributes</h3> |
44 |
|
45 <table> |
43 <table> |
46 <tr><td>None</td></tr> |
44 <tr><td>None</td></tr> |
47 </table> |
45 </table> |
|
46 |
48 <h3>Class Methods</h3> |
47 <h3>Class Methods</h3> |
49 |
|
50 <table> |
48 <table> |
51 <tr><td>None</td></tr> |
49 <tr><td>None</td></tr> |
52 </table> |
50 </table> |
|
51 |
53 <h3>Methods</h3> |
52 <h3>Methods</h3> |
54 |
|
55 <table> |
53 <table> |
56 |
|
57 <tr> |
54 <tr> |
58 <td><a href="#ShowModulesDialog.__init__">ShowModulesDialog</a></td> |
55 <td><a href="#ShowModulesDialog.__init__">ShowModulesDialog</a></td> |
59 <td>Constructor</td> |
56 <td>Constructor</td> |
60 </tr> |
57 </tr> |
61 <tr> |
58 <tr> |
73 <tr> |
70 <tr> |
74 <td><a href="#ShowModulesDialog.on_modulesList_itemChanged">on_modulesList_itemChanged</a></td> |
71 <td><a href="#ShowModulesDialog.on_modulesList_itemChanged">on_modulesList_itemChanged</a></td> |
75 <td>Private slot to handle a change of the check state of an item.</td> |
72 <td>Private slot to handle a change of the check state of an item.</td> |
76 </tr> |
73 </tr> |
77 </table> |
74 </table> |
|
75 |
78 <h3>Static Methods</h3> |
76 <h3>Static Methods</h3> |
79 |
|
80 <table> |
77 <table> |
81 <tr><td>None</td></tr> |
78 <tr><td>None</td></tr> |
82 </table> |
79 </table> |
83 |
80 |
|
81 |
84 <a NAME="ShowModulesDialog.__init__" ID="ShowModulesDialog.__init__"></a> |
82 <a NAME="ShowModulesDialog.__init__" ID="ShowModulesDialog.__init__"></a> |
85 <h4>ShowModulesDialog (Constructor)</h4> |
83 <h4>ShowModulesDialog (Constructor)</h4> |
86 <b>ShowModulesDialog</b>(<i>modulesList, selectionMode=False, info="", parent=None</i>) |
84 <b>ShowModulesDialog</b>(<i>modulesList, selectionMode=False, info="", parent=None</i>) |
87 |
|
88 <p> |
85 <p> |
89 Constructor |
86 Constructor |
90 </p> |
87 </p> |
|
88 |
91 <dl> |
89 <dl> |
92 |
90 |
93 <dt><i>modulesList</i> (list of str)</dt> |
91 <dt><i>modulesList</i> (list of str)</dt> |
94 <dd> |
92 <dd> |
95 list of module names to be shown |
93 list of module names to be shown |
109 </dd> |
107 </dd> |
110 </dl> |
108 </dl> |
111 <a NAME="ShowModulesDialog.__applyFilter" ID="ShowModulesDialog.__applyFilter"></a> |
109 <a NAME="ShowModulesDialog.__applyFilter" ID="ShowModulesDialog.__applyFilter"></a> |
112 <h4>ShowModulesDialog.__applyFilter</h4> |
110 <h4>ShowModulesDialog.__applyFilter</h4> |
113 <b>__applyFilter</b>(<i></i>) |
111 <b>__applyFilter</b>(<i></i>) |
114 |
|
115 <p> |
112 <p> |
116 Private slot to apply the filter to the list of available modules. |
113 Private slot to apply the filter to the list of available modules. |
117 </p> |
114 </p> |
|
115 |
118 <a NAME="ShowModulesDialog.__checkCountUpdated" ID="ShowModulesDialog.__checkCountUpdated"></a> |
116 <a NAME="ShowModulesDialog.__checkCountUpdated" ID="ShowModulesDialog.__checkCountUpdated"></a> |
119 <h4>ShowModulesDialog.__checkCountUpdated</h4> |
117 <h4>ShowModulesDialog.__checkCountUpdated</h4> |
120 <b>__checkCountUpdated</b>(<i></i>) |
118 <b>__checkCountUpdated</b>(<i></i>) |
121 |
|
122 <p> |
119 <p> |
123 Private method to handle an update of the check count. |
120 Private method to handle an update of the check count. |
124 </p> |
121 </p> |
|
122 |
125 <a NAME="ShowModulesDialog.getSelection" ID="ShowModulesDialog.getSelection"></a> |
123 <a NAME="ShowModulesDialog.getSelection" ID="ShowModulesDialog.getSelection"></a> |
126 <h4>ShowModulesDialog.getSelection</h4> |
124 <h4>ShowModulesDialog.getSelection</h4> |
127 <b>getSelection</b>(<i></i>) |
125 <b>getSelection</b>(<i></i>) |
128 |
|
129 <p> |
126 <p> |
130 Public method to get the list of selected modules. |
127 Public method to get the list of selected modules. |
131 </p> |
128 </p> |
|
129 |
132 <dl> |
130 <dl> |
133 <dt>Return:</dt> |
131 <dt>Return:</dt> |
134 <dd> |
132 <dd> |
135 list of selected modules |
133 list of selected modules |
136 </dd> |
134 </dd> |
142 </dd> |
140 </dd> |
143 </dl> |
141 </dl> |
144 <a NAME="ShowModulesDialog.on_modulesList_itemChanged" ID="ShowModulesDialog.on_modulesList_itemChanged"></a> |
142 <a NAME="ShowModulesDialog.on_modulesList_itemChanged" ID="ShowModulesDialog.on_modulesList_itemChanged"></a> |
145 <h4>ShowModulesDialog.on_modulesList_itemChanged</h4> |
143 <h4>ShowModulesDialog.on_modulesList_itemChanged</h4> |
146 <b>on_modulesList_itemChanged</b>(<i>item</i>) |
144 <b>on_modulesList_itemChanged</b>(<i>item</i>) |
147 |
|
148 <p> |
145 <p> |
149 Private slot to handle a change of the check state of an item. |
146 Private slot to handle a change of the check state of an item. |
150 </p> |
147 </p> |
|
148 |
151 <dl> |
149 <dl> |
152 |
150 |
153 <dt><i>item</i> (QTreeWidgetItem)</dt> |
151 <dt><i>item</i> (QTreeWidgetItem)</dt> |
154 <dd> |
152 <dd> |
155 reference to the changed item |
153 reference to the changed item |