17 #ifndef QGSATTRIBUTEDIALOG_H
18 #define QGSATTRIBUTEDIALOG_H
26 #include <QGridLayout>
103 bool editable() {
return mAttributeForm->editable(); }
112 void setIsAddDialog(
bool isAddDialog ) { mAttributeForm->setIsAddDialog( isAddDialog ); }
126 void show(
bool autoDelete =
true );
135 bool mShowDialogButtons;
143 static int sFormCounter;
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 setEditCommandMessage(const QString &message)
Sets the edit command message (Undo) that will be used when the dialog is accepted.
Q_DECL_DEPRECATED QDialog * dialog()
Returns reference to self.
A class for highlight features on the map.
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.
General purpose distance and area calculator.
const QgsFeature * feature()
Represents a vector layer which manages a vector based data sets.