22 mProviderProperties.insert( property, value );
27 mProviderProperties.insert( property, value );
32 return mProviderProperties.value( property, defaultValue );
37 return mProviderProperties.value( property, defaultValue );
42 Q_UNUSED( isListening );
QVariant providerProperty(ProviderProperty property, const QVariant &defaultValue=QVariant()) const
Gets the current value of a certain provider property.
static QString SUBLAYER_SEPARATOR
String sequence used for separating components of sublayers strings.
double maxRenderingTimeMs
Default maximum allowable render time, in ms.
virtual void setListening(bool isListening)
Set whether the provider will listen to datasource notifications If set, the provider will issue noti...
void setProviderProperty(ProviderProperty property, const QVariant &value)
Allows setting arbitrary properties on the provider.
virtual bool renderInPreview(const QgsDataProvider::PreviewContext &context)
Returns whether the layer must be rendered in preview jobs.
double lastRenderingTimeMs
Previous rendering time for the layer, in ms.
Stores settings related to the context in which a preview job runs.
ProviderProperty
Properties are used to pass custom configuration options into data providers.