14
14
#define PLUGINGUI_H
16
16
#include "ui_qgsdelimitedtextpluginguibase.h"
17
#include <QTextStream>
18
#include "qgscontexthelp.h"
21
23
* \class QgsDelimitedTextPluginGui
23
25
class QgsDelimitedTextPluginGui : public QDialog, private Ui::QgsDelimitedTextPluginGuiBase
27
QgsDelimitedTextPluginGui();
28
QgsDelimitedTextPluginGui( QgisIface * _qI, QWidget* parent = 0, Qt::WFlags fl = 0 );
30
QgsDelimitedTextPluginGui( QgisInterface * _qI, QWidget* parent = 0, Qt::WFlags fl = 0 );
29
31
~QgsDelimitedTextPluginGui();
31
void on_pbnOK_clicked();
32
void on_pbnHelp_clicked();
33
void on_btnBrowseForFile_clicked();
34
void on_pbnParse_clicked();
33
static QString readLine( QTextStream & stream );
35
36
void updateFieldLists();
36
37
void getOpenFileName();
37
38
void enableButtons();
42
static const int context_id = 1033030847;
44
void drawRasterLayer(QString);
45
void drawVectorLayer(QString,QString,QString);
41
QAbstractButton *pbnOK;
42
QAbstractButton *pbnParse;
45
void on_buttonBox_accepted();
46
void on_buttonBox_rejected();
47
void on_buttonBox_helpRequested() { QgsContextHelp::run( metaObject()->className() ); }
48
void on_btnBrowseForFile_clicked();
49
void on_txtDelimiter_textChanged( const QString & text );
50
void pbnParse_clicked();
53
void drawRasterLayer( QString );
54
void drawVectorLayer( QString, QString, QString );