class QgsSublayersDialog : QDialog { %TypeHeaderCode #include %End public: enum ProviderType { Ogr, Gdal, Vsifile }; QgsSublayersDialog( ProviderType providerType, const QString& name, QWidget* parent /TransferThis/ = 0, const Qt::WindowFlags& fl = 0 ); ~QgsSublayersDialog(); void populateLayerTable( const QStringList& theList, const QString& delim = ":" ); // Returns list of selected layers, if there are more layers with the same name, // geometry type is appended separated by semicolon, example: : QStringList selectionNames(); QList selectionIndexes(); public slots: void on_buttonBox_helpRequested(); int exec(); };