|
QGIS API Documentation
3.0.2-Girona (307d082)
|
#include <qgsnewvectorlayerdialog.h>

Public Member Functions | |
| QgsNewVectorLayerDialog (QWidget *parent=nullptr, Qt::WindowFlags fl=QgsGuiUtils::ModalDialogFlags) | |
| ~QgsNewVectorLayerDialog () override | |
| void | attributes (QList< QPair< QString, QString > > &at) const |
| Appends the chosen attribute names and types to at. More... | |
| QgsCoordinateReferenceSystem | crs () const |
| Returns the selected CRS for the new layer. More... | |
| QString | filename () const |
| Returns the name for the new layer. More... | |
| QString | selectedFileEncoding () const |
| Returns the file format for storage. More... | |
| QString | selectedFileFormat () const |
| Returns the file format for storage. More... | |
| QgsWkbTypes::Type | selectedType () const |
| Returns the selected geometry type. More... | |
| void | setCrs (const QgsCoordinateReferenceSystem &crs) |
| Sets the crs value for the new layer in the dialog. More... | |
Static Public Member Functions | |
| static QString | runAndCreateLayer (QWidget *parent=nullptr, QString *enc=nullptr, const QgsCoordinateReferenceSystem &crs=QgsCoordinateReferenceSystem()) |
| Runs the dialog and creates a layer matching the dialog parameters. More... | |
Definition at line 31 of file qgsnewvectorlayerdialog.h.
| QgsNewVectorLayerDialog::QgsNewVectorLayerDialog | ( | QWidget * | parent = nullptr, |
| Qt::WindowFlags | fl = QgsGuiUtils::ModalDialogFlags |
||
| ) |
Definition at line 35 of file qgsnewvectorlayerdialog.cpp.
|
override |
Definition at line 118 of file qgsnewvectorlayerdialog.cpp.
| void QgsNewVectorLayerDialog::attributes | ( | QList< QPair< QString, QString > > & | at | ) | const |
Appends the chosen attribute names and types to at.
Definition at line 208 of file qgsnewvectorlayerdialog.cpp.
| QgsCoordinateReferenceSystem QgsNewVectorLayerDialog::crs | ( | ) | const |
Returns the selected CRS for the new layer.
Definition at line 180 of file qgsnewvectorlayerdialog.cpp.
| QString QgsNewVectorLayerDialog::filename | ( | ) | const |
Returns the name for the new layer.
Definition at line 243 of file qgsnewvectorlayerdialog.cpp.
|
static |
Runs the dialog and creates a layer matching the dialog parameters.
Definition at line 255 of file qgsnewvectorlayerdialog.cpp.
| QString QgsNewVectorLayerDialog::selectedFileEncoding | ( | ) | const |
Returns the file format for storage.
Definition at line 228 of file qgsnewvectorlayerdialog.cpp.
| QString QgsNewVectorLayerDialog::selectedFileFormat | ( | ) | const |
Returns the file format for storage.
Definition at line 221 of file qgsnewvectorlayerdialog.cpp.
| QgsWkbTypes::Type QgsNewVectorLayerDialog::selectedType | ( | ) | const |
Returns the selected geometry type.
Definition at line 165 of file qgsnewvectorlayerdialog.cpp.
| void QgsNewVectorLayerDialog::setCrs | ( | const QgsCoordinateReferenceSystem & | crs | ) |
Sets the crs value for the new layer in the dialog.
Definition at line 185 of file qgsnewvectorlayerdialog.cpp.
1.8.13