mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
24 lines
623 B
Plaintext
24 lines
623 B
Plaintext
|
|
class QgsRelationReferenceWidgetWrapper : QgsEditorWidgetWrapper
|
|
{
|
|
%TypeHeaderCode
|
|
#include <qgsrelationreferencewidgetwrapper.h>
|
|
%End
|
|
|
|
public:
|
|
explicit QgsRelationReferenceWidgetWrapper( QgsVectorLayer* vl,
|
|
int fieldIdx,
|
|
QWidget* editor,
|
|
QgsMapCanvas* canvas,
|
|
QgsMessageBar* messageBar,
|
|
QWidget* parent /TransferThis/ = 0 );
|
|
|
|
virtual QWidget* createWidget( QWidget* parent );
|
|
virtual void initWidget( QWidget* editor );
|
|
virtual QVariant value();
|
|
|
|
public slots:
|
|
virtual void setValue( const QVariant& value );
|
|
virtual void setEnabled( bool enabled );
|
|
};
|