Skip to content

Commit 593770a

Browse files
committed
Added python bindings for the base source select class
1 parent e57399b commit 593770a

File tree

1 file changed

+65
-0
lines changed

1 file changed

+65
-0
lines changed

python/gui/qgssourceselect.sip

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
/************************************************************************
2+
* This file has been generated automatically from *
3+
* *
4+
* src/gui/qgssourceselect.h *
5+
* *
6+
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
7+
************************************************************************/
8+
9+
10+
11+
12+
13+
class QgsSourceSelect : QDialog
14+
{
15+
%Docstring
16+
Abstract base Dialog to create connections and add layers
17+
This class must provide common functionality and the interface for all
18+
source select dialogs used by data providers to configure data sources
19+
and add layers.
20+
%End
21+
22+
%TypeHeaderCode
23+
#include "qgssourceselect.h"
24+
%End
25+
public:
26+
27+
QgsSourceSelect( QWidget *parent /TransferThis/ = 0, Qt::WindowFlags fl = QgsGuiUtils::ModalDialogFlags, QgsProviderRegistry::WidgetMode widgetMode = QgsProviderRegistry::WidgetMode::None );
28+
%Docstring
29+
Constructor
30+
%End
31+
32+
~QgsSourceSelect( );
33+
%Docstring
34+
Destructor
35+
%End
36+
37+
QgsProviderRegistry::WidgetMode widgetMode( );
38+
%Docstring
39+
Return the widget mode
40+
:rtype: QgsProviderRegistry.WidgetMode
41+
%End
42+
43+
public slots:
44+
45+
virtual void refresh( ) = 0;
46+
%Docstring
47+
Triggered when the provider's connections need to be refreshed
48+
%End
49+
50+
signals:
51+
52+
void connectionsChanged();
53+
%Docstring
54+
Emitted when the provider's connections have changed
55+
%End
56+
57+
};
58+
59+
/************************************************************************
60+
* This file has been generated automatically from *
61+
* *
62+
* src/gui/qgssourceselect.h *
63+
* *
64+
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
65+
************************************************************************/

0 commit comments

Comments
 (0)