-
Notifications
You must be signed in to change notification settings - Fork 0
/
TDBBatchDialog.h
52 lines (41 loc) · 967 Bytes
/
TDBBatchDialog.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
50
51
52
#ifndef TDBBATCHDIALOG_H
#define TDBBATCHDIALOG_H
#include <QtGlobal>
#include <QLocale>
#include <QDialog>
#include <QLabel>
#include <QList>
#include <QGridLayout>
#include <QLineEdit>
#include <QValidator>
#include <QPushButton>
#include <QTreeWidget>
#include <QStringListModel>
#include <QStringList>
#include "TDBApplication.h"
#include "TDBAccount.h"
class TDBBatchDialog : public QDialog
{
Q_OBJECT
public:
TDBBatchDialog(QWidget* parent, QStringList* lines, TDBAccount* binet_, int admin_id_);
private:
void process();
private slots:
void valider();
void setSeparator(QString s);
protected:
QChar educatedGuess();
QChar separator;
int admin_id;
TDBAccount* binet_account;
QStringList* rawData;
QGridLayout* layout;
QLabel* separator_label;
QLabel* listView_label;
QLineEdit* separator_edit;
QTreeWidget* listView;
QPushButton* ok_button;
QPushButton* cancel_button;
};
#endif