QGIS API Documentation 3.41.0-Master (45a0abf3bec)
Loading...
Searching...
No Matches
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.
 
bool lessThan (const QModelIndex &left, const QModelIndex &right) const override
 

Detailed Description

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

Definition at line 212 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 345 of file qgslocatormodel.cpp.

Member Function Documentation

◆ lessThan()

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

Definition at line 354 of file qgslocatormodel.cpp.


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