SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
SublayerSelectionDialog Class Reference

Lets the user choose which sublayers of a vector datasource to add. More...

#include <sublayerselectiondialog.h>

Inheritance diagram for SublayerSelectionDialog:
Collaboration diagram for SublayerSelectionDialog:

Public Member Functions

 SublayerSelectionDialog (const QString &sourcePath, const QList< GISVectorLayer::OgrSublayerInfo > &sublayers, QWidget *parent=nullptr)
 
QStringList selectedLayerNames () const
 OGR names of the checked sublayers, in listed order.
 
QList< GISVectorLayer::OgrSublayerInfoselectedSublayers () const
 The checked sublayer descriptors, in listed order.
 

Detailed Description

Lets the user choose which sublayers of a vector datasource to add.

Constructor & Destructor Documentation

◆ SublayerSelectionDialog()

SublayerSelectionDialog::SublayerSelectionDialog ( const QString &  sourcePath,
const QList< GISVectorLayer::OgrSublayerInfo > &  sublayers,
QWidget *  parent = nullptr 
)
explicit
Parameters
sourcePathThe datasource path (for the header label).
sublayersThe enumerated sublayers (see GISVectorLayer::enumerateSublayers()).
parentParent widget.

Member Function Documentation

◆ selectedLayerNames()

QStringList SublayerSelectionDialog::selectedLayerNames ( ) const

OGR names of the checked sublayers, in listed order.

◆ selectedSublayers()

QList< GISVectorLayer::OgrSublayerInfo > SublayerSelectionDialog::selectedSublayers ( ) const

The checked sublayer descriptors, in listed order.


The documentation for this class was generated from the following files: