QgsGeomTypeDialog Class Reference

#include <qgsgeomtypedialog.h>

List of all members.


Detailed Description

Definition at line 27 of file qgsgeomtypedialog.h.

Public Member Functions

 QgsGeomTypeDialog (QWidget *parent=0, Qt::WFlags fl=QgisGui::ModalDialogFlags)
 ~QgsGeomTypeDialog ()
QGis::WkbType selectedType () const
 Returns the selected geometry type.
void attributes (std::list< std::pair< QString, QString > > &at) const
 Appends the chosen attribute names and types to at.
QString selectedFileFormat () const
 Returns the file format for storage.

Protected Slots

void on_mAddAttributeButton_clicked ()
void on_mRemoveAttributeButton_clicked ()
void on_buttonBox_helpRequested ()

Private Attributes

QPushButton * mOkButton

Static Private Attributes

static const int context_id = 165149618


Constructor & Destructor Documentation

QgsGeomTypeDialog::QgsGeomTypeDialog ( QWidget *  parent = 0,
Qt::WFlags  fl = QgisGui::ModalDialogFlags 
)

Definition at line 24 of file qgsgeomtypedialog.cpp.

References QgisApp::getThemeIcon(), and mOkButton.

QgsGeomTypeDialog::~QgsGeomTypeDialog (  ) 

Definition at line 43 of file qgsgeomtypedialog.cpp.


Member Function Documentation

QGis::WkbType QgsGeomTypeDialog::selectedType (  )  const

Returns the selected geometry type.

Definition at line 47 of file qgsgeomtypedialog.cpp.

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

Referenced by QgisApp::newVectorLayer().

void QgsGeomTypeDialog::attributes ( std::list< std::pair< QString, QString > > &  at  )  const

Appends the chosen attribute names and types to at.

Definition at line 91 of file qgsgeomtypedialog.cpp.

Referenced by QgisApp::newVectorLayer().

QString QgsGeomTypeDialog::selectedFileFormat (  )  const

Returns the file format for storage.

Definition at line 105 of file qgsgeomtypedialog.cpp.

Referenced by QgisApp::newVectorLayer().

void QgsGeomTypeDialog::on_mAddAttributeButton_clicked (  )  [protected, slot]

Definition at line 64 of file qgsgeomtypedialog.cpp.

References mOkButton.

void QgsGeomTypeDialog::on_mRemoveAttributeButton_clicked (  )  [protected, slot]

Definition at line 77 of file qgsgeomtypedialog.cpp.

References mOkButton.

void QgsGeomTypeDialog::on_buttonBox_helpRequested (  )  [protected, slot]

Definition at line 86 of file qgsgeomtypedialog.cpp.

References context_id, and QgsContextHelp::run().


Member Data Documentation

QPushButton* QgsGeomTypeDialog::mOkButton [private]

Definition at line 46 of file qgsgeomtypedialog.h.

Referenced by on_mAddAttributeButton_clicked(), on_mRemoveAttributeButton_clicked(), and QgsGeomTypeDialog().

const int QgsGeomTypeDialog::context_id = 165149618 [static, private]

Definition at line 47 of file qgsgeomtypedialog.h.

Referenced by on_buttonBox_helpRequested().


The documentation for this class was generated from the following files:
Generated on Tue Oct 28 16:51:56 2008 for Quantum GIS API Documentation by  doxygen 1.5.1