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 | List of all members
QgsNewMemoryLayerDialog Class Reference

#include <qgsnewmemorylayerdialog.h>

Public Member Functions

 QgsNewMemoryLayerDialog (QWidget *parent=0, Qt::WindowFlags fl=QgisGui::ModalDialogFlags)
 ~QgsNewMemoryLayerDialog ()
QgsCoordinateReferenceSystem crs () const
 Returns the selected crs.
QString layerName () const
 Returns the layer name.
QGis::WkbType selectedType () const
 Returns the selected geometry type.

Static Public Member Functions

static QgsVectorLayerrunAndCreateLayer (QWidget *parent=0)
 Runs the dialoag and creates a new memory layer.

Detailed Description

Definition at line 26 of file qgsnewmemorylayerdialog.h.

Constructor & Destructor Documentation

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

Definition at line 74 of file qgsnewmemorylayerdialog.cpp.

QgsNewMemoryLayerDialog::~QgsNewMemoryLayerDialog ( )

Definition at line 92 of file qgsnewmemorylayerdialog.cpp.

Member Function Documentation

QgsCoordinateReferenceSystem QgsNewMemoryLayerDialog::crs ( ) const

Returns the selected crs.

Definition at line 127 of file qgsnewmemorylayerdialog.cpp.

QString QgsNewMemoryLayerDialog::layerName ( ) const

Returns the layer name.

Definition at line 132 of file qgsnewmemorylayerdialog.cpp.

QgsVectorLayer * QgsNewMemoryLayerDialog::runAndCreateLayer ( QWidget *  parent = 0)

Runs the dialoag and creates a new memory layer.

parentparent widget
new memory layer

Definition at line 32 of file qgsnewmemorylayerdialog.cpp.

QGis::WkbType QgsNewMemoryLayerDialog::selectedType ( ) const

Returns the selected geometry type.

Definition at line 98 of file qgsnewmemorylayerdialog.cpp.

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