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

Last change on this file since 128 was 15, checked in by Bayard Gildas, 9 years ago

sources reformatted with flair-format-dir script

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