|
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> |
|
47 <h3>Derived from</h3> |
|
48 QListWidget |
|
49 <h3>Class Attributes</h3> |
|
50 <table> |
|
51 <tr><td>None</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="#GreaseMonkeyConfigurationListWidget.__init__">GreaseMonkeyConfigurationListWidget</a></td> |
|
61 <td>Constructor</td> |
|
62 </tr><tr> |
|
63 <td><a href="#GreaseMonkeyConfigurationListWidget.__containsRemoveIcon">__containsRemoveIcon</a></td> |
|
64 <td>Private method to check, if the given position is inside the remove icon.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#GreaseMonkeyConfigurationListWidget.mouseDoubleClickEvent">mouseDoubleClickEvent</a></td> |
|
67 <td>Protected method handling mouse double click events.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#GreaseMonkeyConfigurationListWidget.mousePressEvent">mousePressEvent</a></td> |
|
70 <td>Protected method handling presses of mouse buttons.</td> |
|
71 </tr> |
|
72 </table> |
|
73 <h3>Static Methods</h3> |
|
74 <table> |
|
75 <tr><td>None</td></tr> |
|
76 </table> |
|
77 <a NAME="GreaseMonkeyConfigurationListWidget.__init__" ID="GreaseMonkeyConfigurationListWidget.__init__"></a> |
|
78 <h4>GreaseMonkeyConfigurationListWidget (Constructor)</h4> |
|
79 <b>GreaseMonkeyConfigurationListWidget</b>(<i>parent=None</i>) |
|
80 <p> |
|
81 Constructor |
|
82 </p><dl> |
|
83 <dt><i>parent</i></dt> |
|
84 <dd> |
|
85 reference to the parent widget (QWidget) |
|
86 </dd> |
|
87 </dl><a NAME="GreaseMonkeyConfigurationListWidget.__containsRemoveIcon" ID="GreaseMonkeyConfigurationListWidget.__containsRemoveIcon"></a> |
|
88 <h4>GreaseMonkeyConfigurationListWidget.__containsRemoveIcon</h4> |
|
89 <b>__containsRemoveIcon</b>(<i>pos</i>) |
|
90 <p> |
|
91 Private method to check, if the given position is inside the remove |
|
92 icon. |
|
93 </p><dl> |
|
94 <dt><i>pos</i></dt> |
|
95 <dd> |
|
96 position to check for (QPoint) |
|
97 </dd> |
|
98 </dl><dl> |
|
99 <dt>Returns:</dt> |
|
100 <dd> |
|
101 flag indicating success (boolean) |
|
102 </dd> |
|
103 </dl><a NAME="GreaseMonkeyConfigurationListWidget.mouseDoubleClickEvent" ID="GreaseMonkeyConfigurationListWidget.mouseDoubleClickEvent"></a> |
|
104 <h4>GreaseMonkeyConfigurationListWidget.mouseDoubleClickEvent</h4> |
|
105 <b>mouseDoubleClickEvent</b>(<i>evt</i>) |
|
106 <p> |
|
107 Protected method handling mouse double click events. |
|
108 </p><dl> |
|
109 <dt><i>evt</i></dt> |
|
110 <dd> |
|
111 mouse press event (QMouseEvent) |
|
112 </dd> |
|
113 </dl><a NAME="GreaseMonkeyConfigurationListWidget.mousePressEvent" ID="GreaseMonkeyConfigurationListWidget.mousePressEvent"></a> |
|
114 <h4>GreaseMonkeyConfigurationListWidget.mousePressEvent</h4> |
|
115 <b>mousePressEvent</b>(<i>evt</i>) |
|
116 <p> |
|
117 Protected method handling presses of mouse buttons. |
|
118 </p><dl> |
|
119 <dt><i>evt</i></dt> |
|
120 <dd> |
|
121 mouse press event (QMouseEvent) |
|
122 </dd> |
|
123 </dl> |
|
124 <div align="right"><a href="#top">Up</a></div> |
|
125 <hr /> |
|
126 </body></html> |