QGIS API Documentation
2.0.1-Dufour
|
#include <qgsattributedialog.h>
Public Slots | |
void | accept () |
int | exec () |
void | show () |
void | dialogDestroyed () |
Public Member Functions | |
QgsAttributeDialog (QgsVectorLayer *vl, QgsFeature *thepFeature, bool featureOwner, QgsDistanceArea myDa, QWidget *parent=0, bool showDialogButtons=true) | |
~QgsAttributeDialog () | |
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. | |
void | setHighlight (QgsHighlight *h) |
QDialog * | dialog () |
QgsFeature * | feature () |
Protected Member Functions | |
bool | eventFilter (QObject *obj, QEvent *event) |
Private Attributes | |
QDialog * | mDialog |
QString | mSettingsPath |
QMap< int, QWidget * > | mProxyWidgets |
QgsVectorLayer * | mLayer |
QgsFeature * | mFeature |
bool | mFeatureOwner |
QgsHighlight * | mHighlight |
int | mFormNr |
bool | mShowDialogButtons |
QString | mReturnvarname |
Static Private Attributes | |
static int | smFormCounter = 0 |
Definition at line 30 of file qgsattributedialog.h.
QgsAttributeDialog::QgsAttributeDialog | ( | QgsVectorLayer * | vl, |
QgsFeature * | thepFeature, | ||
bool | featureOwner, | ||
QgsDistanceArea | myDa, | ||
QWidget * | parent = 0 , |
||
bool | showDialogButtons = true |
||
) |
Definition at line 47 of file qgsattributedialog.cpp.
References accept(), QgsAttributeEditorElement::AeTypeContainer, QgsVectorLayer::attributeAlias(), QgsVectorLayer::attributeDisplayName(), QgsVectorLayer::attributeEditorElements(), QgsFeature::attributes(), QgsFields::count(), QgsAttributeEditor::createAttributeEditor(), QgsAttributeEditor::createWidgetFromDef(), QgsMapLayer::crs(), QgsVectorLayer::dataProvider(), QgsVectorLayer::dateFormat(), dialogDestroyed(), QgsVectorLayer::editForm(), QgsVectorLayer::editFormInit(), QgsVectorLayer::editorLayout(), QgsVectorLayer::editType(), QgsExpression::evalErrorString(), QgsExpression::evaluate(), feature(), QgsVectorLayer::fieldEditable(), file, GEO_NONE, QgsFeature::geometry(), QgsVectorLayer::getFeatures(), QgsExpression::hasEvalError(), QgsExpression::hasParserError(), QgsMapLayer::id(), QgsFeature::id(), QgsVectorLayer::Immutable, QgsProject::instance(), QgsVectorLayer::isEditable(), QgsFields::isEmpty(), QgsVectorLayer::labelOnTop(), mDialog, mFeature, mFormNr, mProxyWidgets, mReturnvarname, mShowDialogButtons, QgsAttributeEditorElement::name(), QgsMapLayer::name(), QgsExpression::needsGeometry(), QgsFeatureIterator::nextFeature(), QgsVectorLayer::pendingFields(), QgsVectorLayer::Photo, QgsDebugMsg, restoreGeometry(), QgsPythonRunner::run(), QgsDistanceArea::setEllipsoid(), QgsDistanceArea::setEllipsoidalMode(), QgsExpression::setGeomCalculator(), QgsFeature::setGeometry(), QgsDistanceArea::setSourceCrs(), smFormCounter, QgsCoordinateReferenceSystem::srsid(), QgsVectorLayer::TabLayout, tr, QgsField::type(), QgsAttributeEditorElement::type(), QgsVectorLayer::UiFileLayout, and QgsVectorLayer::WebView.
QgsAttributeDialog::~QgsAttributeDialog | ( | ) |
Definition at line 446 of file qgsattributedialog.cpp.
References QgsVectorLayer::editorLayout(), mDialog, mFeature, mFeatureOwner, mHighlight, mLayer, saveGeometry(), and QgsVectorLayer::UiFileLayout.
|
slot |
Definition at line 471 of file qgsattributedialog.cpp.
References QgsFields::count(), QgsVectorLayer::isEditable(), mFeature, mLayer, mProxyWidgets, QgsVectorLayer::pendingFields(), QgsAttributeEditor::retrieveValue(), and QgsFeature::setAttribute().
Referenced by QgsDualView::attributeAdded(), QgsDualView::attributeDeleted(), QgsAttributeDialog(), QgsDualView::reloadAttribute(), and QgsDualView::saveEditChanges().
|
inline |
Definition at line 50 of file qgsattributedialog.h.
Referenced by QgsDualView::attributeAdded(), QgsDualView::attributeDeleted(), QgsDualView::editingToggled(), QgsDualView::featureDeleted(), QgsDualView::init(), QgsDualView::on_mFeatureList_currentEditSelectionChanged(), QgsDualView::reloadAttribute(), and QgsDualView::saveEditChanges().
|
slot |
Definition at line 541 of file qgsattributedialog.cpp.
References mDialog, mFormNr, mLayer, mReturnvarname, and QgsPythonRunner::run().
Referenced by QgsAttributeDialog().
|
protected |
Definition at line 563 of file qgsattributedialog.cpp.
References mDialog, and mHighlight.
|
slot |
Definition at line 487 of file qgsattributedialog.cpp.
References mDialog, and QgsDebugMsg.
|
inline |
Definition at line 52 of file qgsattributedialog.h.
Referenced by QgsDualView::attributeAdded(), QgsDualView::attributeDeleted(), QgsDualView::editingToggled(), QgsDualView::featureDeleted(), QgsAttributeDialog(), QgsDualView::reloadAttribute(), and QgsDualView::saveEditChanges().
void QgsAttributeDialog::restoreGeometry | ( | ) |
Restores the size and position from the last time this dialog box was used.
Definition at line 521 of file qgsattributedialog.cpp.
References mDialog, and mSettingsPath.
Referenced by QgsAttributeDialog().
void QgsAttributeDialog::saveGeometry | ( | ) |
Saves the size and position for the next time this dialog box was used.
Definition at line 512 of file qgsattributedialog.cpp.
References mDialog, and mSettingsPath.
Referenced by ~QgsAttributeDialog().
void QgsAttributeDialog::setHighlight | ( | QgsHighlight * | h | ) |
Definition at line 530 of file qgsattributedialog.cpp.
References mHighlight.
|
slot |
Definition at line 500 of file qgsattributedialog.cpp.
References mDialog.
|
private |
Definition at line 66 of file qgsattributedialog.h.
Referenced by dialogDestroyed(), eventFilter(), exec(), QgsAttributeDialog(), restoreGeometry(), saveGeometry(), show(), and ~QgsAttributeDialog().
|
private |
Definition at line 71 of file qgsattributedialog.h.
Referenced by accept(), QgsAttributeDialog(), and ~QgsAttributeDialog().
|
private |
Definition at line 72 of file qgsattributedialog.h.
Referenced by ~QgsAttributeDialog().
|
private |
Definition at line 74 of file qgsattributedialog.h.
Referenced by dialogDestroyed(), and QgsAttributeDialog().
|
private |
Definition at line 73 of file qgsattributedialog.h.
Referenced by eventFilter(), setHighlight(), and ~QgsAttributeDialog().
|
private |
Definition at line 70 of file qgsattributedialog.h.
Referenced by accept(), dialogDestroyed(), and ~QgsAttributeDialog().
|
private |
Definition at line 69 of file qgsattributedialog.h.
Referenced by accept(), and QgsAttributeDialog().
|
private |
Definition at line 77 of file qgsattributedialog.h.
Referenced by dialogDestroyed(), and QgsAttributeDialog().
|
private |
Definition at line 67 of file qgsattributedialog.h.
Referenced by restoreGeometry(), and saveGeometry().
|
private |
Definition at line 76 of file qgsattributedialog.h.
Referenced by QgsAttributeDialog().
|
staticprivate |
Definition at line 75 of file qgsattributedialog.h.
Referenced by QgsAttributeDialog().