|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' |
|
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> |
|
4 <html><head> |
|
5 <title>eric5.Helpviewer.GreaseMonkey.GreaseMonkeyConfiguration.GreaseMonkeyConfigurationListWidget</title> |
|
6 <style> |
|
7 body { |
|
8 background: #EDECE6; |
|
9 margin: 0em 1em 10em 1em; |
|
10 color: black; |
|
11 } |
|
12 |
|
13 h1 { color: white; background: #85774A; } |
|
14 h2 { color: white; background: #85774A; } |
|
15 h3 { color: white; background: #9D936E; } |
|
16 h4 { color: white; background: #9D936E; } |
|
17 |
|
18 a { color: #BA6D36; } |
|
19 |
|
20 </style> |
|
21 </head> |
|
22 <body><a NAME="top" ID="top"></a> |
|
23 <h1>eric5.Helpviewer.GreaseMonkey.GreaseMonkeyConfiguration.GreaseMonkeyConfigurationListWidget</h1> |
|
24 <p> |
|
25 Module implementing a special list widget for GreaseMonkey scripts. |
|
26 </p> |
|
27 <h3>Global Attributes</h3> |
|
28 <table> |
|
29 <tr><td>None</td></tr> |
|
30 </table> |
|
31 <h3>Classes</h3> |
|
32 <table> |
|
33 <tr> |
|
34 <td><a href="#GreaseMonkeyConfigurationListWidget">GreaseMonkeyConfigurationListWidget</a></td> |
|
35 <td>Class implementing a special list widget for GreaseMonkey scripts.</td> |
|
36 </tr> |
|
37 </table> |
|
38 <h3>Functions</h3> |
|
39 <table> |
|
40 <tr><td>None</td></tr> |
|
41 </table> |
|
42 <hr /><hr /> |
|
43 <a NAME="GreaseMonkeyConfigurationListWidget" ID="GreaseMonkeyConfigurationListWidget"></a> |
|
44 <h2>GreaseMonkeyConfigurationListWidget</h2> |
|
45 <p> |
|
46 Class implementing a special list widget for GreaseMonkey scripts. |
|
47 </p> |
|
48 <h3>Derived from</h3> |
|
49 QListWidget |
|
50 <h3>Class Attributes</h3> |
|
51 <table> |
|
52 <tr><td>None</td></tr> |
|
53 </table> |
|
54 <h3>Class Methods</h3> |
|
55 <table> |
|
56 <tr><td>None</td></tr> |
|
57 </table> |
|
58 <h3>Methods</h3> |
|
59 <table> |
|
60 <tr> |
|
61 <td><a href="#GreaseMonkeyConfigurationListWidget.__init__">GreaseMonkeyConfigurationListWidget</a></td> |
|
62 <td>Constructor</td> |
|
63 </tr><tr> |
|
64 <td><a href="#GreaseMonkeyConfigurationListWidget.__containsRemoveIcon">__containsRemoveIcon</a></td> |
|
65 <td>Private method to check, if the given position is inside the remove icon.</td> |
|
66 </tr><tr> |
|
67 <td><a href="#GreaseMonkeyConfigurationListWidget.mouseDoubleClickEvent">mouseDoubleClickEvent</a></td> |
|
68 <td>Private method handling mouse double click events.</td> |
|
69 </tr><tr> |
|
70 <td><a href="#GreaseMonkeyConfigurationListWidget.mousePressEvent">mousePressEvent</a></td> |
|
71 <td>Private method handling presses of mouse buttons.</td> |
|
72 </tr> |
|
73 </table> |
|
74 <h3>Static Methods</h3> |
|
75 <table> |
|
76 <tr><td>None</td></tr> |
|
77 </table> |
|
78 <a NAME="GreaseMonkeyConfigurationListWidget.__init__" ID="GreaseMonkeyConfigurationListWidget.__init__"></a> |
|
79 <h4>GreaseMonkeyConfigurationListWidget (Constructor)</h4> |
|
80 <b>GreaseMonkeyConfigurationListWidget</b>(<i>parent=None</i>) |
|
81 <p> |
|
82 Constructor |
|
83 </p><dl> |
|
84 <dt><i>parent</i></dt> |
|
85 <dd> |
|
86 reference to the parent widget (QWidget) |
|
87 </dd> |
|
88 </dl><a NAME="GreaseMonkeyConfigurationListWidget.__containsRemoveIcon" ID="GreaseMonkeyConfigurationListWidget.__containsRemoveIcon"></a> |
|
89 <h4>GreaseMonkeyConfigurationListWidget.__containsRemoveIcon</h4> |
|
90 <b>__containsRemoveIcon</b>(<i>pos</i>) |
|
91 <p> |
|
92 Private method to check, if the given position is inside the remove 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 Private 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 Private 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> |