17 #ifndef QGSSUBSETSTRINGEDITORPROVIDER_H
18 #define QGSSUBSETSTRINGEDITORPROVIDER_H
53 virtual QString
name()
const {
return providerKey(); }
Interface for a dialog that can edit subset strings.
This is the interface for those who want to provide a dialog to edit a subset string.
virtual QgsSubsetStringEditorInterface * createDialog(QgsVectorLayer *layer, QWidget *parent=nullptr, Qt::WindowFlags fl=QgsGuiUtils::ModalDialogFlags)=0
Creates a new dialog to edit the subset string of the provided layer.
virtual bool canHandleLayer(QgsVectorLayer *layer) const =0
Returns true if the provider can handle the layer.
virtual bool canHandleLayerStorageType(QgsVectorLayer *layer) const
Returns true if the provider can handle specifically the layer->provider()->storageType() This method...
virtual QString name() const
Subset string editor provider name, this is useful to retrieve a particular subset string editor in c...
virtual QString providerKey() const =0
Provider key.
virtual ~QgsSubsetStringEditorProvider()
Destructor.
Represents a vector layer which manages a vector based data sets.