17 #ifndef QGSATTRIBUTEDIALOG_H 18 #define QGSATTRIBUTEDIALOG_H 28 #include <QGridLayout> 74 bool editable() {
return mAttributeForm->editable(); }
97 bool event( QEvent *e )
override;
100 void accept()
override;
101 void reject()
override;
109 QString mSettingsPath;
113 bool mShowDialogButtons;
114 QString mReturnvarname;
125 static int sFormCounter;
126 static QString sSettingsPath;
This class contains context information for attribute editor widgets.
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
bool editable()
Is this dialog editable?
void saveGeometry(QWidget *widget, const QString &keyName)
Save the wigget geometry into settings.
void setEditCommandMessage(const QString &message)
Sets the edit command message (Undo) that will be used when the dialog is accepted.
bool restoreGeometry(QWidget *widget, const QString &keyName)
Restore the wigget geometry from settings.
A class for highlight features on the map.
QgsAttributeForm * attributeForm()
A general purpose distance and area calculator, capable of performing ellipsoid based calculations...
const QgsFeature * feature()
Represents a vector layer which manages a vector based data sets.