31 , mOwnedFeature( featureOwner ? thepFeature : 0 )
36 init( vl, thepFeature, context, parent );
38 if ( !showDialogButtons )
45 , mOwnedFeature( featureOwner ? thepFeature : 0 )
47 init( vl, thepFeature, context, parent );
49 if ( !showDialogButtons )
86 mAttributeForm->
save();
111 connect( layer, SIGNAL( layerDeleted() ),
this, SLOT(
close() ) );
114 if ( menu->
actions().size() > 0 )
void restoreGeometry()
Restores the size and position from the last time this dialog box was used.
This class contains context information for attribute editor widgets.
void saveGeometry()
Saves the size and position for the next time this dialog box will be used.
QgsAttributeDialog(QgsVectorLayer *vl, QgsFeature *thepFeature, bool featureOwner, const QgsDistanceArea &myDa, QWidget *parent=0, bool showDialogButtons=true)
Create an attribute dialog for a given layer and feature.
void setHighlight(QgsHighlight *h)
setHighlight
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
QString tr(const char *sourceText, const char *disambiguation, int n)
const QString & name() const
Get the display name of the layer.
void setValue(const QString &key, const QVariant &value)
A class for highlight features on the map.
void setDistanceArea(const QgsDistanceArea &distanceArea)
void setMargin(int margin)
General purpose distance and area calculator.
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
Represents a vector layer which manages a vector based data sets.
T findChild(const QString &name) const