2012-09-24 02:28:15 +02:00
|
|
|
class QgsManageConnectionsDialog : QDialog
|
|
|
|
{
|
|
|
|
%TypeHeaderCode
|
|
|
|
#include <qgsmanageconnectionsdialog.h>
|
|
|
|
%End
|
|
|
|
|
|
|
|
public:
|
|
|
|
enum Mode
|
|
|
|
{
|
|
|
|
Export,
|
|
|
|
Import
|
|
|
|
};
|
|
|
|
|
|
|
|
enum Type
|
|
|
|
{
|
|
|
|
WMS,
|
|
|
|
PostGIS,
|
|
|
|
WFS,
|
|
|
|
MSSQL,
|
2013-06-23 16:00:16 +02:00
|
|
|
WCS,
|
|
|
|
Oracle,
|
2012-09-24 02:28:15 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
// constructor
|
|
|
|
// mode argument must be 0 for export and 1 for import
|
|
|
|
// type argument must be 0 for WMS and 1 for PostGIS
|
2015-10-07 11:55:34 +11:00
|
|
|
QgsManageConnectionsDialog( QWidget *parent /TransferThis/ = NULL, Mode mode = Export, Type type = WMS, const QString& fileName = "" );
|
2012-09-24 02:28:15 +02:00
|
|
|
|
|
|
|
public slots:
|
|
|
|
void doExportImport();
|
|
|
|
void selectAll();
|
|
|
|
void clearSelection();
|
2014-01-26 18:35:21 +01:00
|
|
|
void selectionChanged();
|
2012-09-24 02:28:15 +02:00
|
|
|
};
|