|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.WebBrowser.GreaseMonkey.GreaseMonkeyAddScriptDialog</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.WebBrowser.GreaseMonkey.GreaseMonkeyAddScriptDialog</h1> |
|
10 |
|
11 <p> |
|
12 Module implementing a dialog for adding GreaseMonkey scripts.. |
|
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="#GreaseMonkeyAddScriptDialog">GreaseMonkeyAddScriptDialog</a></td> |
|
25 <td>Class implementing a dialog for adding GreaseMonkey scripts..</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="GreaseMonkeyAddScriptDialog" ID="GreaseMonkeyAddScriptDialog"></a> |
|
36 <h2>GreaseMonkeyAddScriptDialog</h2> |
|
37 |
|
38 <p> |
|
39 Class implementing a dialog for adding GreaseMonkey scripts.. |
|
40 </p> |
|
41 <h3>Derived from</h3> |
|
42 QDialog, Ui_GreaseMonkeyAddScriptDialog |
|
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="#GreaseMonkeyAddScriptDialog.__init__">GreaseMonkeyAddScriptDialog</a></td> |
|
59 <td>Constructor</td> |
|
60 </tr> |
|
61 <tr> |
|
62 <td><a href="#GreaseMonkeyAddScriptDialog.__accepted">__accepted</a></td> |
|
63 <td>Private slot handling the accepted signal.</td> |
|
64 </tr> |
|
65 <tr> |
|
66 <td><a href="#GreaseMonkeyAddScriptDialog.on_showScriptSourceButton_clicked">on_showScriptSourceButton_clicked</a></td> |
|
67 <td>Private slot to show an editor window with the source code.</td> |
|
68 </tr> |
|
69 </table> |
|
70 <h3>Static Methods</h3> |
|
71 |
|
72 <table> |
|
73 <tr><td>None</td></tr> |
|
74 </table> |
|
75 |
|
76 <a NAME="GreaseMonkeyAddScriptDialog.__init__" ID="GreaseMonkeyAddScriptDialog.__init__"></a> |
|
77 <h4>GreaseMonkeyAddScriptDialog (Constructor)</h4> |
|
78 <b>GreaseMonkeyAddScriptDialog</b>(<i>manager, script, parent=None</i>) |
|
79 |
|
80 <p> |
|
81 Constructor |
|
82 </p> |
|
83 <dl> |
|
84 |
|
85 <dt><i>manager</i></dt> |
|
86 <dd> |
|
87 reference to the GreaseMonkey manager |
|
88 (GreaseMonkeyManager) |
|
89 </dd> |
|
90 <dt><i>script</i></dt> |
|
91 <dd> |
|
92 GreaseMonkey script to be added (GreaseMonkeyScript) |
|
93 </dd> |
|
94 <dt><i>parent</i></dt> |
|
95 <dd> |
|
96 reference to the parent widget (QWidget) |
|
97 </dd> |
|
98 </dl> |
|
99 <a NAME="GreaseMonkeyAddScriptDialog.__accepted" ID="GreaseMonkeyAddScriptDialog.__accepted"></a> |
|
100 <h4>GreaseMonkeyAddScriptDialog.__accepted</h4> |
|
101 <b>__accepted</b>(<i></i>) |
|
102 |
|
103 <p> |
|
104 Private slot handling the accepted signal. |
|
105 </p> |
|
106 <a NAME="GreaseMonkeyAddScriptDialog.on_showScriptSourceButton_clicked" ID="GreaseMonkeyAddScriptDialog.on_showScriptSourceButton_clicked"></a> |
|
107 <h4>GreaseMonkeyAddScriptDialog.on_showScriptSourceButton_clicked</h4> |
|
108 <b>on_showScriptSourceButton_clicked</b>(<i></i>) |
|
109 |
|
110 <p> |
|
111 Private slot to show an editor window with the source code. |
|
112 </p> |
|
113 <div align="right"><a href="#top">Up</a></div> |
|
114 <hr /> |
|
115 </body></html> |