16 #ifndef QGSATTRIBUTEFORM_H
17 #define QGSATTRIBUTEFORM_H
21 #include "qgseditorwidgetwrapper.h"
25 #include <QDialogButtonBox>
76 void setIsAddDialog(
bool isAddDialog );
93 bool eventFilter( QObject*
object, QEvent* event );
102 void attributeChanged( QString attribute,
const QVariant& value );
112 void beforeSave(
bool& ok );
117 void featureSaved(
const QgsFeature& feature );
126 void changeAttribute(
const QString& field,
const QVariant& value );
147 Q_DECL_DEPRECATED
void accept() { save(); }
154 Q_DECL_DEPRECATED
void reject() { resetValues(); }
162 void onAttributeChanged(
const QVariant& value );
163 void onAttributeAdded(
int idx );
164 void onAttributeDeleted(
int idx );
166 void synchronizeEnabledState();
181 void createWrappers();
182 void connectWrappers();
203 #endif // QGSATTRIBUTEFORM_H
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...
Represents a vector layer which manages a vector based data sets.