#include <qgsgeomtypedialog.h>
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 |
| 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.
| 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] |
| void QgsGeomTypeDialog::on_mRemoveAttributeButton_clicked | ( | ) | [protected, slot] |
| void QgsGeomTypeDialog::on_buttonBox_helpRequested | ( | ) | [protected, slot] |
Definition at line 86 of file qgsgeomtypedialog.cpp.
References context_id, and QgsContextHelp::run().
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] |
1.5.1