Documentation/Source/eric6.Helpviewer.GreaseMonkey.GreaseMonkeyConfiguration.GreaseMonkeyConfigurationDialog.html

changeset 3673
e26d7d0c1088
child 4309
cc9c62f55413
equal deleted inserted replaced
3670:f0cb7579c0b4 3673:e26d7d0c1088
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.Helpviewer.GreaseMonkey.GreaseMonkeyConfiguration.GreaseMonkeyConfigurationDialog</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><a NAME="top" ID="top"></a>
22 <h1>eric6.Helpviewer.GreaseMonkey.GreaseMonkeyConfiguration.GreaseMonkeyConfigurationDialog</h1>
23 <p>
24 Module implementing the GreaseMonkey scripts configuration dialog.
25 </p>
26 <h3>Global Attributes</h3>
27 <table>
28 <tr><td>None</td></tr>
29 </table>
30 <h3>Classes</h3>
31 <table>
32 <tr>
33 <td><a href="#GreaseMonkeyConfigurationDialog">GreaseMonkeyConfigurationDialog</a></td>
34 <td>Class implementing the GreaseMonkey scripts configuration dialog.</td>
35 </tr>
36 </table>
37 <h3>Functions</h3>
38 <table>
39 <tr><td>None</td></tr>
40 </table>
41 <hr /><hr />
42 <a NAME="GreaseMonkeyConfigurationDialog" ID="GreaseMonkeyConfigurationDialog"></a>
43 <h2>GreaseMonkeyConfigurationDialog</h2>
44 <p>
45 Class implementing the GreaseMonkey scripts configuration dialog.
46 </p>
47 <h3>Derived from</h3>
48 QDialog, Ui_GreaseMonkeyConfigurationDialog
49 <h3>Class Attributes</h3>
50 <table>
51 <tr><td>ScriptDescriptionRole</td></tr><tr><td>ScriptRole</td></tr><tr><td>ScriptVersionRole</td></tr>
52 </table>
53 <h3>Class Methods</h3>
54 <table>
55 <tr><td>None</td></tr>
56 </table>
57 <h3>Methods</h3>
58 <table>
59 <tr>
60 <td><a href="#GreaseMonkeyConfigurationDialog.__init__">GreaseMonkeyConfigurationDialog</a></td>
61 <td>Constructor</td>
62 </tr><tr>
63 <td><a href="#GreaseMonkeyConfigurationDialog.__getScript">__getScript</a></td>
64 <td>Private method to get the script for the given item.</td>
65 </tr><tr>
66 <td><a href="#GreaseMonkeyConfigurationDialog.__itemChanged">__itemChanged</a></td>
67 <td>Private slot to handle changes of a script item.</td>
68 </tr><tr>
69 <td><a href="#GreaseMonkeyConfigurationDialog.__loadScripts">__loadScripts</a></td>
70 <td>Private method to load all the available scripts.</td>
71 </tr><tr>
72 <td><a href="#GreaseMonkeyConfigurationDialog.__removeItem">__removeItem</a></td>
73 <td>Private slot to remove a script item.</td>
74 </tr><tr>
75 <td><a href="#GreaseMonkeyConfigurationDialog.on_downloadLabel_linkActivated">on_downloadLabel_linkActivated</a></td>
76 <td>Private slot to open the userscript.org web site.</td>
77 </tr><tr>
78 <td><a href="#GreaseMonkeyConfigurationDialog.on_openDirectoryButton_clicked">on_openDirectoryButton_clicked</a></td>
79 <td>Private slot to open the GreaseMonkey scripts directory.</td>
80 </tr><tr>
81 <td><a href="#GreaseMonkeyConfigurationDialog.on_scriptsList_itemDoubleClicked">on_scriptsList_itemDoubleClicked</a></td>
82 <td>Private slot to show information about the selected script.</td>
83 </tr>
84 </table>
85 <h3>Static Methods</h3>
86 <table>
87 <tr><td>None</td></tr>
88 </table>
89 <a NAME="GreaseMonkeyConfigurationDialog.__init__" ID="GreaseMonkeyConfigurationDialog.__init__"></a>
90 <h4>GreaseMonkeyConfigurationDialog (Constructor)</h4>
91 <b>GreaseMonkeyConfigurationDialog</b>(<i>manager, parent=None</i>)
92 <p>
93 Constructor
94 </p><dl>
95 <dt><i>manager</i></dt>
96 <dd>
97 reference to the manager object (GreaseMonkeyManager)
98 </dd><dt><i>parent</i></dt>
99 <dd>
100 reference to the parent widget (QWidget)
101 </dd>
102 </dl><a NAME="GreaseMonkeyConfigurationDialog.__getScript" ID="GreaseMonkeyConfigurationDialog.__getScript"></a>
103 <h4>GreaseMonkeyConfigurationDialog.__getScript</h4>
104 <b>__getScript</b>(<i>itm</i>)
105 <p>
106 Private method to get the script for the given item.
107 </p><dl>
108 <dt><i>itm</i></dt>
109 <dd>
110 item to get script for (QListWidgetItem)
111 </dd>
112 </dl><dl>
113 <dt>Returns:</dt>
114 <dd>
115 reference to the script object (GreaseMonkeyScript)
116 </dd>
117 </dl><a NAME="GreaseMonkeyConfigurationDialog.__itemChanged" ID="GreaseMonkeyConfigurationDialog.__itemChanged"></a>
118 <h4>GreaseMonkeyConfigurationDialog.__itemChanged</h4>
119 <b>__itemChanged</b>(<i>itm</i>)
120 <p>
121 Private slot to handle changes of a script item.
122 </p><dl>
123 <dt><i>itm</i></dt>
124 <dd>
125 changed item (QListWidgetItem)
126 </dd>
127 </dl><a NAME="GreaseMonkeyConfigurationDialog.__loadScripts" ID="GreaseMonkeyConfigurationDialog.__loadScripts"></a>
128 <h4>GreaseMonkeyConfigurationDialog.__loadScripts</h4>
129 <b>__loadScripts</b>(<i></i>)
130 <p>
131 Private method to load all the available scripts.
132 </p><a NAME="GreaseMonkeyConfigurationDialog.__removeItem" ID="GreaseMonkeyConfigurationDialog.__removeItem"></a>
133 <h4>GreaseMonkeyConfigurationDialog.__removeItem</h4>
134 <b>__removeItem</b>(<i>itm</i>)
135 <p>
136 Private slot to remove a script item.
137 </p><dl>
138 <dt><i>itm</i></dt>
139 <dd>
140 item to be removed (QListWidgetItem)
141 </dd>
142 </dl><a NAME="GreaseMonkeyConfigurationDialog.on_downloadLabel_linkActivated" ID="GreaseMonkeyConfigurationDialog.on_downloadLabel_linkActivated"></a>
143 <h4>GreaseMonkeyConfigurationDialog.on_downloadLabel_linkActivated</h4>
144 <b>on_downloadLabel_linkActivated</b>(<i>link</i>)
145 <p>
146 Private slot to open the userscript.org web site.
147 </p><dl>
148 <dt><i>link</i></dt>
149 <dd>
150 URL (string)
151 </dd>
152 </dl><a NAME="GreaseMonkeyConfigurationDialog.on_openDirectoryButton_clicked" ID="GreaseMonkeyConfigurationDialog.on_openDirectoryButton_clicked"></a>
153 <h4>GreaseMonkeyConfigurationDialog.on_openDirectoryButton_clicked</h4>
154 <b>on_openDirectoryButton_clicked</b>(<i></i>)
155 <p>
156 Private slot to open the GreaseMonkey scripts directory.
157 </p><a NAME="GreaseMonkeyConfigurationDialog.on_scriptsList_itemDoubleClicked" ID="GreaseMonkeyConfigurationDialog.on_scriptsList_itemDoubleClicked"></a>
158 <h4>GreaseMonkeyConfigurationDialog.on_scriptsList_itemDoubleClicked</h4>
159 <b>on_scriptsList_itemDoubleClicked</b>(<i>item</i>)
160 <p>
161 Private slot to show information about the selected script.
162 </p><dl>
163 <dt><i>item</i></dt>
164 <dd>
165 reference to the double clicked item (QListWidgetItem)
166 </dd>
167 </dl>
168 <div align="right"><a href="#top">Up</a></div>
169 <hr />
170 </body></html>

eric ide

mercurial