Class LocatorActionsModel
ClassList > LocatorActionsModel
#include <locatormodelsuperbridge.h>
Inherits the following classes: QStandardItemModel
Public Types
| Type | Name |
|---|---|
| enum | ActionRoles |
Public Functions
| Type | Name |
|---|---|
| LocatorActionsModel (QObject * parent=nullptr) |
|
| LocatorActionsModel (int rows, int columns, QObject * parent=nullptr) |
|
| QHash< int, QByteArray > | roleNames () override const |
Detailed Description
LocatorActionsModel 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 LocatorActionsModel::ActionRoles {
IdRole = Qt::UserRole + 1,
IconPathRole
};
Public Functions Documentation
function LocatorActionsModel [1/2]
explicit LocatorActionsModel::LocatorActionsModel (
QObject * parent=nullptr
)
function LocatorActionsModel [2/2]
LocatorActionsModel::LocatorActionsModel (
int rows,
int columns,
QObject * parent=nullptr
)
function roleNames
QHash< int, QByteArray > LocatorActionsModel::roleNames () override const
The documentation for this class was generated from the following file src/core/locator/locatormodelsuperbridge.h