16#ifndef QGSWIDGETWRAPPER_H
17#define QGSWIDGETWRAPPER_H
57 if ( qobject_cast<QgsEditorWidgetWrapper *>( sipCpp ) )
58 sipType = sipType_QgsEditorWidgetWrapper;
59 else if ( qobject_cast<QgsRelationWidgetWrapper *>( sipCpp ) )
60 sipType = sipType_QgsRelationWidgetWrapper;
61 else if ( qobject_cast<QgsQmlWidgetWrapper *>( sipCpp ) )
62 sipType = sipType_QgsQmlWidgetWrapper;
63 else if ( qobject_cast<QgsHtmlWidgetWrapper *>( sipCpp ) )
64 sipType = sipType_QgsHtmlWidgetWrapper;
81 DocumentViewerContent,
119 T *
widget() {
return dynamic_cast<T
>( mWidget ); }
126 void setConfig(
const QVariantMap &config );
143 QVariant config(
const QString &key,
const QVariant &defaultVal = QVariant() )
const;
148 QVariantMap config()
const;
210 void notifyAboutToSave();
241 virtual void initWidget( QWidget *editor );
262 virtual void setEnabled(
bool enabled );
272 virtual void aboutToSave();
276 QWidget *mWidget =
nullptr;
277 QWidget *mParent =
nullptr;
This class contains context information for attribute editor widgets.
The feature class encapsulates a single feature including its unique ID, geometry and a list of field...
A grouped map of multiple QgsProperty objects, each referenced by a integer key value.
Represents a vector layer which manages a vector based data sets.
#define SIP_CONVERT_TO_SUBCLASS_CODE(code)
#define SIP_MONKEYPATCH_SCOPEENUM_UNNEST(OUTSIDE_CLASS, FORMERNAME)
Q_DECLARE_METATYPE(QgsDatabaseQueryLogEntry)
QMap< int, QgsPropertyDefinition > QgsPropertiesDefinition
Definition of available properties.