QGIS API Documentation  3.4.15-Madeira (e83d02e274)
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 189 of file qgslocatormodel.h.

Constructor & Destructor Documentation

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

Constructor for QgsLocatorProxyModel, with the specified parent object.

Definition at line 307 of file qgslocatormodel.cpp.

Member Function Documentation

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

Definition at line 316 of file qgslocatormodel.cpp.


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