23#ifndef QGSATTRIBUTEACTIONDIALOG_H
24#define QGSATTRIBUTEACTIONDIALOG_H
28#include "ui_qgsattributeactiondialogbase.h"
60 EnabledOnlyWhenEditable
66 ActionType = Qt::UserRole,
67 ActionId = Qt::UserRole + 1
75 QList<QgsAction>
actions()
const;
87 void addDefaultActions();
88 void itemDoubleClicked( QTableWidgetItem *item );
92 void insertRow(
int row,
const QgsAction &action );
93 void insertRow(
int row,
Qgis::AttributeActionType type,
const QString &name,
const QString &actionText,
const QString &iconPath,
bool capture,
const QString &shortTitle,
const QSet<QString> &actionScopes,
const QString ¬ificationMessage,
bool isEnabledOnlyWhenEditable =
false );
94 void swapRows(
int row1,
int row2 );
99 void rowSelected(
int row );
101 QString uniqueName( QString name );
AttributeActionType
Attribute action types.
Storage and management of actions associated with a layer.
Utility class that encapsulates an action based on vector attributes.
void init(const QgsActionManager &action, const QgsAttributeTableConfig &attributeTableConfig)
bool showWidgetInAttributeTable() const
QgsAttributeActionDialog(const QgsActionManager &actions, QWidget *parent=nullptr)
QList< QgsAction > actions() const
QgsAttributeTableConfig::ActionWidgetStyle attributeTableWidgetStyle() const
A container for configuration of the attribute table.
ActionWidgetStyle
The style of the action widget in the attribute table.
Represents a vector layer which manages a vector based dataset.