eric6.Project.ProjectBrowserSortFilterProxyModel
Module implementing the browser sort filter proxy model.
Global Attributes
Classes
Functions
ProjectBrowserSortFilterProxyModel
Class implementing the browser sort filter proxy model.
Derived from
BrowserSortFilterProxyModel
Class Attributes
Class Methods
Methods
Static 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)
Public 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)
ProjectBrowserSortFilterProxyModel.preferencesChanged
preferencesChanged()
Public slot called to handle a change of the preferences settings.