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

Inheritance diagram of qgis.core.QgsNewsFeedProxyModel

Base classes

QSortFilterProxyModel

QAbstractProxyModel

QAbstractItemModel

QObject

class qgis.core.QgsNewsFeedProxyModel[source]

Bases: QSortFilterProxyModel

__init__(parser: QgsNewsFeedParser | None, parent: QObject | None = None)

Constructor for QgsNewsFeedProxyModel, with the specified parent object.

The parser argument must specify a valid QgsNewsFeedParser object, which must exist for the lifetime of this model.

Parameters: