17#ifndef QGSATTRIBUTEDIALOG_H
18#define QGSATTRIBUTEDIALOG_H
80 bool editable()
const {
return mAttributeForm->editable(); }
103 bool event( QEvent *e )
override;
105 void showEvent( QShowEvent *event )
override;
118 void accept()
override;
119 void reject()
override;
127 QString mSettingsPath;
130 QString mReturnvarname;
138 QMenuBar *mMenuBar =
nullptr;
140 static int sFormCounter;
142 bool mFirstShow =
true;
144 void restoreGeometry();
QgsAttributeForm * attributeForm() const
Returns the attribute form.
const QgsFeature * feature() const
Returns the current feature of the attribute form.
void setEditCommandMessage(const QString &message)
Sets the edit command message (Undo) that will be used when the dialog is accepted.
bool editable() const
Is this dialog editable?
void setHighlight(QgsHighlight *h)
setHighlight
QgsAttributeDialog(QgsVectorLayer *vl, QgsFeature *thepFeature, bool featureOwner, QWidget *parent=nullptr, bool showDialogButtons=true, const QgsAttributeEditorContext &context=QgsAttributeEditorContext())
Create an attribute dialog for a given layer and feature.
Contains context information for attribute editor widgets.
Single scope for storing variables and functions for use within a QgsExpressionContext.
The feature class encapsulates a single feature including its unique ID, geometry and a list of field...
Highlights features on the map.
An interface for objects which can create a QgsMapLayerActionContext.
virtual QgsMapLayerActionContext createActionContext()=0
Creates a QgsMapLayerActionContext.
Encapsulates the context in which a QgsMapLayerAction action is executed.
A bar for displaying non-blocking messages to the user.
Represents a vector layer which manages a vector based dataset.