5 <link rel="stylesheet" href="styles.css"> |
5 <link rel="stylesheet" href="styles.css"> |
6 </head> |
6 </head> |
7 <body> |
7 <body> |
8 <a NAME="top" ID="top"></a> |
8 <a NAME="top" ID="top"></a> |
9 <h1>eric7.WebBrowser.GreaseMonkey.GreaseMonkeyConfiguration.GreaseMonkeyConfigurationListDelegate</h1> |
9 <h1>eric7.WebBrowser.GreaseMonkey.GreaseMonkeyConfiguration.GreaseMonkeyConfigurationListDelegate</h1> |
10 |
|
11 <p> |
10 <p> |
12 Module implementing a delegate for the special list widget for GreaseMonkey |
11 Module implementing a delegate for the special list widget for GreaseMonkey |
13 scripts. |
12 scripts. |
14 </p> |
13 </p> |
|
14 |
15 <h3>Global Attributes</h3> |
15 <h3>Global Attributes</h3> |
16 |
|
17 <table> |
16 <table> |
18 <tr><td>None</td></tr> |
17 <tr><td>None</td></tr> |
19 </table> |
18 </table> |
|
19 |
20 <h3>Classes</h3> |
20 <h3>Classes</h3> |
21 |
|
22 <table> |
21 <table> |
23 |
|
24 <tr> |
22 <tr> |
25 <td><a href="#GreaseMonkeyConfigurationListDelegate">GreaseMonkeyConfigurationListDelegate</a></td> |
23 <td><a href="#GreaseMonkeyConfigurationListDelegate">GreaseMonkeyConfigurationListDelegate</a></td> |
26 <td>Class implementing a delegate for the special list widget for GreaseMonkey scripts.</td> |
24 <td>Class implementing a delegate for the special list widget for GreaseMonkey scripts.</td> |
27 </tr> |
25 </tr> |
28 </table> |
26 </table> |
|
27 |
29 <h3>Functions</h3> |
28 <h3>Functions</h3> |
30 |
|
31 <table> |
29 <table> |
32 <tr><td>None</td></tr> |
30 <tr><td>None</td></tr> |
33 </table> |
31 </table> |
|
32 |
34 <hr /> |
33 <hr /> |
35 <hr /> |
34 <hr /> |
36 <a NAME="GreaseMonkeyConfigurationListDelegate" ID="GreaseMonkeyConfigurationListDelegate"></a> |
35 <a NAME="GreaseMonkeyConfigurationListDelegate" ID="GreaseMonkeyConfigurationListDelegate"></a> |
37 <h2>GreaseMonkeyConfigurationListDelegate</h2> |
36 <h2>GreaseMonkeyConfigurationListDelegate</h2> |
38 |
|
39 <p> |
37 <p> |
40 Class implementing a delegate for the special list widget for GreaseMonkey |
38 Class implementing a delegate for the special list widget for GreaseMonkey |
41 scripts. |
39 scripts. |
42 </p> |
40 </p> |
|
41 |
43 <h3>Derived from</h3> |
42 <h3>Derived from</h3> |
44 QStyledItemDelegate |
43 QStyledItemDelegate |
45 <h3>Class Attributes</h3> |
44 <h3>Class Attributes</h3> |
|
45 <table> |
|
46 <tr><td>CheckBoxSize</td></tr> |
|
47 <tr><td>IconSize</td></tr> |
|
48 <tr><td>ItemWidth</td></tr> |
|
49 <tr><td>MinPadding</td></tr> |
|
50 <tr><td>RemoveIconSize</td></tr> |
|
51 </table> |
46 |
52 |
47 <table> |
|
48 <tr><td>CheckBoxSize</td></tr><tr><td>IconSize</td></tr><tr><td>ItemWidth</td></tr><tr><td>MinPadding</td></tr><tr><td>RemoveIconSize</td></tr> |
|
49 </table> |
|
50 <h3>Class Methods</h3> |
53 <h3>Class Methods</h3> |
51 |
|
52 <table> |
54 <table> |
53 <tr><td>None</td></tr> |
55 <tr><td>None</td></tr> |
54 </table> |
56 </table> |
|
57 |
55 <h3>Methods</h3> |
58 <h3>Methods</h3> |
56 |
|
57 <table> |
59 <table> |
58 |
|
59 <tr> |
60 <tr> |
60 <td><a href="#GreaseMonkeyConfigurationListDelegate.__init__">GreaseMonkeyConfigurationListDelegate</a></td> |
61 <td><a href="#GreaseMonkeyConfigurationListDelegate.__init__">GreaseMonkeyConfigurationListDelegate</a></td> |
61 <td>Constructor</td> |
62 <td>Constructor</td> |
62 </tr> |
63 </tr> |
63 <tr> |
64 <tr> |
71 <tr> |
72 <tr> |
72 <td><a href="#GreaseMonkeyConfigurationListDelegate.sizeHint">sizeHint</a></td> |
73 <td><a href="#GreaseMonkeyConfigurationListDelegate.sizeHint">sizeHint</a></td> |
73 <td>Public method to get a size hint for the specified list item.</td> |
74 <td>Public method to get a size hint for the specified list item.</td> |
74 </tr> |
75 </tr> |
75 </table> |
76 </table> |
|
77 |
76 <h3>Static Methods</h3> |
78 <h3>Static Methods</h3> |
77 |
|
78 <table> |
79 <table> |
79 <tr><td>None</td></tr> |
80 <tr><td>None</td></tr> |
80 </table> |
81 </table> |
81 |
82 |
|
83 |
82 <a NAME="GreaseMonkeyConfigurationListDelegate.__init__" ID="GreaseMonkeyConfigurationListDelegate.__init__"></a> |
84 <a NAME="GreaseMonkeyConfigurationListDelegate.__init__" ID="GreaseMonkeyConfigurationListDelegate.__init__"></a> |
83 <h4>GreaseMonkeyConfigurationListDelegate (Constructor)</h4> |
85 <h4>GreaseMonkeyConfigurationListDelegate (Constructor)</h4> |
84 <b>GreaseMonkeyConfigurationListDelegate</b>(<i>parent=None</i>) |
86 <b>GreaseMonkeyConfigurationListDelegate</b>(<i>parent=None</i>) |
85 |
|
86 <p> |
87 <p> |
87 Constructor |
88 Constructor |
88 </p> |
89 </p> |
|
90 |
89 <dl> |
91 <dl> |
90 |
92 |
91 <dt><i>parent</i> (QObject)</dt> |
93 <dt><i>parent</i> (QObject)</dt> |
92 <dd> |
94 <dd> |
93 reference to the parent object |
95 reference to the parent object |
94 </dd> |
96 </dd> |
95 </dl> |
97 </dl> |
96 <a NAME="GreaseMonkeyConfigurationListDelegate.padding" ID="GreaseMonkeyConfigurationListDelegate.padding"></a> |
98 <a NAME="GreaseMonkeyConfigurationListDelegate.padding" ID="GreaseMonkeyConfigurationListDelegate.padding"></a> |
97 <h4>GreaseMonkeyConfigurationListDelegate.padding</h4> |
99 <h4>GreaseMonkeyConfigurationListDelegate.padding</h4> |
98 <b>padding</b>(<i></i>) |
100 <b>padding</b>(<i></i>) |
99 |
|
100 <p> |
101 <p> |
101 Public method to get the padding used. |
102 Public method to get the padding used. |
102 </p> |
103 </p> |
|
104 |
103 <dl> |
105 <dl> |
104 <dt>Return:</dt> |
106 <dt>Return:</dt> |
105 <dd> |
107 <dd> |
106 padding used |
108 padding used |
107 </dd> |
109 </dd> |
113 </dd> |
115 </dd> |
114 </dl> |
116 </dl> |
115 <a NAME="GreaseMonkeyConfigurationListDelegate.paint" ID="GreaseMonkeyConfigurationListDelegate.paint"></a> |
117 <a NAME="GreaseMonkeyConfigurationListDelegate.paint" ID="GreaseMonkeyConfigurationListDelegate.paint"></a> |
116 <h4>GreaseMonkeyConfigurationListDelegate.paint</h4> |
118 <h4>GreaseMonkeyConfigurationListDelegate.paint</h4> |
117 <b>paint</b>(<i>painter, option, index</i>) |
119 <b>paint</b>(<i>painter, option, index</i>) |
118 |
|
119 <p> |
120 <p> |
120 Public method to paint the specified list item. |
121 Public method to paint the specified list item. |
121 </p> |
122 </p> |
|
123 |
122 <dl> |
124 <dl> |
123 |
125 |
124 <dt><i>painter</i> (QPainter)</dt> |
126 <dt><i>painter</i> (QPainter)</dt> |
125 <dd> |
127 <dd> |
126 painter object to paint to |
128 painter object to paint to |
135 </dd> |
137 </dd> |
136 </dl> |
138 </dl> |
137 <a NAME="GreaseMonkeyConfigurationListDelegate.sizeHint" ID="GreaseMonkeyConfigurationListDelegate.sizeHint"></a> |
139 <a NAME="GreaseMonkeyConfigurationListDelegate.sizeHint" ID="GreaseMonkeyConfigurationListDelegate.sizeHint"></a> |
138 <h4>GreaseMonkeyConfigurationListDelegate.sizeHint</h4> |
140 <h4>GreaseMonkeyConfigurationListDelegate.sizeHint</h4> |
139 <b>sizeHint</b>(<i>option, index</i>) |
141 <b>sizeHint</b>(<i>option, index</i>) |
140 |
|
141 <p> |
142 <p> |
142 Public method to get a size hint for the specified list item. |
143 Public method to get a size hint for the specified list item. |
143 </p> |
144 </p> |
|
145 |
144 <dl> |
146 <dl> |
145 |
147 |
146 <dt><i>option</i> (QStyleOptionViewItem)</dt> |
148 <dt><i>option</i> (QStyleOptionViewItem)</dt> |
147 <dd> |
149 <dd> |
148 style option used for painting |
150 style option used for painting |