23 #ifndef QGSATTRIBUTEACTIONDIALOG_H
24 #define QGSATTRIBUTEACTIONDIALOG_H
29 #include "ui_qgsattributeactiondialogbase.h"
55 EnabledOnlyWhenEditable
61 ActionType = Qt::UserRole,
62 ActionId = Qt::UserRole + 1
67 QWidget *parent =
nullptr );
71 QList<QgsAction> actions()
const;
73 bool showWidgetInAttributeTable()
const;
82 void addDefaultActions();
83 void itemDoubleClicked( QTableWidgetItem *item );
87 void insertRow(
int row,
const QgsAction &action );
88 void insertRow(
int row,
QgsAction::ActionType 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 );
89 void swapRows(
int row1,
int row2 );
94 void rowSelected(
int row );
96 QString uniqueName( QString name );
Storage and management of actions associated with a layer.
Utility class that encapsulates an action based on vector attributes.
This is 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 data sets.