-
-
Notifications
You must be signed in to change notification settings - Fork 3k
/
qgsgeomtypedialog.h
49 lines (42 loc) · 1.89 KB
/
qgsgeomtypedialog.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/***************************************************************************
qgsgeomtypedialog.h - description
-------------------
begin : October 2004
copyright : (C) 2004 by Marco Hugentobler
email : marco.hugentobler@autoform.ch
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
/* $Id$ */
#ifndef QGSGEOMTYPEDIALOG_H
#define QGSGEOMTYPEDIALOG_H
#include "ui_qgsgeomtypedialogbase.h"
#include "qgisgui.h"
#include "qgscontexthelp.h"
#include "qgis.h"
class QgsGeomTypeDialog: public QDialog, private Ui::QgsGeomTypeDialogBase
{
Q_OBJECT
public:
QgsGeomTypeDialog(QWidget *parent = 0, Qt::WFlags fl = QgisGui::ModalDialogFlags);
~QgsGeomTypeDialog();
/**Returns the selected geometry type*/
QGis::WKBTYPE selectedType() const;
/**Appends the chosen attribute names and types to at*/
void attributes(std::list<std::pair<QString, QString> >& at) const;
/**Returns the file format for storage*/
QString selectedFileFormat() const;
protected slots:
void on_mAddAttributeButton_clicked();
void on_mRemoveAttributeButton_clicked();
void on_btnHelp_clicked();
private:
static const int context_id = 165149618;
};
#endif //QGSGEOMTYPEDIALOG_H