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 );
54 void on_pbnChangeSpatialRefSys_clicked();
56 void nameChanged( QString );
57 void selectionChanged();
60 QPushButton *mOkButton;
64 #endif //qgsnewvectorlayerdialog_H