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