Class: QgsNewsFeedProxyModel¶
A proxy model for use with QgsNewsFeedModel.
QgsNewsFeedProxyModel applies custom sorting to the entries
in a QgsNewsFeedModel.
Added in version 3.10.
Class Hierarchy¶
Base classes¶
- class qgis.core.QgsNewsFeedProxyModel[source]¶
 Bases:
QSortFilterProxyModel- __init__(parser: QgsNewsFeedParser | None, parent: QObject | None = None)
 Constructor for QgsNewsFeedProxyModel, with the specified
parentobject.The
parserargument must specify a validQgsNewsFeedParserobject, which must exist for the lifetime of this model.- Parameters:
 parser (Optional[QgsNewsFeedParser])
parent (Optional[QObject] = None)