16 #ifndef QGSATTRIBUTEFORM_H 17 #define QGSATTRIBUTEFORM_H 25 #include <QDialogButtonBox> 53 void disconnectButtonBox();
82 void setIsAddDialog(
bool isAddDialog );
99 bool eventFilter( QObject*
object, QEvent* event )
override;
108 void attributeChanged( QString attribute,
const QVariant& value );
118 void beforeSave(
bool& ok );
123 void featureSaved(
const QgsFeature& feature );
132 void changeAttribute(
const QString& field,
const QVariant& value );
153 Q_DECL_DEPRECATED
void accept() { save(); }
160 Q_DECL_DEPRECATED
void reject() { resetValues(); }
170 void refreshFeature();
173 void onAttributeChanged(
const QVariant& value );
174 void onAttributeAdded(
int idx );
175 void onAttributeDeleted(
int idx );
177 void synchronizeEnabledState();
194 void createWrappers();
195 void connectWrappers();
199 QList<QgsWidgetWrapper*> mWidgets;
201 QDialogButtonBox* mButtonBox;
202 QList<QgsAttributeFormInterface*> mInterfaces;
205 static int sFormCounter;
207 QString mPyFormVarName;
213 QString mEditCommandMessage;
216 #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.