QGIS API Documentation
2.2.0-Valmiera
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
src
gui
qgsrelationadddlg.h
Go to the documentation of this file.
1
#ifndef QGSRELATIONADDDLG_H
2
#define QGSRELATIONADDDLG_H
3
4
#include <QDialog>
5
#include "ui_qgsrelationadddlgbase.h"
6
7
class
QgsVectorLayer
;
8
9
class
QgsRelationAddDlg
:
public
QDialog,
private
Ui::QgsRelationAddDlgBase
10
{
11
Q_OBJECT
12
13
public
:
14
explicit
QgsRelationAddDlg
( QWidget *parent = 0 );
15
16
void
addLayers
( QList<QgsVectorLayer* > layers );
17
18
QString
referencingLayerId
();
19
QString
referencedLayerId
();
20
QList< QPair< QString, QString > >
references
();
21
QString
relationId
();
22
QString
relationName
();
23
24
25
private
slots:
26
void
on_mCbxReferencingLayer_currentIndexChanged
(
int
index
);
27
void
on_mCbxReferencedLayer_currentIndexChanged
(
int
index );
28
29
private
:
30
void
loadLayerAttributes
( QComboBox* cbx,
QgsVectorLayer
* layer );
31
32
QMap< QString, QgsVectorLayer* >
mLayers
;
33
34
};
35
36
#endif // QGSRELATIONADDDLG_H
Generated on Sun Feb 23 2014 14:27:20 for QGIS API Documentation by
1.8.1.2