Quantum GIS API Documentation  master-693a1fe
QgsNewVectorLayerDialog Class Reference

#include <qgsnewvectorlayerdialog.h>

List of all members.

Public Member Functions

 QgsNewVectorLayerDialog (QWidget *parent=0, Qt::WFlags 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 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_mRemoveAttributeButton_clicked ()
void on_mTypeBox_currentIndexChanged (int index)
void on_pbnChangeSpatialRefSys_clicked ()
void selectionChanged ()

Private Attributes

int mCrsId
QPushButton * mOkButton

Detailed Description

Definition at line 26 of file qgsnewvectorlayerdialog.h.


Constructor & Destructor Documentation


Member Function Documentation

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

Appends the chosen attribute names and types to at.

Definition at line 184 of file qgsnewvectorlayerdialog.cpp.

References QgsDebugMsg.

Referenced by runAndCreateLayer().

void QgsNewVectorLayerDialog::nameChanged ( QString  name) [protected, slot]

Definition at line 204 of file qgsnewvectorlayerdialog.cpp.

Referenced by QgsNewVectorLayerDialog().

void QgsNewVectorLayerDialog::on_buttonBox_helpRequested ( ) [inline, protected, slot]

Definition at line 51 of file qgsnewvectorlayerdialog.h.

References QgsContextHelp::run().

Definition at line 141 of file qgsnewvectorlayerdialog.cpp.

References mOkButton.

Definition at line 156 of file qgsnewvectorlayerdialog.cpp.

References mOkButton.

void QgsNewVectorLayerDialog::on_mTypeBox_currentIndexChanged ( int  index) [protected, slot]

Definition at line 87 of file qgsnewvectorlayerdialog.cpp.

References QgsDebugMsg.

Returns the selected crs id.

Definition at line 136 of file qgsnewvectorlayerdialog.cpp.

References mCrsId.

Referenced by runAndCreateLayer().

Returns the file format for storage.

Definition at line 197 of file qgsnewvectorlayerdialog.cpp.

Referenced by runAndCreateLayer().

Returns the selected geometry type.

Definition at line 119 of file qgsnewvectorlayerdialog.cpp.

References QGis::WKBLineString, QGis::WKBPoint, QGis::WKBPolygon, and QGis::WKBUnknown.

Referenced by runAndCreateLayer().

void QgsNewVectorLayerDialog::selectionChanged ( ) [protected, slot]

Definition at line 209 of file qgsnewvectorlayerdialog.cpp.

Referenced by QgsNewVectorLayerDialog().


Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines