QGIS API Documentation 3.27.0-Master (95e00c50d2)
Public Member Functions | List of all members
QgsAttributeActionPropertiesDialog Class Reference

#include <qgsattributeactionpropertiesdialog.h>

Inheritance diagram for QgsAttributeActionPropertiesDialog:
Inheritance graph
[legend]

Public Member Functions

 QgsAttributeActionPropertiesDialog (QgsAction::ActionType type, const QString &description, const QString &shortTitle, const QString &iconPath, const QString &actionText, bool capture, const QSet< QString > &actionScopes, const QString &notificationMessage, bool isEnabledOnlyWhenEditable, QgsVectorLayer *layer, QWidget *parent=nullptr)
 
 QgsAttributeActionPropertiesDialog (QgsVectorLayer *layer, QWidget *parent=nullptr)
 
QSet< QString > actionScopes () const
 
QString actionText () const
 
bool capture () const
 
QgsExpressionContext createExpressionContext () const override
 This method needs to be reimplemented in all classes which implement this interface and return an expression context. More...
 
QString description () const
 
QString iconPath () const
 
bool isEnabledOnlyWhenEditable () const
 
QString notificationMessage () const
 
QString shortTitle () const
 
QgsAction::ActionType type () const
 
- Public Member Functions inherited from QgsExpressionContextGenerator
virtual ~QgsExpressionContextGenerator ()=default
 
virtual QgsExpressionContext createExpressionContext () const =0
 This method needs to be reimplemented in all classes which implement this interface and return an expression context. More...
 

Detailed Description

Definition at line 35 of file qgsattributeactionpropertiesdialog.h.

Constructor & Destructor Documentation

◆ QgsAttributeActionPropertiesDialog() [1/2]

QgsAttributeActionPropertiesDialog::QgsAttributeActionPropertiesDialog ( QgsAction::ActionType  type,
const QString &  description,
const QString &  shortTitle,
const QString &  iconPath,
const QString &  actionText,
bool  capture,
const QSet< QString > &  actionScopes,
const QString &  notificationMessage,
bool  isEnabledOnlyWhenEditable,
QgsVectorLayer layer,
QWidget *  parent = nullptr 
)

Definition at line 34 of file qgsattributeactionpropertiesdialog.cpp.

◆ QgsAttributeActionPropertiesDialog() [2/2]

QgsAttributeActionPropertiesDialog::QgsAttributeActionPropertiesDialog ( QgsVectorLayer layer,
QWidget *  parent = nullptr 
)

Definition at line 53 of file qgsattributeactionpropertiesdialog.cpp.

Member Function Documentation

◆ actionScopes()

QSet< QString > QgsAttributeActionPropertiesDialog::actionScopes ( ) const

Definition at line 93 of file qgsattributeactionpropertiesdialog.cpp.

◆ actionText()

QString QgsAttributeActionPropertiesDialog::actionText ( ) const

Definition at line 88 of file qgsattributeactionpropertiesdialog.cpp.

◆ capture()

bool QgsAttributeActionPropertiesDialog::capture ( ) const

Definition at line 117 of file qgsattributeactionpropertiesdialog.cpp.

◆ createExpressionContext()

QgsExpressionContext QgsAttributeActionPropertiesDialog::createExpressionContext ( ) const
overridevirtual

This method needs to be reimplemented in all classes which implement this interface and return an expression context.

Since
QGIS 3.0

Implements QgsExpressionContextGenerator.

Definition at line 122 of file qgsattributeactionpropertiesdialog.cpp.

◆ description()

QString QgsAttributeActionPropertiesDialog::description ( ) const

Definition at line 73 of file qgsattributeactionpropertiesdialog.cpp.

◆ iconPath()

QString QgsAttributeActionPropertiesDialog::iconPath ( ) const

Definition at line 83 of file qgsattributeactionpropertiesdialog.cpp.

◆ isEnabledOnlyWhenEditable()

bool QgsAttributeActionPropertiesDialog::isEnabledOnlyWhenEditable ( ) const

Definition at line 112 of file qgsattributeactionpropertiesdialog.cpp.

◆ notificationMessage()

QString QgsAttributeActionPropertiesDialog::notificationMessage ( ) const

Definition at line 107 of file qgsattributeactionpropertiesdialog.cpp.

◆ shortTitle()

QString QgsAttributeActionPropertiesDialog::shortTitle ( ) const

Definition at line 78 of file qgsattributeactionpropertiesdialog.cpp.

◆ type()

QgsAction::ActionType QgsAttributeActionPropertiesDialog::type ( ) const

Definition at line 68 of file qgsattributeactionpropertiesdialog.cpp.


The documentation for this class was generated from the following files: