16 #ifndef QGSWIDGETWRAPPER_H
17 #define QGSWIDGETWRAPPER_H
66 T*
widget() {
return dynamic_cast<T
>( mWidget ); }
90 QVariant config( QString key, QVariant defaultVal = QVariant() );
134 virtual QWidget* createWidget( QWidget* parent ) = 0;
141 virtual void initWidget( QWidget* editor );
150 virtual void setFeature(
const QgsFeature& feature ) = 0;
158 virtual void setEnabled(
bool enabled );
172 #endif // QGSWIDGETWRAPPER_H