16#ifndef QGSWIDGETWRAPPER_H
17#define QGSWIDGETWRAPPER_H
56 if ( qobject_cast<QgsEditorWidgetWrapper *>( sipCpp ) )
57 sipType = sipType_QgsEditorWidgetWrapper;
58 else if ( qobject_cast<QgsRelationWidgetWrapper *>( sipCpp ) )
59 sipType = sipType_QgsRelationWidgetWrapper;
60 else if ( qobject_cast<QgsQmlWidgetWrapper *>( sipCpp ) )
61 sipType = sipType_QgsQmlWidgetWrapper;
62 else if ( qobject_cast<QgsHtmlWidgetWrapper *>( sipCpp ) )
63 sipType = sipType_QgsHtmlWidgetWrapper;
79 DocumentViewerContent,
123 void setConfig(
const QVariantMap &config );
140 QVariant config(
const QString &key,
const QVariant &defaultVal = QVariant() )
const;
145 QVariantMap config()
const;
185 return mPropertyCollection;
210 void notifyAboutToSave();
240 virtual void initWidget( QWidget *editor );
261 virtual void setEnabled(
bool enabled );
270 virtual void aboutToSave();
274 QWidget *mWidget =
nullptr;
275 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.