eric4.Project.ProjectBrowserSortFilterProxyModel
Module implementing the browser sort filter proxy model.
Classes
Functions
ProjectBrowserSortFilterProxyModel
Class implementing the browser sort filter proxy model.
Derived from
BrowserSortFilterProxyModel
Methods
ProjectBrowserSortFilterProxyModel (Constructor)
ProjectBrowserSortFilterProxyModel(filterType, parent = None)
Constructor
- filterType
-
type of filter to apply
- parent
-
reference to the parent object (QObject)
ProjectBrowserSortFilterProxyModel.filterAcceptsRow
filterAcceptsRow(source_row, source_parent)
Protected method to filter rows.
It implements a filter to suppress the display of non public
classes, methods and attributes.
- source_row
-
row number (in the source model) of item (integer)
- source_parent
-
index of parent item (in the source model)
of item (QModelIndex)
- Returns:
-
flag indicating, if the item should be shown (boolean)