2013-05-29 01:31:09 +02:00
|
|
|
class QgsSublayersDialog : QDialog
|
|
|
|
{
|
|
|
|
%TypeHeaderCode
|
|
|
|
#include <qgssublayersdialog.h>
|
|
|
|
%End
|
|
|
|
public:
|
2013-06-23 16:00:16 +02:00
|
|
|
|
2013-05-29 01:31:09 +02:00
|
|
|
enum ProviderType
|
|
|
|
{
|
|
|
|
Ogr,
|
|
|
|
Gdal,
|
|
|
|
Vsifile
|
|
|
|
};
|
|
|
|
|
2015-10-07 11:55:34 +11:00
|
|
|
QgsSublayersDialog( ProviderType providerType, const QString& name, QWidget* parent /TransferThis/ = 0, const Qt::WindowFlags& fl = 0 );
|
2013-05-29 01:31:09 +02:00
|
|
|
~QgsSublayersDialog();
|
|
|
|
|
2015-10-07 11:55:34 +11:00
|
|
|
void populateLayerTable( const QStringList& theList, const QString& delim = ":" );
|
2013-06-23 16:00:16 +02:00
|
|
|
// Returns list of selected layers, if there are more layers with the same name,
|
|
|
|
// geometry type is appended separated by semicolon, example: <layer>:<geometryType>
|
2013-05-29 01:31:09 +02:00
|
|
|
QStringList selectionNames();
|
|
|
|
QList<int> selectionIndexes();
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
void on_buttonBox_helpRequested();
|
|
|
|
int exec();
|
|
|
|
};
|