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-02-18 17:00:36 +11:00
|
|
|
QgsSublayersDialog( ProviderType providerType, QString name, QWidget* parent /TransferThis/ = 0, Qt::WindowFlags fl = 0 );
|
2013-05-29 01:31:09 +02:00
|
|
|
~QgsSublayersDialog();
|
|
|
|
|
|
|
|
void populateLayerTable( QStringList theList, 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();
|
|
|
|
};
|