QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
QgsRelationAddDlg Class Reference

#include <qgsrelationadddlg.h>

Inheritance diagram for QgsRelationAddDlg:
Inheritance graph
[legend]
Collaboration diagram for QgsRelationAddDlg:
Collaboration graph
[legend]

Public Member Functions

 QgsRelationAddDlg (QWidget *parent=0)
 
void addLayers (QList< QgsVectorLayer * > layers)
 
QString referencingLayerId ()
 
QString referencedLayerId ()
 
QList< QPair< QString, QString > > references ()
 
QString relationId ()
 
QString relationName ()
 

Private Slots

void on_mCbxReferencingLayer_currentIndexChanged (int index)
 
void on_mCbxReferencedLayer_currentIndexChanged (int index)
 

Private Member Functions

void loadLayerAttributes (QComboBox *cbx, QgsVectorLayer *layer)
 

Private Attributes

QMap< QString, QgsVectorLayer * > mLayers
 

Detailed Description

Definition at line 9 of file qgsrelationadddlg.h.

Constructor & Destructor Documentation

QgsRelationAddDlg::QgsRelationAddDlg ( QWidget *  parent = 0)
explicit

Definition at line 4 of file qgsrelationadddlg.cpp.

References tr.

Member Function Documentation

void QgsRelationAddDlg::addLayers ( QList< QgsVectorLayer * >  layers)
void QgsRelationAddDlg::loadLayerAttributes ( QComboBox *  cbx,
QgsVectorLayer layer 
)
private
void QgsRelationAddDlg::on_mCbxReferencedLayer_currentIndexChanged ( int  index)
privateslot

Definition at line 63 of file qgsrelationadddlg.cpp.

References loadLayerAttributes(), and mLayers.

void QgsRelationAddDlg::on_mCbxReferencingLayer_currentIndexChanged ( int  index)
privateslot

Definition at line 58 of file qgsrelationadddlg.cpp.

References loadLayerAttributes(), and mLayers.

QString QgsRelationAddDlg::referencedLayerId ( )
QList< QPair< QString, QString > > QgsRelationAddDlg::references ( )
QString QgsRelationAddDlg::referencingLayerId ( )
QString QgsRelationAddDlg::relationId ( )
QString QgsRelationAddDlg::relationName ( )

Member Data Documentation

QMap< QString, QgsVectorLayer* > QgsRelationAddDlg::mLayers
private

The documentation for this class was generated from the following files: