src/eric7/Documentation/Source/eric7.WebBrowser.GreaseMonkey.GreaseMonkeyConfiguration.GreaseMonkeyConfigurationListDelegate.html

branch
eric7
changeset 9209
b99e7fd55fd3
parent 8596
d64760b2da50
child 10436
f6881d10e995
equal deleted inserted replaced
9208:3fc8dfeb6ebe 9209:b99e7fd55fd3
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.WebBrowser.GreaseMonkey.GreaseMonkeyConfiguration.GreaseMonkeyConfigurationListDelegate</title>
4 <meta charset="UTF-8">
5 <link rel="stylesheet" href="styles.css">
6 </head>
7 <body>
8 <a NAME="top" ID="top"></a>
9 <h1>eric7.WebBrowser.GreaseMonkey.GreaseMonkeyConfiguration.GreaseMonkeyConfigurationListDelegate</h1>
10
11 <p>
12 Module implementing a delegate for the special list widget for GreaseMonkey
13 scripts.
14 </p>
15 <h3>Global Attributes</h3>
16
17 <table>
18 <tr><td>None</td></tr>
19 </table>
20 <h3>Classes</h3>
21
22 <table>
23
24 <tr>
25 <td><a href="#GreaseMonkeyConfigurationListDelegate">GreaseMonkeyConfigurationListDelegate</a></td>
26 <td>Class implementing a delegate for the special list widget for GreaseMonkey scripts.</td>
27 </tr>
28 </table>
29 <h3>Functions</h3>
30
31 <table>
32 <tr><td>None</td></tr>
33 </table>
34 <hr />
35 <hr />
36 <a NAME="GreaseMonkeyConfigurationListDelegate" ID="GreaseMonkeyConfigurationListDelegate"></a>
37 <h2>GreaseMonkeyConfigurationListDelegate</h2>
38
39 <p>
40 Class implementing a delegate for the special list widget for GreaseMonkey
41 scripts.
42 </p>
43 <h3>Derived from</h3>
44 QStyledItemDelegate
45 <h3>Class Attributes</h3>
46
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>
51
52 <table>
53 <tr><td>None</td></tr>
54 </table>
55 <h3>Methods</h3>
56
57 <table>
58
59 <tr>
60 <td><a href="#GreaseMonkeyConfigurationListDelegate.__init__">GreaseMonkeyConfigurationListDelegate</a></td>
61 <td>Constructor</td>
62 </tr>
63 <tr>
64 <td><a href="#GreaseMonkeyConfigurationListDelegate.padding">padding</a></td>
65 <td>Public method to get the padding used.</td>
66 </tr>
67 <tr>
68 <td><a href="#GreaseMonkeyConfigurationListDelegate.paint">paint</a></td>
69 <td>Public method to paint the specified list item.</td>
70 </tr>
71 <tr>
72 <td><a href="#GreaseMonkeyConfigurationListDelegate.sizeHint">sizeHint</a></td>
73 <td>Public method to get a size hint for the specified list item.</td>
74 </tr>
75 </table>
76 <h3>Static Methods</h3>
77
78 <table>
79 <tr><td>None</td></tr>
80 </table>
81
82 <a NAME="GreaseMonkeyConfigurationListDelegate.__init__" ID="GreaseMonkeyConfigurationListDelegate.__init__"></a>
83 <h4>GreaseMonkeyConfigurationListDelegate (Constructor)</h4>
84 <b>GreaseMonkeyConfigurationListDelegate</b>(<i>parent=None</i>)
85
86 <p>
87 Constructor
88 </p>
89 <dl>
90
91 <dt><i>parent</i></dt>
92 <dd>
93 reference to the parent object (QObject)
94 </dd>
95 </dl>
96 <a NAME="GreaseMonkeyConfigurationListDelegate.padding" ID="GreaseMonkeyConfigurationListDelegate.padding"></a>
97 <h4>GreaseMonkeyConfigurationListDelegate.padding</h4>
98 <b>padding</b>(<i></i>)
99
100 <p>
101 Public method to get the padding used.
102 </p>
103 <dl>
104 <dt>Return:</dt>
105 <dd>
106 padding used (integer)
107 </dd>
108 </dl>
109 <a NAME="GreaseMonkeyConfigurationListDelegate.paint" ID="GreaseMonkeyConfigurationListDelegate.paint"></a>
110 <h4>GreaseMonkeyConfigurationListDelegate.paint</h4>
111 <b>paint</b>(<i>painter, option, index</i>)
112
113 <p>
114 Public method to paint the specified list item.
115 </p>
116 <dl>
117
118 <dt><i>painter</i></dt>
119 <dd>
120 painter object to paint to (QPainter)
121 </dd>
122 <dt><i>option</i></dt>
123 <dd>
124 style option used for painting (QStyleOptionViewItem)
125 </dd>
126 <dt><i>index</i></dt>
127 <dd>
128 model index of the item (QModelIndex)
129 </dd>
130 </dl>
131 <a NAME="GreaseMonkeyConfigurationListDelegate.sizeHint" ID="GreaseMonkeyConfigurationListDelegate.sizeHint"></a>
132 <h4>GreaseMonkeyConfigurationListDelegate.sizeHint</h4>
133 <b>sizeHint</b>(<i>option, index</i>)
134
135 <p>
136 Public method to get a size hint for the specified list item.
137 </p>
138 <dl>
139
140 <dt><i>option</i></dt>
141 <dd>
142 style option used for painting (QStyleOptionViewItem)
143 </dd>
144 <dt><i>index</i></dt>
145 <dd>
146 model index of the item (QModelIndex)
147 </dd>
148 </dl>
149 <dl>
150 <dt>Return:</dt>
151 <dd>
152 size hint (QSize)
153 </dd>
154 </dl>
155 <div align="right"><a href="#top">Up</a></div>
156 <hr />
157 </body></html>

eric ide

mercurial