|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.WebBrowser.GreaseMonkey.GreaseMonkeyConfiguration.GreaseMonkeyConfigurationListWidget</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.GreaseMonkey.GreaseMonkeyConfiguration.GreaseMonkeyConfigurationListWidget</h1> |
|
24 |
|
25 <p> |
|
26 Module implementing a special list widget for GreaseMonkey scripts. |
|
27 </p> |
|
28 <h3>Global Attributes</h3> |
|
29 |
|
30 <table> |
|
31 <tr><td>None</td></tr> |
|
32 </table> |
|
33 <h3>Classes</h3> |
|
34 |
|
35 <table> |
|
36 |
|
37 <tr> |
|
38 <td><a href="#GreaseMonkeyConfigurationListWidget">GreaseMonkeyConfigurationListWidget</a></td> |
|
39 <td>Class implementing a special list widget for GreaseMonkey scripts.</td> |
|
40 </tr> |
|
41 </table> |
|
42 <h3>Functions</h3> |
|
43 |
|
44 <table> |
|
45 <tr><td>None</td></tr> |
|
46 </table> |
|
47 <hr /> |
|
48 <hr /> |
|
49 <a NAME="GreaseMonkeyConfigurationListWidget" ID="GreaseMonkeyConfigurationListWidget"></a> |
|
50 <h2>GreaseMonkeyConfigurationListWidget</h2> |
|
51 |
|
52 <p> |
|
53 Class implementing a special list widget for GreaseMonkey scripts. |
|
54 </p> |
|
55 <h3>Signals</h3> |
|
56 <dl> |
|
57 |
|
58 <dt>removeItemRequested(item)</dt> |
|
59 <dd> |
|
60 emitted to indicate an item removal |
|
61 request (QListWidgetItem) |
|
62 </dd> |
|
63 </dl> |
|
64 <h3>Derived from</h3> |
|
65 QListWidget |
|
66 <h3>Class Attributes</h3> |
|
67 |
|
68 <table> |
|
69 <tr><td>None</td></tr> |
|
70 </table> |
|
71 <h3>Class Methods</h3> |
|
72 |
|
73 <table> |
|
74 <tr><td>None</td></tr> |
|
75 </table> |
|
76 <h3>Methods</h3> |
|
77 |
|
78 <table> |
|
79 |
|
80 <tr> |
|
81 <td><a href="#GreaseMonkeyConfigurationListWidget.__init__">GreaseMonkeyConfigurationListWidget</a></td> |
|
82 <td>Constructor</td> |
|
83 </tr> |
|
84 <tr> |
|
85 <td><a href="#GreaseMonkeyConfigurationListWidget.__containsRemoveIcon">__containsRemoveIcon</a></td> |
|
86 <td>Private method to check, if the given position is inside the remove icon.</td> |
|
87 </tr> |
|
88 <tr> |
|
89 <td><a href="#GreaseMonkeyConfigurationListWidget.mouseDoubleClickEvent">mouseDoubleClickEvent</a></td> |
|
90 <td>Protected method handling mouse double click events.</td> |
|
91 </tr> |
|
92 <tr> |
|
93 <td><a href="#GreaseMonkeyConfigurationListWidget.mousePressEvent">mousePressEvent</a></td> |
|
94 <td>Protected method handling presses of mouse buttons.</td> |
|
95 </tr> |
|
96 </table> |
|
97 <h3>Static Methods</h3> |
|
98 |
|
99 <table> |
|
100 <tr><td>None</td></tr> |
|
101 </table> |
|
102 |
|
103 <a NAME="GreaseMonkeyConfigurationListWidget.__init__" ID="GreaseMonkeyConfigurationListWidget.__init__"></a> |
|
104 <h4>GreaseMonkeyConfigurationListWidget (Constructor)</h4> |
|
105 <b>GreaseMonkeyConfigurationListWidget</b>(<i>parent=None</i>) |
|
106 |
|
107 <p> |
|
108 Constructor |
|
109 </p> |
|
110 <dl> |
|
111 |
|
112 <dt><i>parent</i></dt> |
|
113 <dd> |
|
114 reference to the parent widget (QWidget) |
|
115 </dd> |
|
116 </dl> |
|
117 <a NAME="GreaseMonkeyConfigurationListWidget.__containsRemoveIcon" ID="GreaseMonkeyConfigurationListWidget.__containsRemoveIcon"></a> |
|
118 <h4>GreaseMonkeyConfigurationListWidget.__containsRemoveIcon</h4> |
|
119 <b>__containsRemoveIcon</b>(<i>pos</i>) |
|
120 |
|
121 <p> |
|
122 Private method to check, if the given position is inside the remove |
|
123 icon. |
|
124 </p> |
|
125 <dl> |
|
126 |
|
127 <dt><i>pos</i></dt> |
|
128 <dd> |
|
129 position to check for (QPoint) |
|
130 </dd> |
|
131 </dl> |
|
132 <dl> |
|
133 <dt>Return:</dt> |
|
134 <dd> |
|
135 flag indicating success (boolean) |
|
136 </dd> |
|
137 </dl> |
|
138 <a NAME="GreaseMonkeyConfigurationListWidget.mouseDoubleClickEvent" ID="GreaseMonkeyConfigurationListWidget.mouseDoubleClickEvent"></a> |
|
139 <h4>GreaseMonkeyConfigurationListWidget.mouseDoubleClickEvent</h4> |
|
140 <b>mouseDoubleClickEvent</b>(<i>evt</i>) |
|
141 |
|
142 <p> |
|
143 Protected method handling mouse double click events. |
|
144 </p> |
|
145 <dl> |
|
146 |
|
147 <dt><i>evt</i></dt> |
|
148 <dd> |
|
149 mouse press event (QMouseEvent) |
|
150 </dd> |
|
151 </dl> |
|
152 <a NAME="GreaseMonkeyConfigurationListWidget.mousePressEvent" ID="GreaseMonkeyConfigurationListWidget.mousePressEvent"></a> |
|
153 <h4>GreaseMonkeyConfigurationListWidget.mousePressEvent</h4> |
|
154 <b>mousePressEvent</b>(<i>evt</i>) |
|
155 |
|
156 <p> |
|
157 Protected method handling presses of mouse buttons. |
|
158 </p> |
|
159 <dl> |
|
160 |
|
161 <dt><i>evt</i></dt> |
|
162 <dd> |
|
163 mouse press event (QMouseEvent) |
|
164 </dd> |
|
165 </dl> |
|
166 <div align="right"><a href="#top">Up</a></div> |
|
167 <hr /> |
|
168 </body></html> |