QGIS API Documentation
2.2.0-Valmiera
|
#include <qgsrelationmanagerdialog.h>
Public Slots | |
void | on_mBtnAddRelation_clicked () |
void | on_mBtnRemoveRelation_clicked () |
Public Member Functions | |
QgsRelationManagerDialog (QgsRelationManager *relationMgr, QWidget *parent=0) | |
~QgsRelationManagerDialog () | |
void | setLayers (QList< QgsVectorLayer * >) |
void | addRelation (const QgsRelation &rel) |
QList< QgsRelation > | relations () |
Private Attributes | |
QgsRelationManager * | mRelationManager |
QList< QgsVectorLayer * > | mLayers |
Definition at line 27 of file qgsrelationmanagerdialog.h.
|
explicit |
Definition at line 21 of file qgsrelationmanagerdialog.cpp.
QgsRelationManagerDialog::~QgsRelationManagerDialog | ( | ) |
Definition at line 29 of file qgsrelationmanagerdialog.cpp.
void QgsRelationManagerDialog::addRelation | ( | const QgsRelation & | rel | ) |
Definition at line 45 of file qgsrelationmanagerdialog.cpp.
References QgsRelation::fieldPairs(), QgsRelation::id(), QgsMapLayer::name(), QgsRelation::name(), QgsRelation::referencedLayer(), and QgsRelation::referencingLayer().
Referenced by on_mBtnAddRelation_clicked(), and setLayers().
|
slot |
Definition at line 77 of file qgsrelationmanagerdialog.cpp.
References QgsRelation::addFieldPair(), QgsRelationAddDlg::addLayers(), addRelation(), QgsRelation::id(), mLayers, QgsRelationAddDlg::referencedLayerId(), QgsRelationAddDlg::references(), QgsRelationAddDlg::referencingLayerId(), QgsRelationAddDlg::relationId(), QgsRelationAddDlg::relationName(), relations(), QgsRelation::setReferencedLayer(), QgsRelation::setReferencingLayer(), QgsRelation::setRelationId(), and QgsRelation::setRelationName().
|
slot |
Definition at line 119 of file qgsrelationmanagerdialog.cpp.
QList< QgsRelation > QgsRelationManagerDialog::relations | ( | ) |
Definition at line 125 of file qgsrelationmanagerdialog.cpp.
References QgsRelation::setRelationName().
Referenced by on_mBtnAddRelation_clicked(), and setLayers().
void QgsRelationManagerDialog::setLayers | ( | QList< QgsVectorLayer * > | layers | ) |
Definition at line 33 of file qgsrelationmanagerdialog.cpp.
References addRelation(), mLayers, mRelationManager, relations(), and QgsRelationManager::relations().
|
private |
Definition at line 46 of file qgsrelationmanagerdialog.h.
Referenced by on_mBtnAddRelation_clicked(), and setLayers().
|
private |
Definition at line 45 of file qgsrelationmanagerdialog.h.
Referenced by setLayers().