#include <qgsattributedialog.h>
Collaboration diagram for QgsAttributeDialog:

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 |
| QgsVectorLayer * | mLayer |
| QgsFeature * | mpFeature |
| 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 | ( | ) |
| 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] |
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().
1.5.1