QGIS API Documentation  3.26.3-Buenos Aires (65e4edfdad)
Public Member Functions | List of all members
QgsLocatorProxyModel Class Reference

A sort proxy model for QgsLocatorModel, which automatically sorts results by precedence. More...

#include <qgslocatormodel.h>

Inheritance diagram for QgsLocatorProxyModel:
Inheritance graph
[legend]

Public Member Functions

 QgsLocatorProxyModel (QObject *parent=nullptr)
 Constructor for QgsLocatorProxyModel, with the specified parent object. More...
 
bool lessThan (const QModelIndex &left, const QModelIndex &right) const override
 

Detailed Description

A sort proxy model for QgsLocatorModel, which automatically sorts results by precedence.

Since
QGIS 3.0

Definition at line 191 of file qgslocatormodel.h.

Constructor & Destructor Documentation

◆ QgsLocatorProxyModel()

QgsLocatorProxyModel::QgsLocatorProxyModel ( QObject *  parent = nullptr)
explicit

Constructor for QgsLocatorProxyModel, with the specified parent object.

Definition at line 324 of file qgslocatormodel.cpp.

Member Function Documentation

◆ lessThan()

bool QgsLocatorProxyModel::lessThan ( const QModelIndex &  left,
const QModelIndex &  right 
) const
override

Definition at line 333 of file qgslocatormodel.cpp.


The documentation for this class was generated from the following files: