266 Public slot to repopulate the model. |
270 Public slot to repopulate the model. |
267 </p> |
271 </p> |
268 |
272 |
269 <div align="right"><a href="#top">Up</a></div> |
273 <div align="right"><a href="#top">Up</a></div> |
270 <hr /> |
274 <hr /> |
|
275 <hr /> |
|
276 <a NAME="EditorOutlineSortFilterProxyModel" ID="EditorOutlineSortFilterProxyModel"></a> |
|
277 <h2>EditorOutlineSortFilterProxyModel</h2> |
|
278 <p> |
|
279 Class implementing the editor outline sort filter proxy model. |
|
280 </p> |
|
281 |
|
282 <h3>Derived from</h3> |
|
283 BrowserSortFilterProxyModel |
|
284 <h3>Class Attributes</h3> |
|
285 <table> |
|
286 <tr><td>None</td></tr> |
|
287 </table> |
|
288 |
|
289 <h3>Class Methods</h3> |
|
290 <table> |
|
291 <tr><td>None</td></tr> |
|
292 </table> |
|
293 |
|
294 <h3>Methods</h3> |
|
295 <table> |
|
296 <tr> |
|
297 <td><a href="#EditorOutlineSortFilterProxyModel.__init__">EditorOutlineSortFilterProxyModel</a></td> |
|
298 <td>Constructor</td> |
|
299 </tr> |
|
300 <tr> |
|
301 <td><a href="#EditorOutlineSortFilterProxyModel.filterAcceptsRow">filterAcceptsRow</a></td> |
|
302 <td>Public method to filter rows.</td> |
|
303 </tr> |
|
304 </table> |
|
305 |
|
306 <h3>Static Methods</h3> |
|
307 <table> |
|
308 <tr><td>None</td></tr> |
|
309 </table> |
|
310 |
|
311 |
|
312 <a NAME="EditorOutlineSortFilterProxyModel.__init__" ID="EditorOutlineSortFilterProxyModel.__init__"></a> |
|
313 <h4>EditorOutlineSortFilterProxyModel (Constructor)</h4> |
|
314 <b>EditorOutlineSortFilterProxyModel</b>(<i>parent=None</i>) |
|
315 <p> |
|
316 Constructor |
|
317 </p> |
|
318 |
|
319 <dl> |
|
320 |
|
321 <dt><i>parent</i> (QObject)</dt> |
|
322 <dd> |
|
323 reference to the parent object |
|
324 </dd> |
|
325 </dl> |
|
326 <a NAME="EditorOutlineSortFilterProxyModel.filterAcceptsRow" ID="EditorOutlineSortFilterProxyModel.filterAcceptsRow"></a> |
|
327 <h4>EditorOutlineSortFilterProxyModel.filterAcceptsRow</h4> |
|
328 <b>filterAcceptsRow</b>(<i>_source_row, _source_parent</i>) |
|
329 <p> |
|
330 Public method to filter rows. |
|
331 </p> |
|
332 <p> |
|
333 This overrides the filtering of the parent class by always accept |
|
334 the row. |
|
335 </p> |
|
336 |
|
337 <dl> |
|
338 |
|
339 <dt><i>_source_row</i> (int)</dt> |
|
340 <dd> |
|
341 row number (in the source model) of item |
|
342 </dd> |
|
343 <dt><i>_source_parent</i> (QModelIndex)</dt> |
|
344 <dd> |
|
345 index of parent item (in the source model) |
|
346 of item |
|
347 </dd> |
|
348 </dl> |
|
349 <dl> |
|
350 <dt>Return:</dt> |
|
351 <dd> |
|
352 flag indicating, if the item should be shown |
|
353 </dd> |
|
354 </dl> |
|
355 <dl> |
|
356 <dt>Return Type:</dt> |
|
357 <dd> |
|
358 bool |
|
359 </dd> |
|
360 </dl> |
|
361 <div align="right"><a href="#top">Up</a></div> |
|
362 <hr /> |
271 </body></html> |
363 </body></html> |