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

branch
eric7
changeset 10436
f6881d10e995
parent 9209
b99e7fd55fd3
child 10479
856476537696
equal deleted inserted replaced
10435:c712d09cc839 10436:f6881d10e995
86 <p> 86 <p>
87 Constructor 87 Constructor
88 </p> 88 </p>
89 <dl> 89 <dl>
90 90
91 <dt><i>parent</i></dt> 91 <dt><i>parent</i> (QObject)</dt>
92 <dd> 92 <dd>
93 reference to the parent object (QObject) 93 reference to the parent object
94 </dd> 94 </dd>
95 </dl> 95 </dl>
96 <a NAME="GreaseMonkeyConfigurationListDelegate.padding" ID="GreaseMonkeyConfigurationListDelegate.padding"></a> 96 <a NAME="GreaseMonkeyConfigurationListDelegate.padding" ID="GreaseMonkeyConfigurationListDelegate.padding"></a>
97 <h4>GreaseMonkeyConfigurationListDelegate.padding</h4> 97 <h4>GreaseMonkeyConfigurationListDelegate.padding</h4>
98 <b>padding</b>(<i></i>) 98 <b>padding</b>(<i></i>)
101 Public method to get the padding used. 101 Public method to get the padding used.
102 </p> 102 </p>
103 <dl> 103 <dl>
104 <dt>Return:</dt> 104 <dt>Return:</dt>
105 <dd> 105 <dd>
106 padding used (integer) 106 padding used
107 </dd>
108 </dl>
109 <dl>
110 <dt>Return Type:</dt>
111 <dd>
112 int
107 </dd> 113 </dd>
108 </dl> 114 </dl>
109 <a NAME="GreaseMonkeyConfigurationListDelegate.paint" ID="GreaseMonkeyConfigurationListDelegate.paint"></a> 115 <a NAME="GreaseMonkeyConfigurationListDelegate.paint" ID="GreaseMonkeyConfigurationListDelegate.paint"></a>
110 <h4>GreaseMonkeyConfigurationListDelegate.paint</h4> 116 <h4>GreaseMonkeyConfigurationListDelegate.paint</h4>
111 <b>paint</b>(<i>painter, option, index</i>) 117 <b>paint</b>(<i>painter, option, index</i>)
113 <p> 119 <p>
114 Public method to paint the specified list item. 120 Public method to paint the specified list item.
115 </p> 121 </p>
116 <dl> 122 <dl>
117 123
118 <dt><i>painter</i></dt> 124 <dt><i>painter</i> (QPainter)</dt>
119 <dd> 125 <dd>
120 painter object to paint to (QPainter) 126 painter object to paint to
121 </dd> 127 </dd>
122 <dt><i>option</i></dt> 128 <dt><i>option</i> (QStyleOptionViewItem)</dt>
123 <dd> 129 <dd>
124 style option used for painting (QStyleOptionViewItem) 130 style option used for painting
125 </dd> 131 </dd>
126 <dt><i>index</i></dt> 132 <dt><i>index</i> (QModelIndex)</dt>
127 <dd> 133 <dd>
128 model index of the item (QModelIndex) 134 model index of the item
129 </dd> 135 </dd>
130 </dl> 136 </dl>
131 <a NAME="GreaseMonkeyConfigurationListDelegate.sizeHint" ID="GreaseMonkeyConfigurationListDelegate.sizeHint"></a> 137 <a NAME="GreaseMonkeyConfigurationListDelegate.sizeHint" ID="GreaseMonkeyConfigurationListDelegate.sizeHint"></a>
132 <h4>GreaseMonkeyConfigurationListDelegate.sizeHint</h4> 138 <h4>GreaseMonkeyConfigurationListDelegate.sizeHint</h4>
133 <b>sizeHint</b>(<i>option, index</i>) 139 <b>sizeHint</b>(<i>option, index</i>)
135 <p> 141 <p>
136 Public method to get a size hint for the specified list item. 142 Public method to get a size hint for the specified list item.
137 </p> 143 </p>
138 <dl> 144 <dl>
139 145
140 <dt><i>option</i></dt> 146 <dt><i>option</i> (QStyleOptionViewItem)</dt>
141 <dd> 147 <dd>
142 style option used for painting (QStyleOptionViewItem) 148 style option used for painting
143 </dd> 149 </dd>
144 <dt><i>index</i></dt> 150 <dt><i>index</i> (QModelIndex)</dt>
145 <dd> 151 <dd>
146 model index of the item (QModelIndex) 152 model index of the item
147 </dd> 153 </dd>
148 </dl> 154 </dl>
149 <dl> 155 <dl>
150 <dt>Return:</dt> 156 <dt>Return:</dt>
151 <dd> 157 <dd>
152 size hint (QSize) 158 size hint
159 </dd>
160 </dl>
161 <dl>
162 <dt>Return Type:</dt>
163 <dd>
164 QSize
153 </dd> 165 </dd>
154 </dl> 166 </dl>
155 <div align="right"><a href="#top">Up</a></div> 167 <div align="right"><a href="#top">Up</a></div>
156 <hr /> 168 <hr />
157 </body></html> 169 </body></html>

eric ide

mercurial