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