23#ifndef QGSATTRIBUTEACTIONDIALOG_H
24#define QGSATTRIBUTEACTIONDIALOG_H
29#include "ui_qgsattributeactiondialogbase.h"
59 EnabledOnlyWhenEditable
65 ActionType = Qt::UserRole,
66 ActionId = Qt::UserRole + 1
74 QList<QgsAction>
actions()
const;
86 void addDefaultActions();
87 void itemDoubleClicked( QTableWidgetItem *item );
91 void insertRow(
int row,
const QgsAction &action );
92 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 );
93 void swapRows(
int row1,
int row2 );
98 void rowSelected(
int row );
100 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.