QGIS API Documentation  2.99.0-Master (90ae728)
Public Member Functions | Static Public Member Functions | Protected Slots | List of all members
QgsNewVectorLayerDialog Class Reference

#include <qgsnewvectorlayerdialog.h>

Inheritance diagram for QgsNewVectorLayerDialog:
Inheritance graph

Public Member Functions

 QgsNewVectorLayerDialog (QWidget *parent=nullptr, Qt::WindowFlags fl=QgisGui::ModalDialogFlags)
 ~QgsNewVectorLayerDialog ()
void attributes (QList< QPair< QString, QString > > &at) const
 Appends the chosen attribute names and types to at. More...
int selectedCrsId () const
 Returns the selected crs id. 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...

Static Public Member Functions

static QString runAndCreateLayer (QWidget *parent=nullptr, QString *enc=nullptr)

Protected Slots

void nameChanged (const QString &)
void on_buttonBox_helpRequested ()
void on_mAddAttributeButton_clicked ()
void on_mFileFormatComboBox_currentIndexChanged (int index)
void on_mRemoveAttributeButton_clicked ()
void on_mTypeBox_currentIndexChanged (int index)
void selectionChanged ()

Detailed Description

Definition at line 30 of file qgsnewvectorlayerdialog.h.

Constructor & Destructor Documentation

◆ QgsNewVectorLayerDialog()

QgsNewVectorLayerDialog::QgsNewVectorLayerDialog ( QWidget *  parent = nullptr,
Qt::WindowFlags  fl = QgisGui::ModalDialogFlags 

Definition at line 34 of file qgsnewvectorlayerdialog.cpp.

◆ ~QgsNewVectorLayerDialog()

QgsNewVectorLayerDialog::~QgsNewVectorLayerDialog ( )

Definition at line 99 of file qgsnewvectorlayerdialog.cpp.

Member Function Documentation

◆ attributes()

void QgsNewVectorLayerDialog::attributes ( QList< QPair< QString, QString > > &  at) const

Appends the chosen attribute names and types to at.

Definition at line 197 of file qgsnewvectorlayerdialog.cpp.

◆ nameChanged

void QgsNewVectorLayerDialog::nameChanged ( const QString &  name)

Definition at line 222 of file qgsnewvectorlayerdialog.cpp.

◆ on_buttonBox_helpRequested

void QgsNewVectorLayerDialog::on_buttonBox_helpRequested ( )

Definition at line 58 of file qgsnewvectorlayerdialog.h.

◆ on_mAddAttributeButton_clicked

void QgsNewVectorLayerDialog::on_mAddAttributeButton_clicked ( )

Definition at line 173 of file qgsnewvectorlayerdialog.cpp.

◆ on_mFileFormatComboBox_currentIndexChanged

void QgsNewVectorLayerDialog::on_mFileFormatComboBox_currentIndexChanged ( int  index)

Definition at line 105 of file qgsnewvectorlayerdialog.cpp.

◆ on_mRemoveAttributeButton_clicked

void QgsNewVectorLayerDialog::on_mRemoveAttributeButton_clicked ( )

Definition at line 188 of file qgsnewvectorlayerdialog.cpp.

◆ on_mTypeBox_currentIndexChanged

void QgsNewVectorLayerDialog::on_mTypeBox_currentIndexChanged ( int  index)

Definition at line 114 of file qgsnewvectorlayerdialog.cpp.

◆ runAndCreateLayer()

QString QgsNewVectorLayerDialog::runAndCreateLayer ( QWidget *  parent = nullptr,
QString *  enc = nullptr 

Definition at line 234 of file qgsnewvectorlayerdialog.cpp.

◆ selectedCrsId()

int QgsNewVectorLayerDialog::selectedCrsId ( ) const

Returns the selected crs id.

Definition at line 168 of file qgsnewvectorlayerdialog.cpp.

◆ selectedFileEncoding()

QString QgsNewVectorLayerDialog::selectedFileEncoding ( ) const

Returns the file format for storage.

Definition at line 217 of file qgsnewvectorlayerdialog.cpp.

◆ selectedFileFormat()

QString QgsNewVectorLayerDialog::selectedFileFormat ( ) const

Returns the file format for storage.

Definition at line 210 of file qgsnewvectorlayerdialog.cpp.

◆ selectedType()

QgsWkbTypes::Type QgsNewVectorLayerDialog::selectedType ( ) const

Returns the selected geometry type.

Definition at line 146 of file qgsnewvectorlayerdialog.cpp.

◆ selectionChanged

void QgsNewVectorLayerDialog::selectionChanged ( )

Definition at line 227 of file qgsnewvectorlayerdialog.cpp.

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