eric6/Documentation/Source/eric6.WebBrowser.GreaseMonkey.GreaseMonkeyManager.html

changeset 7273
391d6b7b1eff
parent 6942
2602857055c5
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.WebBrowser.GreaseMonkey.GreaseMonkeyManager</h1> 23 <h1>eric6.WebBrowser.GreaseMonkey.GreaseMonkeyManager</h1>
24
23 <p> 25 <p>
24 Module implementing the manager for GreaseMonkey scripts. 26 Module implementing the manager for GreaseMonkey scripts.
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>
31 <table> 34
35 <table>
36
32 <tr> 37 <tr>
33 <td><a href="#GreaseMonkeyManager">GreaseMonkeyManager</a></td> 38 <td><a href="#GreaseMonkeyManager">GreaseMonkeyManager</a></td>
34 <td>Class implementing the manager for GreaseMonkey scripts.</td> 39 <td>Class implementing the manager for GreaseMonkey scripts.</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="GreaseMonkeyManager" ID="GreaseMonkeyManager"></a> 49 <a NAME="GreaseMonkeyManager" ID="GreaseMonkeyManager"></a>
43 <h2>GreaseMonkeyManager</h2> 50 <h2>GreaseMonkeyManager</h2>
51
44 <p> 52 <p>
45 Class implementing the manager for GreaseMonkey scripts. 53 Class implementing the manager for GreaseMonkey scripts.
46 </p><h3>Signals</h3> 54 </p>
47 <dl> 55 <h3>Signals</h3>
56 <dl>
57
48 <dt>scriptsChanged()</dt> 58 <dt>scriptsChanged()</dt>
49 <dd> 59 <dd>
50 emitted to indicate a change of scripts 60 emitted to indicate a change of scripts
51 </dd> 61 </dd>
52 </dl> 62 </dl>
53 <h3>Derived from</h3> 63 <h3>Derived from</h3>
54 QObject 64 QObject
55 <h3>Class Attributes</h3> 65 <h3>Class Attributes</h3>
66
56 <table> 67 <table>
57 <tr><td>None</td></tr> 68 <tr><td>None</td></tr>
58 </table> 69 </table>
59 <h3>Class Methods</h3> 70 <h3>Class Methods</h3>
71
60 <table> 72 <table>
61 <tr><td>None</td></tr> 73 <tr><td>None</td></tr>
62 </table> 74 </table>
63 <h3>Methods</h3> 75 <h3>Methods</h3>
64 <table> 76
77 <table>
78
65 <tr> 79 <tr>
66 <td><a href="#GreaseMonkeyManager.__init__">GreaseMonkeyManager</a></td> 80 <td><a href="#GreaseMonkeyManager.__init__">GreaseMonkeyManager</a></td>
67 <td>Constructor</td> 81 <td>Constructor</td>
68 </tr><tr> 82 </tr>
83 <tr>
69 <td><a href="#GreaseMonkeyManager.__downloaderFinished">__downloaderFinished</a></td> 84 <td><a href="#GreaseMonkeyManager.__downloaderFinished">__downloaderFinished</a></td>
70 <td>Private slot to handle the completion of a script download.</td> 85 <td>Private slot to handle the completion of a script download.</td>
71 </tr><tr> 86 </tr>
87 <tr>
72 <td><a href="#GreaseMonkeyManager.__load">__load</a></td> 88 <td><a href="#GreaseMonkeyManager.__load">__load</a></td>
73 <td>Private slot to load the available scripts into the manager.</td> 89 <td>Private slot to load the available scripts into the manager.</td>
74 </tr><tr> 90 </tr>
91 <tr>
75 <td><a href="#GreaseMonkeyManager.__scriptChanged">__scriptChanged</a></td> 92 <td><a href="#GreaseMonkeyManager.__scriptChanged">__scriptChanged</a></td>
76 <td>Private slot handling a changed script.</td> 93 <td>Private slot handling a changed script.</td>
77 </tr><tr> 94 </tr>
95 <tr>
78 <td><a href="#GreaseMonkeyManager.addScript">addScript</a></td> 96 <td><a href="#GreaseMonkeyManager.addScript">addScript</a></td>
79 <td>Public method to add a script.</td> 97 <td>Public method to add a script.</td>
80 </tr><tr> 98 </tr>
99 <tr>
81 <td><a href="#GreaseMonkeyManager.allScripts">allScripts</a></td> 100 <td><a href="#GreaseMonkeyManager.allScripts">allScripts</a></td>
82 <td>Public method to get a list of all scripts.</td> 101 <td>Public method to get a list of all scripts.</td>
83 </tr><tr> 102 </tr>
103 <tr>
84 <td><a href="#GreaseMonkeyManager.canRunOnScheme">canRunOnScheme</a></td> 104 <td><a href="#GreaseMonkeyManager.canRunOnScheme">canRunOnScheme</a></td>
85 <td>Public method to check, if scripts can be run on a scheme.</td> 105 <td>Public method to check, if scripts can be run on a scheme.</td>
86 </tr><tr> 106 </tr>
107 <tr>
87 <td><a href="#GreaseMonkeyManager.containsScript">containsScript</a></td> 108 <td><a href="#GreaseMonkeyManager.containsScript">containsScript</a></td>
88 <td>Public method to check, if the given script exists.</td> 109 <td>Public method to check, if the given script exists.</td>
89 </tr><tr> 110 </tr>
111 <tr>
90 <td><a href="#GreaseMonkeyManager.disableScript">disableScript</a></td> 112 <td><a href="#GreaseMonkeyManager.disableScript">disableScript</a></td>
91 <td>Public method to disable the given script.</td> 113 <td>Public method to disable the given script.</td>
92 </tr><tr> 114 </tr>
115 <tr>
93 <td><a href="#GreaseMonkeyManager.doDownloadScript">doDownloadScript</a></td> 116 <td><a href="#GreaseMonkeyManager.doDownloadScript">doDownloadScript</a></td>
94 <td>Public slot to download a GreaseMonkey script.</td> 117 <td>Public slot to download a GreaseMonkey script.</td>
95 </tr><tr> 118 </tr>
119 <tr>
96 <td><a href="#GreaseMonkeyManager.downloadScript">downloadScript</a></td> 120 <td><a href="#GreaseMonkeyManager.downloadScript">downloadScript</a></td>
97 <td>Public method to download a GreaseMonkey script.</td> 121 <td>Public method to download a GreaseMonkey script.</td>
98 </tr><tr> 122 </tr>
123 <tr>
99 <td><a href="#GreaseMonkeyManager.enableScript">enableScript</a></td> 124 <td><a href="#GreaseMonkeyManager.enableScript">enableScript</a></td>
100 <td>Public method to enable the given script.</td> 125 <td>Public method to enable the given script.</td>
101 </tr><tr> 126 </tr>
127 <tr>
102 <td><a href="#GreaseMonkeyManager.removeScript">removeScript</a></td> 128 <td><a href="#GreaseMonkeyManager.removeScript">removeScript</a></td>
103 <td>Public method to remove a script.</td> 129 <td>Public method to remove a script.</td>
104 </tr><tr> 130 </tr>
131 <tr>
105 <td><a href="#GreaseMonkeyManager.requireScripts">requireScripts</a></td> 132 <td><a href="#GreaseMonkeyManager.requireScripts">requireScripts</a></td>
106 <td>Public method to get the sources of all required scripts.</td> 133 <td>Public method to get the sources of all required scripts.</td>
107 </tr><tr> 134 </tr>
135 <tr>
108 <td><a href="#GreaseMonkeyManager.requireScriptsDirectory">requireScriptsDirectory</a></td> 136 <td><a href="#GreaseMonkeyManager.requireScriptsDirectory">requireScriptsDirectory</a></td>
109 <td>Public method to get the path of the scripts directory.</td> 137 <td>Public method to get the path of the scripts directory.</td>
110 </tr><tr> 138 </tr>
139 <tr>
111 <td><a href="#GreaseMonkeyManager.saveConfiguration">saveConfiguration</a></td> 140 <td><a href="#GreaseMonkeyManager.saveConfiguration">saveConfiguration</a></td>
112 <td>Public method to save the configuration.</td> 141 <td>Public method to save the configuration.</td>
113 </tr><tr> 142 </tr>
143 <tr>
114 <td><a href="#GreaseMonkeyManager.scriptsDirectory">scriptsDirectory</a></td> 144 <td><a href="#GreaseMonkeyManager.scriptsDirectory">scriptsDirectory</a></td>
115 <td>Public method to get the path of the scripts directory.</td> 145 <td>Public method to get the path of the scripts directory.</td>
116 </tr><tr> 146 </tr>
147 <tr>
117 <td><a href="#GreaseMonkeyManager.showConfigurationDialog">showConfigurationDialog</a></td> 148 <td><a href="#GreaseMonkeyManager.showConfigurationDialog">showConfigurationDialog</a></td>
118 <td>Public method to show the configuration dialog.</td> 149 <td>Public method to show the configuration dialog.</td>
119 </tr> 150 </tr>
120 </table> 151 </table>
121 <h3>Static Methods</h3> 152 <h3>Static Methods</h3>
153
122 <table> 154 <table>
123 <tr><td>None</td></tr> 155 <tr><td>None</td></tr>
124 </table> 156 </table>
157
125 <a NAME="GreaseMonkeyManager.__init__" ID="GreaseMonkeyManager.__init__"></a> 158 <a NAME="GreaseMonkeyManager.__init__" ID="GreaseMonkeyManager.__init__"></a>
126 <h4>GreaseMonkeyManager (Constructor)</h4> 159 <h4>GreaseMonkeyManager (Constructor)</h4>
127 <b>GreaseMonkeyManager</b>(<i>parent=None</i>) 160 <b>GreaseMonkeyManager</b>(<i>parent=None</i>)
161
128 <p> 162 <p>
129 Constructor 163 Constructor
130 </p><dl> 164 </p>
165 <dl>
166
131 <dt><i>parent</i></dt> 167 <dt><i>parent</i></dt>
132 <dd> 168 <dd>
133 reference to the parent object (QObject) 169 reference to the parent object (QObject)
134 </dd> 170 </dd>
135 </dl><a NAME="GreaseMonkeyManager.__downloaderFinished" ID="GreaseMonkeyManager.__downloaderFinished"></a> 171 </dl>
172 <a NAME="GreaseMonkeyManager.__downloaderFinished" ID="GreaseMonkeyManager.__downloaderFinished"></a>
136 <h4>GreaseMonkeyManager.__downloaderFinished</h4> 173 <h4>GreaseMonkeyManager.__downloaderFinished</h4>
137 <b>__downloaderFinished</b>(<i>fileName, downloader</i>) 174 <b>__downloaderFinished</b>(<i>fileName, downloader</i>)
175
138 <p> 176 <p>
139 Private slot to handle the completion of a script download. 177 Private slot to handle the completion of a script download.
140 </p><dl> 178 </p>
179 <dl>
180
141 <dt><i>fileName</i> (str)</dt> 181 <dt><i>fileName</i> (str)</dt>
142 <dd> 182 <dd>
143 name of the downloaded script 183 name of the downloaded script
144 </dd><dt><i>downloader</i> (GreaseMonkeyDownloader)</dt> 184 </dd>
185 <dt><i>downloader</i> (GreaseMonkeyDownloader)</dt>
145 <dd> 186 <dd>
146 reference to the downloader object 187 reference to the downloader object
147 </dd> 188 </dd>
148 </dl><a NAME="GreaseMonkeyManager.__load" ID="GreaseMonkeyManager.__load"></a> 189 </dl>
190 <a NAME="GreaseMonkeyManager.__load" ID="GreaseMonkeyManager.__load"></a>
149 <h4>GreaseMonkeyManager.__load</h4> 191 <h4>GreaseMonkeyManager.__load</h4>
150 <b>__load</b>(<i></i>) 192 <b>__load</b>(<i></i>)
193
151 <p> 194 <p>
152 Private slot to load the available scripts into the manager. 195 Private slot to load the available scripts into the manager.
153 </p><a NAME="GreaseMonkeyManager.__scriptChanged" ID="GreaseMonkeyManager.__scriptChanged"></a> 196 </p>
197 <a NAME="GreaseMonkeyManager.__scriptChanged" ID="GreaseMonkeyManager.__scriptChanged"></a>
154 <h4>GreaseMonkeyManager.__scriptChanged</h4> 198 <h4>GreaseMonkeyManager.__scriptChanged</h4>
155 <b>__scriptChanged</b>(<i>script</i>) 199 <b>__scriptChanged</b>(<i>script</i>)
200
156 <p> 201 <p>
157 Private slot handling a changed script. 202 Private slot handling a changed script.
158 </p><dl> 203 </p>
204 <dl>
205
159 <dt><i>script</i> (GreaseMonkeyScript)</dt> 206 <dt><i>script</i> (GreaseMonkeyScript)</dt>
160 <dd> 207 <dd>
161 reference to the changed script 208 reference to the changed script
162 </dd> 209 </dd>
163 </dl><a NAME="GreaseMonkeyManager.addScript" ID="GreaseMonkeyManager.addScript"></a> 210 </dl>
211 <a NAME="GreaseMonkeyManager.addScript" ID="GreaseMonkeyManager.addScript"></a>
164 <h4>GreaseMonkeyManager.addScript</h4> 212 <h4>GreaseMonkeyManager.addScript</h4>
165 <b>addScript</b>(<i>script</i>) 213 <b>addScript</b>(<i>script</i>)
214
166 <p> 215 <p>
167 Public method to add a script. 216 Public method to add a script.
168 </p><dl> 217 </p>
218 <dl>
219
169 <dt><i>script</i></dt> 220 <dt><i>script</i></dt>
170 <dd> 221 <dd>
171 script to be added (GreaseMonkeyScript) 222 script to be added (GreaseMonkeyScript)
172 </dd> 223 </dd>
173 </dl><dl> 224 </dl>
225 <dl>
174 <dt>Returns:</dt> 226 <dt>Returns:</dt>
175 <dd> 227 <dd>
176 flag indicating success (boolean) 228 flag indicating success (boolean)
177 </dd> 229 </dd>
178 </dl><a NAME="GreaseMonkeyManager.allScripts" ID="GreaseMonkeyManager.allScripts"></a> 230 </dl>
231 <a NAME="GreaseMonkeyManager.allScripts" ID="GreaseMonkeyManager.allScripts"></a>
179 <h4>GreaseMonkeyManager.allScripts</h4> 232 <h4>GreaseMonkeyManager.allScripts</h4>
180 <b>allScripts</b>(<i></i>) 233 <b>allScripts</b>(<i></i>)
234
181 <p> 235 <p>
182 Public method to get a list of all scripts. 236 Public method to get a list of all scripts.
183 </p><dl> 237 </p>
238 <dl>
184 <dt>Returns:</dt> 239 <dt>Returns:</dt>
185 <dd> 240 <dd>
186 list of all scripts (list of GreaseMonkeyScript) 241 list of all scripts (list of GreaseMonkeyScript)
187 </dd> 242 </dd>
188 </dl><a NAME="GreaseMonkeyManager.canRunOnScheme" ID="GreaseMonkeyManager.canRunOnScheme"></a> 243 </dl>
244 <a NAME="GreaseMonkeyManager.canRunOnScheme" ID="GreaseMonkeyManager.canRunOnScheme"></a>
189 <h4>GreaseMonkeyManager.canRunOnScheme</h4> 245 <h4>GreaseMonkeyManager.canRunOnScheme</h4>
190 <b>canRunOnScheme</b>(<i>scheme</i>) 246 <b>canRunOnScheme</b>(<i>scheme</i>)
247
191 <p> 248 <p>
192 Public method to check, if scripts can be run on a scheme. 249 Public method to check, if scripts can be run on a scheme.
193 </p><dl> 250 </p>
251 <dl>
252
194 <dt><i>scheme</i></dt> 253 <dt><i>scheme</i></dt>
195 <dd> 254 <dd>
196 scheme to check (string) 255 scheme to check (string)
197 </dd> 256 </dd>
198 </dl><dl> 257 </dl>
258 <dl>
199 <dt>Returns:</dt> 259 <dt>Returns:</dt>
200 <dd> 260 <dd>
201 flag indicating, that scripts can be run (boolean) 261 flag indicating, that scripts can be run (boolean)
202 </dd> 262 </dd>
203 </dl><a NAME="GreaseMonkeyManager.containsScript" ID="GreaseMonkeyManager.containsScript"></a> 263 </dl>
264 <a NAME="GreaseMonkeyManager.containsScript" ID="GreaseMonkeyManager.containsScript"></a>
204 <h4>GreaseMonkeyManager.containsScript</h4> 265 <h4>GreaseMonkeyManager.containsScript</h4>
205 <b>containsScript</b>(<i>fullName</i>) 266 <b>containsScript</b>(<i>fullName</i>)
267
206 <p> 268 <p>
207 Public method to check, if the given script exists. 269 Public method to check, if the given script exists.
208 </p><dl> 270 </p>
271 <dl>
272
209 <dt><i>fullName</i></dt> 273 <dt><i>fullName</i></dt>
210 <dd> 274 <dd>
211 full name of the script (string) 275 full name of the script (string)
212 </dd> 276 </dd>
213 </dl><dl> 277 </dl>
278 <dl>
214 <dt>Returns:</dt> 279 <dt>Returns:</dt>
215 <dd> 280 <dd>
216 flag indicating the existence (boolean) 281 flag indicating the existence (boolean)
217 </dd> 282 </dd>
218 </dl><a NAME="GreaseMonkeyManager.disableScript" ID="GreaseMonkeyManager.disableScript"></a> 283 </dl>
284 <a NAME="GreaseMonkeyManager.disableScript" ID="GreaseMonkeyManager.disableScript"></a>
219 <h4>GreaseMonkeyManager.disableScript</h4> 285 <h4>GreaseMonkeyManager.disableScript</h4>
220 <b>disableScript</b>(<i>script</i>) 286 <b>disableScript</b>(<i>script</i>)
287
221 <p> 288 <p>
222 Public method to disable the given script. 289 Public method to disable the given script.
223 </p><dl> 290 </p>
291 <dl>
292
224 <dt><i>script</i></dt> 293 <dt><i>script</i></dt>
225 <dd> 294 <dd>
226 script to be disabled (GreaseMonkeyScript) 295 script to be disabled (GreaseMonkeyScript)
227 </dd> 296 </dd>
228 </dl><a NAME="GreaseMonkeyManager.doDownloadScript" ID="GreaseMonkeyManager.doDownloadScript"></a> 297 </dl>
298 <a NAME="GreaseMonkeyManager.doDownloadScript" ID="GreaseMonkeyManager.doDownloadScript"></a>
229 <h4>GreaseMonkeyManager.doDownloadScript</h4> 299 <h4>GreaseMonkeyManager.doDownloadScript</h4>
230 <b>doDownloadScript</b>(<i>url</i>) 300 <b>doDownloadScript</b>(<i>url</i>)
301
231 <p> 302 <p>
232 Public slot to download a GreaseMonkey script. 303 Public slot to download a GreaseMonkey script.
233 </p><p> 304 </p>
305 <p>
234 Note: The download needed to be separated in the invoking part 306 Note: The download needed to be separated in the invoking part
235 (s.a.) and the one doing the real download because the invoking 307 (s.a.) and the one doing the real download because the invoking
236 part runs in a different thread (i.e. the web engine thread). 308 part runs in a different thread (i.e. the web engine thread).
237 </p><dl> 309 </p>
310 <dl>
311
238 <dt><i>url</i> (QUrl)</dt> 312 <dt><i>url</i> (QUrl)</dt>
239 <dd> 313 <dd>
240 URL to download script from 314 URL to download script from
241 </dd> 315 </dd>
242 </dl><a NAME="GreaseMonkeyManager.downloadScript" ID="GreaseMonkeyManager.downloadScript"></a> 316 </dl>
317 <a NAME="GreaseMonkeyManager.downloadScript" ID="GreaseMonkeyManager.downloadScript"></a>
243 <h4>GreaseMonkeyManager.downloadScript</h4> 318 <h4>GreaseMonkeyManager.downloadScript</h4>
244 <b>downloadScript</b>(<i>url</i>) 319 <b>downloadScript</b>(<i>url</i>)
320
245 <p> 321 <p>
246 Public method to download a GreaseMonkey script. 322 Public method to download a GreaseMonkey script.
247 </p><dl> 323 </p>
324 <dl>
325
248 <dt><i>url</i> (QUrl)</dt> 326 <dt><i>url</i> (QUrl)</dt>
249 <dd> 327 <dd>
250 URL to download script from 328 URL to download script from
251 </dd> 329 </dd>
252 </dl><a NAME="GreaseMonkeyManager.enableScript" ID="GreaseMonkeyManager.enableScript"></a> 330 </dl>
331 <a NAME="GreaseMonkeyManager.enableScript" ID="GreaseMonkeyManager.enableScript"></a>
253 <h4>GreaseMonkeyManager.enableScript</h4> 332 <h4>GreaseMonkeyManager.enableScript</h4>
254 <b>enableScript</b>(<i>script</i>) 333 <b>enableScript</b>(<i>script</i>)
334
255 <p> 335 <p>
256 Public method to enable the given script. 336 Public method to enable the given script.
257 </p><dl> 337 </p>
338 <dl>
339
258 <dt><i>script</i></dt> 340 <dt><i>script</i></dt>
259 <dd> 341 <dd>
260 script to be enabled (GreaseMonkeyScript) 342 script to be enabled (GreaseMonkeyScript)
261 </dd> 343 </dd>
262 </dl><a NAME="GreaseMonkeyManager.removeScript" ID="GreaseMonkeyManager.removeScript"></a> 344 </dl>
345 <a NAME="GreaseMonkeyManager.removeScript" ID="GreaseMonkeyManager.removeScript"></a>
263 <h4>GreaseMonkeyManager.removeScript</h4> 346 <h4>GreaseMonkeyManager.removeScript</h4>
264 <b>removeScript</b>(<i>script, removeFile=True</i>) 347 <b>removeScript</b>(<i>script, removeFile=True</i>)
348
265 <p> 349 <p>
266 Public method to remove a script. 350 Public method to remove a script.
267 </p><dl> 351 </p>
352 <dl>
353
268 <dt><i>script</i></dt> 354 <dt><i>script</i></dt>
269 <dd> 355 <dd>
270 script to be removed (GreaseMonkeyScript) 356 script to be removed (GreaseMonkeyScript)
271 </dd><dt><i>removeFile</i></dt> 357 </dd>
358 <dt><i>removeFile</i></dt>
272 <dd> 359 <dd>
273 flag indicating to remove the script file as well 360 flag indicating to remove the script file as well
274 (bool) 361 (bool)
275 </dd> 362 </dd>
276 </dl><dl> 363 </dl>
364 <dl>
277 <dt>Returns:</dt> 365 <dt>Returns:</dt>
278 <dd> 366 <dd>
279 flag indicating success (boolean) 367 flag indicating success (boolean)
280 </dd> 368 </dd>
281 </dl><a NAME="GreaseMonkeyManager.requireScripts" ID="GreaseMonkeyManager.requireScripts"></a> 369 </dl>
370 <a NAME="GreaseMonkeyManager.requireScripts" ID="GreaseMonkeyManager.requireScripts"></a>
282 <h4>GreaseMonkeyManager.requireScripts</h4> 371 <h4>GreaseMonkeyManager.requireScripts</h4>
283 <b>requireScripts</b>(<i>urlList</i>) 372 <b>requireScripts</b>(<i>urlList</i>)
373
284 <p> 374 <p>
285 Public method to get the sources of all required scripts. 375 Public method to get the sources of all required scripts.
286 </p><dl> 376 </p>
377 <dl>
378
287 <dt><i>urlList</i></dt> 379 <dt><i>urlList</i></dt>
288 <dd> 380 <dd>
289 list of URLs (list of string) 381 list of URLs (list of string)
290 </dd> 382 </dd>
291 </dl><dl> 383 </dl>
384 <dl>
292 <dt>Returns:</dt> 385 <dt>Returns:</dt>
293 <dd> 386 <dd>
294 sources of all required scripts (string) 387 sources of all required scripts (string)
295 </dd> 388 </dd>
296 </dl><a NAME="GreaseMonkeyManager.requireScriptsDirectory" ID="GreaseMonkeyManager.requireScriptsDirectory"></a> 389 </dl>
390 <a NAME="GreaseMonkeyManager.requireScriptsDirectory" ID="GreaseMonkeyManager.requireScriptsDirectory"></a>
297 <h4>GreaseMonkeyManager.requireScriptsDirectory</h4> 391 <h4>GreaseMonkeyManager.requireScriptsDirectory</h4>
298 <b>requireScriptsDirectory</b>(<i></i>) 392 <b>requireScriptsDirectory</b>(<i></i>)
393
299 <p> 394 <p>
300 Public method to get the path of the scripts directory. 395 Public method to get the path of the scripts directory.
301 </p><dl> 396 </p>
397 <dl>
302 <dt>Returns:</dt> 398 <dt>Returns:</dt>
303 <dd> 399 <dd>
304 path of the scripts directory (string) 400 path of the scripts directory (string)
305 </dd> 401 </dd>
306 </dl><a NAME="GreaseMonkeyManager.saveConfiguration" ID="GreaseMonkeyManager.saveConfiguration"></a> 402 </dl>
403 <a NAME="GreaseMonkeyManager.saveConfiguration" ID="GreaseMonkeyManager.saveConfiguration"></a>
307 <h4>GreaseMonkeyManager.saveConfiguration</h4> 404 <h4>GreaseMonkeyManager.saveConfiguration</h4>
308 <b>saveConfiguration</b>(<i></i>) 405 <b>saveConfiguration</b>(<i></i>)
406
309 <p> 407 <p>
310 Public method to save the configuration. 408 Public method to save the configuration.
311 </p><a NAME="GreaseMonkeyManager.scriptsDirectory" ID="GreaseMonkeyManager.scriptsDirectory"></a> 409 </p>
410 <a NAME="GreaseMonkeyManager.scriptsDirectory" ID="GreaseMonkeyManager.scriptsDirectory"></a>
312 <h4>GreaseMonkeyManager.scriptsDirectory</h4> 411 <h4>GreaseMonkeyManager.scriptsDirectory</h4>
313 <b>scriptsDirectory</b>(<i></i>) 412 <b>scriptsDirectory</b>(<i></i>)
413
314 <p> 414 <p>
315 Public method to get the path of the scripts directory. 415 Public method to get the path of the scripts directory.
316 </p><dl> 416 </p>
417 <dl>
317 <dt>Returns:</dt> 418 <dt>Returns:</dt>
318 <dd> 419 <dd>
319 path of the scripts directory (string) 420 path of the scripts directory (string)
320 </dd> 421 </dd>
321 </dl><a NAME="GreaseMonkeyManager.showConfigurationDialog" ID="GreaseMonkeyManager.showConfigurationDialog"></a> 422 </dl>
423 <a NAME="GreaseMonkeyManager.showConfigurationDialog" ID="GreaseMonkeyManager.showConfigurationDialog"></a>
322 <h4>GreaseMonkeyManager.showConfigurationDialog</h4> 424 <h4>GreaseMonkeyManager.showConfigurationDialog</h4>
323 <b>showConfigurationDialog</b>(<i>parent=None</i>) 425 <b>showConfigurationDialog</b>(<i>parent=None</i>)
426
324 <p> 427 <p>
325 Public method to show the configuration dialog. 428 Public method to show the configuration dialog.
326 </p><dl> 429 </p>
430 <dl>
431
327 <dt><i>parent</i></dt> 432 <dt><i>parent</i></dt>
328 <dd> 433 <dd>
329 reference to the parent widget (QWidget) 434 reference to the parent widget (QWidget)
330 </dd> 435 </dd>
331 </dl> 436 </dl>

eric ide

mercurial