15#ifndef QGSDBRELATIONSHIPWIDGET_H
16#define QGSDBRELATIONSHIPWIDGET_H
18#include "ui_qgsdbrelationshipwidgetbase.h"
25#include <QAbstractTableModel>
28class QDialogButtonBox;
31class QSortFilterProxyModel;
84 QSortFilterProxyModel *mProxyModel =
nullptr;
127 void validityChanged(
bool isValid );
131 QDialogButtonBox *mButtonBox =
nullptr;
Provides common functionality for database based connections.
A model containing tables from a database connection.
QgsDbRelationDialog(QgsAbstractDatabaseProviderConnection *connection, QWidget *parent=nullptr, Qt::WindowFlags flags=Qt::WindowFlags())
Constructor for QgsDbRelationDialog, with the specified parent widget and window flags,...
QgsWeakRelation relationship() const
Returns the relationship as defined in the dialog.
void setRelationship(const QgsWeakRelation &relationship)
Sets the current relationship to show properties for in the dialog.
Represent a QgsRelation with possibly unresolved layers or unmatched fields.