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 );