-
-
Notifications
You must be signed in to change notification settings - Fork 3k
/
qgsqmlwidgetwrapper.h
37 lines (28 loc) · 1.34 KB
/
qgsqmlwidgetwrapper.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/***************************************************************************
qgsqmlwidgetwrapper.h
---------------------
begin : 25.6.2018
copyright : (C) 2018 by Matthias Kuhn
email : matthias@opengis.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. *
* *
***************************************************************************/
#ifndef QGSQMLWIDGETWRAPPER_H
#define QGSQMLWIDGETWRAPPER_H
#include "qgswidgetwrapper.h"
class GUI_EXPORT QgsQmlWidgetWrapper : public QgsWidgetWrapper
{
public:
QgsQmlWidgetWrapper( QgsVectorLayer *layer, QWidget *editor, QWidget *parent );
bool valid() const override;
QWidget *createWidget( QWidget *parent ) override;
void initWidget( QWidget *editor ) override;
public slots:
void setFeature( const QgsFeature &feature ) override;
};
#endif // QGSQMLWIDGETWRAPPER_H