Changeset 15 in flair-src for trunk/tools/FlairGCS/src/file_ui.h
- Timestamp:
- Apr 8, 2016, 3:40:57 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/FlairGCS/src/file_ui.h
r10 r15 15 15 class QCloseEvent; 16 16 17 class file_ui:public QObject 18 { 19 Q_OBJECT 17 class file_ui : public QObject { 18 Q_OBJECT 20 19 21 22 23 24 25 26 20 public: 21 file_ui(); 22 ~file_ui(); 23 void log(QString text); 24 void addFile(QString file_path); 25 void endOfFiles(void); 27 26 28 29 30 31 QTextEdit *log_text,*input_text;32 33 34 35 36 37 38 bool is_greater(qint64 ref_us,qint64 csv_us,int ref_ns,int csv_ns);39 void closeEvent(QCloseEvent *e);40 27 private: 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; 41 40 42 43 44 41 private slots: 42 void save(void); 43 void clearInputText(void); 45 44 46 47 48 49 45 signals: 46 void showDialog(void); 47 void appendToLog(QString); 48 void finished(); 50 49 }; 51 50
Note:
See TracChangeset
for help on using the changeset viewer.