Skip to content

Class QfLocatorActionsModel

ClassList > QfLocatorActionsModel

More...

  • #include <qflocatormodelsuperbridge.h>

Inherits the following classes: QStandardItemModel

Public Types

Type Name
enum ActionRoles

Public Functions

Type Name
QfLocatorActionsModel (QObject * parent=nullptr)
QfLocatorActionsModel (int rows, int columns, QObject * parent=nullptr)
QHash< int, QByteArray > roleNames () override const

Detailed Description

QfLocatorActionsModel is a model used to dislay additional actions from the result of a filter. These are displayed as contextual menu in QGIS while they are shown in a row of buttons in QField.

Public Types Documentation

enum ActionRoles

enum QfLocatorActionsModel::ActionRoles {
    IdRole = Qt::UserRole + 1,
    IconPathRole
};

Public Functions Documentation

function QfLocatorActionsModel [1/2]

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

function QfLocatorActionsModel [2/2]

QfLocatorActionsModel::QfLocatorActionsModel (
    int rows,
    int columns,
    QObject * parent=nullptr
) 

function roleNames

QHash< int, QByteArray > QfLocatorActionsModel::roleNames () override const


The documentation for this class was generated from the following file src/core/locator/qflocatormodelsuperbridge.h