Added python bindings for the base source select class

This commit is contained in:
Alessandro Pasotti 2017-07-11 17:21:34 +02:00
parent e57399bae0
commit 593770a579

View File

@ -0,0 +1,65 @@
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgssourceselect.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsSourceSelect : QDialog
{
%Docstring
Abstract base Dialog to create connections and add layers
This class must provide common functionality and the interface for all
source select dialogs used by data providers to configure data sources
and add layers.
%End
%TypeHeaderCode
#include "qgssourceselect.h"
%End
public:
QgsSourceSelect( QWidget *parent /TransferThis/ = 0, Qt::WindowFlags fl = QgsGuiUtils::ModalDialogFlags, QgsProviderRegistry::WidgetMode widgetMode = QgsProviderRegistry::WidgetMode::None );
%Docstring
Constructor
%End
~QgsSourceSelect( );
%Docstring
Destructor
%End
QgsProviderRegistry::WidgetMode widgetMode( );
%Docstring
Return the widget mode
:rtype: QgsProviderRegistry.WidgetMode
%End
public slots:
virtual void refresh( ) = 0;
%Docstring
Triggered when the provider's connections need to be refreshed
%End
signals:
void connectionsChanged();
%Docstring
Emitted when the provider's connections have changed
%End
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgssourceselect.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/