16 |
16 |
17 a { color: #BA6D36; } |
17 a { color: #BA6D36; } |
18 |
18 |
19 </style> |
19 </style> |
20 </head> |
20 </head> |
21 <body><a NAME="top" ID="top"></a> |
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
22 <h1>eric6.WebBrowser.GreaseMonkey.GreaseMonkeyConfiguration.GreaseMonkeyConfigurationListDelegate</h1> |
23 <h1>eric6.WebBrowser.GreaseMonkey.GreaseMonkeyConfiguration.GreaseMonkeyConfigurationListDelegate</h1> |
|
24 |
23 <p> |
25 <p> |
24 Module implementing a delegate for the special list widget for GreaseMonkey |
26 Module implementing a delegate for the special list widget for GreaseMonkey |
25 scripts. |
27 scripts. |
26 </p> |
28 </p> |
27 <h3>Global Attributes</h3> |
29 <h3>Global Attributes</h3> |
|
30 |
28 <table> |
31 <table> |
29 <tr><td>None</td></tr> |
32 <tr><td>None</td></tr> |
30 </table> |
33 </table> |
31 <h3>Classes</h3> |
34 <h3>Classes</h3> |
|
35 |
32 <table> |
36 <table> |
|
37 |
33 <tr> |
38 <tr> |
34 <td><a href="#GreaseMonkeyConfigurationListDelegate">GreaseMonkeyConfigurationListDelegate</a></td> |
39 <td><a href="#GreaseMonkeyConfigurationListDelegate">GreaseMonkeyConfigurationListDelegate</a></td> |
35 <td>Class implementing a delegate for the special list widget for GreaseMonkey scripts.</td> |
40 <td>Class implementing a delegate for the special list widget for GreaseMonkey scripts.</td> |
36 </tr> |
41 </tr> |
37 </table> |
42 </table> |
38 <h3>Functions</h3> |
43 <h3>Functions</h3> |
|
44 |
39 <table> |
45 <table> |
40 <tr><td>None</td></tr> |
46 <tr><td>None</td></tr> |
41 </table> |
47 </table> |
42 <hr /><hr /> |
48 <hr /> |
|
49 <hr /> |
43 <a NAME="GreaseMonkeyConfigurationListDelegate" ID="GreaseMonkeyConfigurationListDelegate"></a> |
50 <a NAME="GreaseMonkeyConfigurationListDelegate" ID="GreaseMonkeyConfigurationListDelegate"></a> |
44 <h2>GreaseMonkeyConfigurationListDelegate</h2> |
51 <h2>GreaseMonkeyConfigurationListDelegate</h2> |
|
52 |
45 <p> |
53 <p> |
46 Class implementing a delegate for the special list widget for GreaseMonkey |
54 Class implementing a delegate for the special list widget for GreaseMonkey |
47 scripts. |
55 scripts. |
48 </p> |
56 </p> |
49 <h3>Derived from</h3> |
57 <h3>Derived from</h3> |
50 QStyledItemDelegate |
58 QStyledItemDelegate |
51 <h3>Class Attributes</h3> |
59 <h3>Class Attributes</h3> |
|
60 |
52 <table> |
61 <table> |
53 <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> |
62 <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> |
54 </table> |
63 </table> |
55 <h3>Class Methods</h3> |
64 <h3>Class Methods</h3> |
|
65 |
56 <table> |
66 <table> |
57 <tr><td>None</td></tr> |
67 <tr><td>None</td></tr> |
58 </table> |
68 </table> |
59 <h3>Methods</h3> |
69 <h3>Methods</h3> |
|
70 |
60 <table> |
71 <table> |
|
72 |
61 <tr> |
73 <tr> |
62 <td><a href="#GreaseMonkeyConfigurationListDelegate.__init__">GreaseMonkeyConfigurationListDelegate</a></td> |
74 <td><a href="#GreaseMonkeyConfigurationListDelegate.__init__">GreaseMonkeyConfigurationListDelegate</a></td> |
63 <td>Constructor</td> |
75 <td>Constructor</td> |
64 </tr><tr> |
76 </tr> |
|
77 <tr> |
65 <td><a href="#GreaseMonkeyConfigurationListDelegate.padding">padding</a></td> |
78 <td><a href="#GreaseMonkeyConfigurationListDelegate.padding">padding</a></td> |
66 <td>Public method to get the padding used.</td> |
79 <td>Public method to get the padding used.</td> |
67 </tr><tr> |
80 </tr> |
|
81 <tr> |
68 <td><a href="#GreaseMonkeyConfigurationListDelegate.paint">paint</a></td> |
82 <td><a href="#GreaseMonkeyConfigurationListDelegate.paint">paint</a></td> |
69 <td>Public method to paint the specified list item.</td> |
83 <td>Public method to paint the specified list item.</td> |
70 </tr><tr> |
84 </tr> |
|
85 <tr> |
71 <td><a href="#GreaseMonkeyConfigurationListDelegate.sizeHint">sizeHint</a></td> |
86 <td><a href="#GreaseMonkeyConfigurationListDelegate.sizeHint">sizeHint</a></td> |
72 <td>Public method to get a size hint for the specified list item.</td> |
87 <td>Public method to get a size hint for the specified list item.</td> |
73 </tr> |
88 </tr> |
74 </table> |
89 </table> |
75 <h3>Static Methods</h3> |
90 <h3>Static Methods</h3> |
|
91 |
76 <table> |
92 <table> |
77 <tr><td>None</td></tr> |
93 <tr><td>None</td></tr> |
78 </table> |
94 </table> |
|
95 |
79 <a NAME="GreaseMonkeyConfigurationListDelegate.__init__" ID="GreaseMonkeyConfigurationListDelegate.__init__"></a> |
96 <a NAME="GreaseMonkeyConfigurationListDelegate.__init__" ID="GreaseMonkeyConfigurationListDelegate.__init__"></a> |
80 <h4>GreaseMonkeyConfigurationListDelegate (Constructor)</h4> |
97 <h4>GreaseMonkeyConfigurationListDelegate (Constructor)</h4> |
81 <b>GreaseMonkeyConfigurationListDelegate</b>(<i>parent=None</i>) |
98 <b>GreaseMonkeyConfigurationListDelegate</b>(<i>parent=None</i>) |
|
99 |
82 <p> |
100 <p> |
83 Constructor |
101 Constructor |
84 </p><dl> |
102 </p> |
|
103 <dl> |
|
104 |
85 <dt><i>parent</i></dt> |
105 <dt><i>parent</i></dt> |
86 <dd> |
106 <dd> |
87 reference to the parent object (QObject) |
107 reference to the parent object (QObject) |
88 </dd> |
108 </dd> |
89 </dl><a NAME="GreaseMonkeyConfigurationListDelegate.padding" ID="GreaseMonkeyConfigurationListDelegate.padding"></a> |
109 </dl> |
|
110 <a NAME="GreaseMonkeyConfigurationListDelegate.padding" ID="GreaseMonkeyConfigurationListDelegate.padding"></a> |
90 <h4>GreaseMonkeyConfigurationListDelegate.padding</h4> |
111 <h4>GreaseMonkeyConfigurationListDelegate.padding</h4> |
91 <b>padding</b>(<i></i>) |
112 <b>padding</b>(<i></i>) |
|
113 |
92 <p> |
114 <p> |
93 Public method to get the padding used. |
115 Public method to get the padding used. |
94 </p><dl> |
116 </p> |
|
117 <dl> |
95 <dt>Returns:</dt> |
118 <dt>Returns:</dt> |
96 <dd> |
119 <dd> |
97 padding used (integer) |
120 padding used (integer) |
98 </dd> |
121 </dd> |
99 </dl><a NAME="GreaseMonkeyConfigurationListDelegate.paint" ID="GreaseMonkeyConfigurationListDelegate.paint"></a> |
122 </dl> |
|
123 <a NAME="GreaseMonkeyConfigurationListDelegate.paint" ID="GreaseMonkeyConfigurationListDelegate.paint"></a> |
100 <h4>GreaseMonkeyConfigurationListDelegate.paint</h4> |
124 <h4>GreaseMonkeyConfigurationListDelegate.paint</h4> |
101 <b>paint</b>(<i>painter, option, index</i>) |
125 <b>paint</b>(<i>painter, option, index</i>) |
|
126 |
102 <p> |
127 <p> |
103 Public method to paint the specified list item. |
128 Public method to paint the specified list item. |
104 </p><dl> |
129 </p> |
|
130 <dl> |
|
131 |
105 <dt><i>painter</i></dt> |
132 <dt><i>painter</i></dt> |
106 <dd> |
133 <dd> |
107 painter object to paint to (QPainter) |
134 painter object to paint to (QPainter) |
108 </dd><dt><i>option</i></dt> |
135 </dd> |
|
136 <dt><i>option</i></dt> |
109 <dd> |
137 <dd> |
110 style option used for painting (QStyleOptionViewItem) |
138 style option used for painting (QStyleOptionViewItem) |
111 </dd><dt><i>index</i></dt> |
139 </dd> |
|
140 <dt><i>index</i></dt> |
112 <dd> |
141 <dd> |
113 model index of the item (QModelIndex) |
142 model index of the item (QModelIndex) |
114 </dd> |
143 </dd> |
115 </dl><a NAME="GreaseMonkeyConfigurationListDelegate.sizeHint" ID="GreaseMonkeyConfigurationListDelegate.sizeHint"></a> |
144 </dl> |
|
145 <a NAME="GreaseMonkeyConfigurationListDelegate.sizeHint" ID="GreaseMonkeyConfigurationListDelegate.sizeHint"></a> |
116 <h4>GreaseMonkeyConfigurationListDelegate.sizeHint</h4> |
146 <h4>GreaseMonkeyConfigurationListDelegate.sizeHint</h4> |
117 <b>sizeHint</b>(<i>option, index</i>) |
147 <b>sizeHint</b>(<i>option, index</i>) |
|
148 |
118 <p> |
149 <p> |
119 Public method to get a size hint for the specified list item. |
150 Public method to get a size hint for the specified list item. |
120 </p><dl> |
151 </p> |
|
152 <dl> |
|
153 |
121 <dt><i>option</i></dt> |
154 <dt><i>option</i></dt> |
122 <dd> |
155 <dd> |
123 style option used for painting (QStyleOptionViewItem) |
156 style option used for painting (QStyleOptionViewItem) |
124 </dd><dt><i>index</i></dt> |
157 </dd> |
|
158 <dt><i>index</i></dt> |
125 <dd> |
159 <dd> |
126 model index of the item (QModelIndex) |
160 model index of the item (QModelIndex) |
127 </dd> |
161 </dd> |
128 </dl><dl> |
162 </dl> |
|
163 <dl> |
129 <dt>Returns:</dt> |
164 <dt>Returns:</dt> |
130 <dd> |
165 <dd> |
131 size hint (QSize) |
166 size hint (QSize) |
132 </dd> |
167 </dd> |
133 </dl> |
168 </dl> |