mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 19:11:39 -06:00
35 lines
590 B
C++
35 lines
590 B
C++
#ifndef __IMPORTCSVDIALOG_H__
|
|
#define __IMPORTCSVDIALOG_H__
|
|
|
|
#include <QDialog>
|
|
|
|
class DBBrowserDB;
|
|
|
|
namespace Ui {
|
|
class ImportCsvDialog;
|
|
}
|
|
|
|
class ImportCsvDialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit ImportCsvDialog(const QString& filename, DBBrowserDB* db, QWidget* parent = 0);
|
|
~ImportCsvDialog();
|
|
|
|
private slots:
|
|
virtual void accept();
|
|
virtual void updatePreview();
|
|
virtual void checkInput();
|
|
|
|
private:
|
|
Ui::ImportCsvDialog* ui;
|
|
QString csvFilename;
|
|
DBBrowserDB* pdb;
|
|
|
|
char currentQuoteChar();
|
|
char currentSeparatorChar();
|
|
};
|
|
|
|
#endif
|