17 #ifndef QGSATTRIBUTEDIALOG_H
18 #define QGSATTRIBUTEDIALOG_H
78 void restoreGeometry();
86 QDialog *
dialog() {
return mDialog; }
97 bool editable() {
return mAttributeForm->editable(); }
106 void setIsAddDialog(
bool isAddDialog ) { mAttributeForm->setIsAddDialog( isAddDialog ); }
126 bool eventFilter( QObject *obj, QEvent *e );
129 void onDialogFinished(
int result );
QgsAttributeForm * mAttributeForm
This class contains context information for attribute editor widgets.
QgsHighlight * mHighlight
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
bool editable()
Is this dialog editable?
void setEditCommandMessage(const QString &message)
Sets the edit command message (Undo) that will be used when the dialog is accepted.
A class for highlight features on the map.
static QString sSettingsPath
Encapsulate a field in an attribute table or data source.
QgsAttributeForm * attributeForm()
void setIsAddDialog(bool isAddDialog)
Toggles the form mode between edit feature and add feature.
QPointer< QDialog > mDialog
General purpose distance and area calculator.
const QgsFeature * feature()
Represents a vector layer which manages a vector based data sets.