source: flair-src/trunk/tools/FlairGCS/src/file_ui.h@ 9

Last change on this file since 9 was 9, checked in by Sanahuja Guillaume, 8 years ago

gcs

File size: 1.0 KB
Line 
1#ifndef FILE_UI_H
2#define FILE_UI_H
3
4#include <QObject>
5
6class QStringList;
7class QDialog;
8class QTextEdit;
9class QPushButton;
10class QComboBox;
11class QCloseEvent;
12
13class file_ui:public QObject
14{
15 Q_OBJECT
16
17 public:
18 file_ui();
19 ~file_ui();
20 void log(QString text);
21 void addFile(QString file_path);
22 void endOfFiles(void);
23
24 private:
25 QDialog *dialog;
26 QStringList *file_names;
27 QTextEdit *log_text,*input_text;
28 QPushButton *ok_button;
29 QComboBox *csv_combo;
30 void save_comment(void);
31 void save_csv(void);
32 void save_txt(void);
33 void dbt2csv(QString file_path);
34 bool is_greater(qint64 ref_us,qint64 csv_us,int ref_ns,int csv_ns);
35 void closeEvent(QCloseEvent * e);
36 bool input_cleared;
37
38 private slots:
39 void save(void);
40 void clearInputText(void);
41
42 signals:
43 void showDialog(void);
44 void appendToLog(QString);
45 void finished();
46};
47
48#endif // FILE_UI_H
Note: See TracBrowser for help on using the repository browser.