QGIS/python/gui/auto_generated/qgssubsetstringeditorinterface.sip.in
Even Rouault 24eb319af2 [FEATURE] Add a subset string editor provider concept and registry
The aim of this work is to be able to provide custom subset string editor
GUI according to the layer. Typically, so that a WFS layer uses the same
editor than in its select source, or that a plugin can provide a custom
editor.

* Add QgsSubsetStringEditorInterface: abstract interface to define a dialog
  that can edit a subset string
* Make QgsQueryBuilder implement QgsSubsetStringEditorInterface
* Add QgsSubsetStringEditorProvider: interface for thos who want to provide
  a dialog to edit a subset string.
* Add QgsSubsetStringEditorProviderRegistry: keeps a list of subset string
  editor providers. Transposed from QgsDataItemGuiProviderRegistry
* Add QgsGui::subsetStringEditorProviderRegistry()
2020-11-16 11:09:06 +10:00

47 lines
1.6 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgssubsetstringeditorinterface.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsSubsetStringEditorInterface: QDialog
{
%Docstring
Interface for a dialog that can edit subset strings
.. versionadded:: 3.18
%End
%TypeHeaderCode
#include "qgssubsetstringeditorinterface.h"
%End
public:
QgsSubsetStringEditorInterface( QWidget *parent /TransferThis/ = 0,
Qt::WindowFlags fl = QgsGuiUtils::ModalDialogFlags );
%Docstring
Constructor
%End
virtual QString subsetString() const = 0;
%Docstring
Returns the subset string entered in the dialog.
%End
virtual void setSubsetString( const QString &subsetString ) = 0;
%Docstring
Sets a subset string into the dialog.
%End
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgssubsetstringeditorinterface.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/