QGIS API Documentation  2.8.2-Wien
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Protected Slots | List of all members
QgsNewVectorLayerDialog Class Reference

#include <qgsnewvectorlayerdialog.h>

Public Member Functions

 QgsNewVectorLayerDialog (QWidget *parent=0, Qt::WindowFlags fl=QgisGui::ModalDialogFlags)
 ~QgsNewVectorLayerDialog ()
void attributes (QList< QPair< QString, QString > > &at) const
 Appends the chosen attribute names and types to at.
int selectedCrsId () const
 Returns the selected crs id.
QString selectedFileEncoding () const
 Returns the file format for storage.
QString selectedFileFormat () const
 Returns the file format for storage.
QGis::WkbType selectedType () const
 Returns the selected geometry type.

Static Public Member Functions

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

Protected Slots

void nameChanged (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 26 of file qgsnewvectorlayerdialog.h.

Constructor & Destructor Documentation

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

Definition at line 34 of file qgsnewvectorlayerdialog.cpp.

QgsNewVectorLayerDialog::~QgsNewVectorLayerDialog ( )

Definition at line 99 of file qgsnewvectorlayerdialog.cpp.

Member Function Documentation

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

Appends the chosen attribute names and types to at.

Definition at line 192 of file qgsnewvectorlayerdialog.cpp.

void QgsNewVectorLayerDialog::nameChanged ( QString  name)
protectedslot

Definition at line 217 of file qgsnewvectorlayerdialog.cpp.

void QgsNewVectorLayerDialog::on_buttonBox_helpRequested ( )
inlineprotectedslot

Definition at line 54 of file qgsnewvectorlayerdialog.h.

void QgsNewVectorLayerDialog::on_mAddAttributeButton_clicked ( )
protectedslot

Definition at line 168 of file qgsnewvectorlayerdialog.cpp.

void QgsNewVectorLayerDialog::on_mFileFormatComboBox_currentIndexChanged ( int  index)
protectedslot

Definition at line 105 of file qgsnewvectorlayerdialog.cpp.

void QgsNewVectorLayerDialog::on_mRemoveAttributeButton_clicked ( )
protectedslot

Definition at line 183 of file qgsnewvectorlayerdialog.cpp.

void QgsNewVectorLayerDialog::on_mTypeBox_currentIndexChanged ( int  index)
protectedslot

Definition at line 114 of file qgsnewvectorlayerdialog.cpp.

QString QgsNewVectorLayerDialog::runAndCreateLayer ( QWidget *  parent = 0,
QString *  enc = 0 
)
static

Definition at line 229 of file qgsnewvectorlayerdialog.cpp.

int QgsNewVectorLayerDialog::selectedCrsId ( ) const

Returns the selected crs id.

Definition at line 163 of file qgsnewvectorlayerdialog.cpp.

QString QgsNewVectorLayerDialog::selectedFileEncoding ( ) const

Returns the file format for storage.

Definition at line 212 of file qgsnewvectorlayerdialog.cpp.

QString QgsNewVectorLayerDialog::selectedFileFormat ( ) const

Returns the file format for storage.

Definition at line 205 of file qgsnewvectorlayerdialog.cpp.

QGis::WkbType QgsNewVectorLayerDialog::selectedType ( ) const

Returns the selected geometry type.

Definition at line 146 of file qgsnewvectorlayerdialog.cpp.

void QgsNewVectorLayerDialog::selectionChanged ( )
protectedslot

Definition at line 222 of file qgsnewvectorlayerdialog.cpp.


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