QGIS/src/app/qgsrelationadddlg.h

46 lines
1.5 KiB
C
Raw Normal View History

2016-01-08 21:31:41 +01:00
/***************************************************************************
qgsrelationadddlg.h
---------------------
begin : December 2015
copyright : (C) 2015 by Matthias Kuhn
email : matthias at opengis dot ch
***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
2013-10-04 14:47:59 +02:00
#ifndef QGSRELATIONADDDLG_H
#define QGSRELATIONADDDLG_H
2015-06-10 13:59:08 +02:00
#include <QDialog>
#include "ui_qgsrelationadddlgbase.h"
2017-01-04 12:05:04 +01:00
#include "qgis_app.h"
#include "qgsrelation.h"
2013-10-04 14:47:59 +02:00
class QgsVectorLayer;
2015-12-09 16:18:07 +10:00
class APP_EXPORT QgsRelationAddDlg : public QDialog, private Ui::QgsRelationAddDlgBase
2013-10-04 14:47:59 +02:00
{
Q_OBJECT
public:
explicit QgsRelationAddDlg( QWidget *parent = nullptr );
2013-10-04 14:47:59 +02:00
QString referencingLayerId();
QString referencedLayerId();
QList< QPair< QString, QString > > references();
QString relationId();
QString relationName();
QgsRelation::RelationStrength relationStrength();
2013-10-04 14:47:59 +02:00
private slots:
void checkDefinitionValid();
2013-10-04 14:47:59 +02:00
};
#endif // QGSRELATIONADDDLG_H