QgsAttributeDialog Class Reference

#include <qgsattributedialog.h>

Collaboration diagram for QgsAttributeDialog:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 32 of file qgsattributedialog.h.

Public Slots

void selectFileName ()

Public Member Functions

 QgsAttributeDialog (QgsVectorLayer *vl, QgsFeature *thepFeature)
 ~QgsAttributeDialog ()
void accept ()
 Overloaded accept method which will write the feature field values, then delegate to QDialog::accept().
void saveGeometry ()
 Saves the size and position for the next time this dialog box was used.
void restoreGeometry ()
 Restores the size and position from the last time this dialog box was used.

Private Attributes

QString mSettingsPath
QList< QWidget * > mpWidgets
QgsVectorLayermLayer
QgsFeaturempFeature


Constructor & Destructor Documentation

QgsAttributeDialog::QgsAttributeDialog ( QgsVectorLayer vl,
QgsFeature thepFeature 
)

Definition at line 42 of file qgsattributedialog.cpp.

References QgsFeature::attributeMap(), QgsVectorLayer::Classification, QgsUniqueValueRenderer::classificationField(), QgsVectorLayer::dataProvider(), QgsVectorLayer::EditRange, QgsVectorLayer::editType(), QgsVectorLayer::FileName, QgsVectorLayer::LineEdit, MathUtils::max(), MathUtils::min(), mLayer, mpFeature, mpWidgets, name(), QgsVectorLayer::pendingFields(), QgsVectorLayer::range(), QgsVectorLayer::renderer(), restoreGeometry(), selectFileName(), QgsVectorLayer::SliderRange, QgsUniqueValueRenderer::symbols(), QgsVectorDataProvider::uniqueValues(), QgsVectorLayer::UniqueValues, QgsVectorLayer::UniqueValuesEditable, QgsVectorLayer::valueMap(), and QgsVectorLayer::ValueMap.

QgsAttributeDialog::~QgsAttributeDialog (  ) 

Definition at line 296 of file qgsattributedialog.cpp.

References saveGeometry().


Member Function Documentation

void QgsAttributeDialog::accept (  ) 

Overloaded accept method which will write the feature field values, then delegate to QDialog::accept().

Definition at line 322 of file qgsattributedialog.cpp.

References QgsFeature::attributeMap(), QgsFeature::changeAttribute(), QgsVectorLayer::Classification, QgsVectorLayer::editType(), mLayer, mpFeature, mpWidgets, QgsVectorLayer::pendingFields(), QgsVectorLayer::UniqueValues, and QgsVectorLayer::ValueMap.

void QgsAttributeDialog::saveGeometry (  ) 

Saves the size and position for the next time this dialog box was used.

Definition at line 429 of file qgsattributedialog.cpp.

References mSettingsPath.

Referenced by ~QgsAttributeDialog().

void QgsAttributeDialog::restoreGeometry (  ) 

Restores the size and position from the last time this dialog box was used.

Definition at line 435 of file qgsattributedialog.cpp.

References mSettingsPath.

Referenced by QgsAttributeDialog().

void QgsAttributeDialog::selectFileName (  )  [slot]

Definition at line 301 of file qgsattributedialog.cpp.

Referenced by QgsAttributeDialog().


Member Data Documentation

QString QgsAttributeDialog::mSettingsPath [private]

Definition at line 57 of file qgsattributedialog.h.

Referenced by restoreGeometry(), and saveGeometry().

QList<QWidget *> QgsAttributeDialog::mpWidgets [private]

Definition at line 58 of file qgsattributedialog.h.

Referenced by accept(), and QgsAttributeDialog().

QgsVectorLayer* QgsAttributeDialog::mLayer [private]

Definition at line 59 of file qgsattributedialog.h.

Referenced by accept(), and QgsAttributeDialog().

QgsFeature* QgsAttributeDialog::mpFeature [private]

Definition at line 60 of file qgsattributedialog.h.

Referenced by accept(), and QgsAttributeDialog().


The documentation for this class was generated from the following files:
Generated on Tue Oct 28 16:51:54 2008 for Quantum GIS API Documentation by  doxygen 1.5.1