17 #ifndef QGSATTRIBUTEDIALOG_H
18 #define QGSATTRIBUTEDIALOG_H
28 #include <QGridLayout>
74 bool editable() {
return mAttributeForm->editable(); }
97 bool event( QEvent *e )
override;
110 void accept()
override;
111 void reject()
override;
119 QString mSettingsPath;
123 bool mShowDialogButtons;
124 QString mReturnvarname;
135 QMenuBar *mMenuBar =
nullptr;
137 static int sFormCounter;
139 bool mFirstShow =
true;
const QgsFeature * feature()
void setEditCommandMessage(const QString &message)
Sets the edit command message (Undo) that will be used when the dialog is accepted.
QgsAttributeForm * attributeForm()
bool editable()
Is this dialog editable?
This class 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...
A class for highlight 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 data sets.
bool restoreGeometry(QWidget *widget, const QString &keyName)
Restore the wigget geometry from settings.
void saveGeometry(QWidget *widget, const QString &keyName)
Save the wigget geometry into settings.