2017-07-11 17:21:34 +02:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
2017-07-17 10:16:12 +02:00
|
|
|
* src/gui/qgsabstractdatasourcewidget.h *
|
2017-07-11 17:21:34 +02:00
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-07-17 10:16:12 +02:00
|
|
|
class QgsAbstractDataSourceWidget : QDialog
|
2017-07-11 17:21:34 +02:00
|
|
|
{
|
|
|
|
%Docstring
|
2017-07-14 18:55:34 +02:00
|
|
|
Abstract base Data Source Widget to create connections and add layers
|
2017-07-11 17:21:34 +02:00
|
|
|
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.
|
2017-07-11 17:44:44 +02:00
|
|
|
.. versionadded:: 3.0
|
2017-07-11 17:21:34 +02:00
|
|
|
%End
|
|
|
|
|
|
|
|
%TypeHeaderCode
|
2017-07-17 10:16:12 +02:00
|
|
|
#include "qgsabstractdatasourcewidget.h"
|
2017-07-11 17:21:34 +02:00
|
|
|
%End
|
|
|
|
public:
|
|
|
|
|
2017-07-17 10:16:12 +02:00
|
|
|
QgsAbstractDataSourceWidget( QWidget *parent /TransferThis/ = 0, Qt::WindowFlags fl = QgsGuiUtils::ModalDialogFlags, QgsProviderRegistry::WidgetMode widgetMode = QgsProviderRegistry::WidgetMode::None );
|
2017-07-11 17:21:34 +02:00
|
|
|
%Docstring
|
|
|
|
Constructor
|
|
|
|
%End
|
|
|
|
|
2017-07-17 10:16:12 +02:00
|
|
|
virtual ~QgsAbstractDataSourceWidget( ) = 0;
|
2017-07-11 17:21:34 +02:00
|
|
|
%Docstring
|
2017-07-14 18:55:34 +02:00
|
|
|
Pure Virtual Destructor
|
2017-07-11 17:21:34 +02:00
|
|
|
%End
|
|
|
|
|
|
|
|
QgsProviderRegistry::WidgetMode widgetMode( );
|
|
|
|
%Docstring
|
|
|
|
Return the widget mode
|
|
|
|
:rtype: QgsProviderRegistry.WidgetMode
|
|
|
|
%End
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
|
2017-07-14 18:55:34 +02:00
|
|
|
virtual void refresh( );
|
2017-07-11 17:21:34 +02:00
|
|
|
%Docstring
|
2017-07-14 18:55:34 +02:00
|
|
|
The default implementation does nothing
|
2017-07-11 17:21:34 +02:00
|
|
|
%End
|
|
|
|
|
|
|
|
signals:
|
|
|
|
|
|
|
|
void connectionsChanged();
|
|
|
|
%Docstring
|
2017-07-17 10:23:33 +02:00
|
|
|
This signal is normally forwarded the app and used to refresh browser items
|
2017-07-11 17:21:34 +02:00
|
|
|
%End
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
2017-07-17 10:16:12 +02:00
|
|
|
* src/gui/qgsabstractdatasourcewidget.h *
|
2017-07-11 17:21:34 +02:00
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|