17 #ifndef qgsnewvectorlayerdialog_H
18 #define qgsnewvectorlayerdialog_H
20 #include "ui_qgsnewvectorlayerdialogbase.h"
34 static QString runAndCreateLayer( QWidget* parent = 0, QString* enc = 0 );
41 void attributes( QList< QPair<QString, QString> >& at )
const;
43 QString selectedFileFormat()
const;
45 QString selectedFileEncoding()
const;
47 int selectedCrsId()
const;
50 void on_mAddAttributeButton_clicked();
51 void on_mRemoveAttributeButton_clicked();
52 void on_mFileFormatComboBox_currentIndexChanged(
int index );
53 void on_mTypeBox_currentIndexChanged(
int index );
55 void nameChanged( QString );
56 void selectionChanged();
59 QPushButton *mOkButton;
62 #endif //qgsnewvectorlayerdialog_H