|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.WebBrowser.QtHelp.QtHelpDocumentationSelectionDialog</title> |
|
4 <meta charset="UTF-8"> |
|
5 <style> |
|
6 body { |
|
7 background: #EDECE6; |
|
8 margin: 0em 1em 10em 1em; |
|
9 color: black; |
|
10 } |
|
11 |
|
12 h1 { color: white; background: #85774A; } |
|
13 h2 { color: white; background: #85774A; } |
|
14 h3 { color: white; background: #9D936E; } |
|
15 h4 { color: white; background: #9D936E; } |
|
16 |
|
17 a { color: #BA6D36; } |
|
18 |
|
19 </style> |
|
20 </head> |
|
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
|
23 <h1>eric7.WebBrowser.QtHelp.QtHelpDocumentationSelectionDialog</h1> |
|
24 |
|
25 <p> |
|
26 Module implementing a dialog to select QtHelp documentation sets to be |
|
27 installed. |
|
28 </p> |
|
29 <h3>Global Attributes</h3> |
|
30 |
|
31 <table> |
|
32 <tr><td>None</td></tr> |
|
33 </table> |
|
34 <h3>Classes</h3> |
|
35 |
|
36 <table> |
|
37 |
|
38 <tr> |
|
39 <td><a href="#QtHelpDocumentationSelectionDialog">QtHelpDocumentationSelectionDialog</a></td> |
|
40 <td>Class implementing a dialog to select QtHelp documentation sets to be installed.</td> |
|
41 </tr> |
|
42 </table> |
|
43 <h3>Functions</h3> |
|
44 |
|
45 <table> |
|
46 <tr><td>None</td></tr> |
|
47 </table> |
|
48 <hr /> |
|
49 <hr /> |
|
50 <a NAME="QtHelpDocumentationSelectionDialog" ID="QtHelpDocumentationSelectionDialog"></a> |
|
51 <h2>QtHelpDocumentationSelectionDialog</h2> |
|
52 |
|
53 <p> |
|
54 Class implementing a dialog to select QtHelp documentation sets to be |
|
55 installed. |
|
56 </p> |
|
57 <h3>Derived from</h3> |
|
58 QDialog, Ui_QtHelpDocumentationSelectionDialog |
|
59 <h3>Class Attributes</h3> |
|
60 |
|
61 <table> |
|
62 <tr><td>AddMode</td></tr><tr><td>ManageMode</td></tr> |
|
63 </table> |
|
64 <h3>Class Methods</h3> |
|
65 |
|
66 <table> |
|
67 <tr><td>None</td></tr> |
|
68 </table> |
|
69 <h3>Methods</h3> |
|
70 |
|
71 <table> |
|
72 |
|
73 <tr> |
|
74 <td><a href="#QtHelpDocumentationSelectionDialog.__init__">QtHelpDocumentationSelectionDialog</a></td> |
|
75 <td>Constructor</td> |
|
76 </tr> |
|
77 <tr> |
|
78 <td><a href="#QtHelpDocumentationSelectionDialog.__deleteCategory">__deleteCategory</a></td> |
|
79 <td>Private method to delete a category.</td> |
|
80 </tr> |
|
81 <tr> |
|
82 <td><a href="#QtHelpDocumentationSelectionDialog.getData">getData</a></td> |
|
83 <td>Public method to retrieve the selected help documents.</td> |
|
84 </tr> |
|
85 <tr> |
|
86 <td><a href="#QtHelpDocumentationSelectionDialog.on_deleteAllButton_clicked">on_deleteAllButton_clicked</a></td> |
|
87 <td>Private slot to delete all documentation sets.</td> |
|
88 </tr> |
|
89 <tr> |
|
90 <td><a href="#QtHelpDocumentationSelectionDialog.on_deleteButton_clicked">on_deleteButton_clicked</a></td> |
|
91 <td>Private slot to delete the selected documentation sets.</td> |
|
92 </tr> |
|
93 <tr> |
|
94 <td><a href="#QtHelpDocumentationSelectionDialog.on_deleteCategoryButton_clicked">on_deleteCategoryButton_clicked</a></td> |
|
95 <td>Private slot to delete the selected documentation set categories.</td> |
|
96 </tr> |
|
97 <tr> |
|
98 <td><a href="#QtHelpDocumentationSelectionDialog.on_documentationList_itemSelectionChanged">on_documentationList_itemSelectionChanged</a></td> |
|
99 <td>Private slot handling the selection of items.</td> |
|
100 </tr> |
|
101 </table> |
|
102 <h3>Static Methods</h3> |
|
103 |
|
104 <table> |
|
105 <tr><td>None</td></tr> |
|
106 </table> |
|
107 |
|
108 <a NAME="QtHelpDocumentationSelectionDialog.__init__" ID="QtHelpDocumentationSelectionDialog.__init__"></a> |
|
109 <h4>QtHelpDocumentationSelectionDialog (Constructor)</h4> |
|
110 <b>QtHelpDocumentationSelectionDialog</b>(<i>helpDocuments, mode, parent=None</i>) |
|
111 |
|
112 <p> |
|
113 Constructor |
|
114 </p> |
|
115 <dl> |
|
116 |
|
117 <dt><i>helpDocuments</i> (dict of lists of str)</dt> |
|
118 <dd> |
|
119 dictionary containing the lists of help documents |
|
120 to be shown |
|
121 </dd> |
|
122 <dt><i>mode</i> (str)</dt> |
|
123 <dd> |
|
124 mode of the dialog |
|
125 </dd> |
|
126 <dt><i>parent</i> (QWidget)</dt> |
|
127 <dd> |
|
128 reference to the parent widget |
|
129 </dd> |
|
130 </dl> |
|
131 <a NAME="QtHelpDocumentationSelectionDialog.__deleteCategory" ID="QtHelpDocumentationSelectionDialog.__deleteCategory"></a> |
|
132 <h4>QtHelpDocumentationSelectionDialog.__deleteCategory</h4> |
|
133 <b>__deleteCategory</b>(<i>category</i>) |
|
134 |
|
135 <p> |
|
136 Private method to delete a category. |
|
137 </p> |
|
138 <dl> |
|
139 |
|
140 <dt><i>category</i> (QTreeWidgetItem)</dt> |
|
141 <dd> |
|
142 reference to the category item |
|
143 </dd> |
|
144 </dl> |
|
145 <a NAME="QtHelpDocumentationSelectionDialog.getData" ID="QtHelpDocumentationSelectionDialog.getData"></a> |
|
146 <h4>QtHelpDocumentationSelectionDialog.getData</h4> |
|
147 <b>getData</b>(<i></i>) |
|
148 |
|
149 <p> |
|
150 Public method to retrieve the selected help documents. |
|
151 </p> |
|
152 <dl> |
|
153 <dt>Return:</dt> |
|
154 <dd> |
|
155 list of QtHelp documentation sets to be installed |
|
156 </dd> |
|
157 </dl> |
|
158 <dl> |
|
159 <dt>Return Type:</dt> |
|
160 <dd> |
|
161 set of str |
|
162 </dd> |
|
163 </dl> |
|
164 <a NAME="QtHelpDocumentationSelectionDialog.on_deleteAllButton_clicked" ID="QtHelpDocumentationSelectionDialog.on_deleteAllButton_clicked"></a> |
|
165 <h4>QtHelpDocumentationSelectionDialog.on_deleteAllButton_clicked</h4> |
|
166 <b>on_deleteAllButton_clicked</b>(<i></i>) |
|
167 |
|
168 <p> |
|
169 Private slot to delete all documentation sets. |
|
170 </p> |
|
171 <a NAME="QtHelpDocumentationSelectionDialog.on_deleteButton_clicked" ID="QtHelpDocumentationSelectionDialog.on_deleteButton_clicked"></a> |
|
172 <h4>QtHelpDocumentationSelectionDialog.on_deleteButton_clicked</h4> |
|
173 <b>on_deleteButton_clicked</b>(<i></i>) |
|
174 |
|
175 <p> |
|
176 Private slot to delete the selected documentation sets. |
|
177 </p> |
|
178 <a NAME="QtHelpDocumentationSelectionDialog.on_deleteCategoryButton_clicked" ID="QtHelpDocumentationSelectionDialog.on_deleteCategoryButton_clicked"></a> |
|
179 <h4>QtHelpDocumentationSelectionDialog.on_deleteCategoryButton_clicked</h4> |
|
180 <b>on_deleteCategoryButton_clicked</b>(<i></i>) |
|
181 |
|
182 <p> |
|
183 Private slot to delete the selected documentation set categories. |
|
184 </p> |
|
185 <a NAME="QtHelpDocumentationSelectionDialog.on_documentationList_itemSelectionChanged" ID="QtHelpDocumentationSelectionDialog.on_documentationList_itemSelectionChanged"></a> |
|
186 <h4>QtHelpDocumentationSelectionDialog.on_documentationList_itemSelectionChanged</h4> |
|
187 <b>on_documentationList_itemSelectionChanged</b>(<i></i>) |
|
188 |
|
189 <p> |
|
190 Private slot handling the selection of items. |
|
191 </p> |
|
192 <div align="right"><a href="#top">Up</a></div> |
|
193 <hr /> |
|
194 </body></html> |