QGIS API Documentation 3.40.0-Bratislava (b56115d8743)
|
A dialog for configuration of the properties of a relationship in a database. More...
#include <qgsdbrelationshipwidget.h>
Public Slots | |
void | accept () override |
Public Member Functions | |
QgsDbRelationDialog (QgsAbstractDatabaseProviderConnection *connection, QWidget *parent=nullptr, Qt::WindowFlags flags=Qt::WindowFlags()) | |
Constructor for QgsDbRelationDialog, with the specified parent widget and window flags, for the specified connection. | |
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. | |
A dialog for configuration of the properties of a relationship in a database.
Definition at line 97 of file qgsdbrelationshipwidget.h.
|
explicit |
Constructor for QgsDbRelationDialog, with the specified parent widget and window flags, for the specified connection.
Ownership of connection is transferred to the widget.
Definition at line 198 of file qgsdbrelationshipwidget.cpp.
|
overrideslot |
Definition at line 229 of file qgsdbrelationshipwidget.cpp.
QgsWeakRelation QgsDbRelationDialog::relationship | ( | ) | const |
Returns the relationship as defined in the dialog.
Definition at line 224 of file qgsdbrelationshipwidget.cpp.
void QgsDbRelationDialog::setRelationship | ( | const QgsWeakRelation & | relationship | ) |
Sets the current relationship to show properties for in the dialog.
Definition at line 219 of file qgsdbrelationshipwidget.cpp.