Map Matching
loading.h
Go to the documentation of this file.
1 #ifndef LOADING_H
2 #define LOADING_H
3 
4 #include <QApplication>
5 #include <QGroupBox>
6 #include <QLabel>
7 #include <QObject>
8 #include <QPushButton>
9 #include <QRadioButton>
10 #include <QVBoxLayout>
11 #include <QWidget>
12 
13 #include "file.h"
14 
15 class Loading : public QWidget {
16  Q_OBJECT
17 
18 public:
19  Loading();
20  ~Loading();
21 
25 
26 public slots:
30  void loadFileCSVTrack();
34  void loadFileSHPTrack();
38  void loadFileGrid();
42  void getCountry();
43 
44 signals:
48  void ready(File, File);
52  void readyNext(File);
53 
54 private:
58  void country();
62  void track();
66  void grid();
70  void launchFiles();
71 
72  QGroupBox* m_country;
73  QGroupBox* m_track;
74  QGroupBox* m_grid;
75  QGroupBox* m_boutonXY;
76 
77  QRadioButton* m_fr;
78  QRadioButton* m_usa;
79 
80  QPushButton* m_csvTrack;
81  QPushButton* m_shpTrack;
82  QPushButton* m_csvGrid;
83  QLabel* m_fileGPS;
84  QLabel* m_fileGrid;
85 
86  int nextOk;
87 };
88 
89 #endif // LOADING_H
QGroupBox * m_country
Definition: loading.h:72
QPushButton * m_csvTrack
Definition: loading.h:80
void loadFileGrid()
loadFileGrid Get File of grid
Definition: loading.cpp:104
The File class.
Definition: file.h:13
QPushButton * m_csvGrid
Definition: loading.h:82
void loadFileCSVTrack()
loadFileCSVTrack Get File of SHP track
Definition: loading.cpp:80
QGroupBox * m_grid
Definition: loading.h:74
File fileCSVTrack
Definition: loading.h:24
int nextOk
Definition: loading.h:86
QGroupBox * m_boutonXY
Definition: loading.h:75
QLabel * m_fileGrid
Definition: loading.h:84
QLabel * m_fileGPS
Definition: loading.h:83
void track()
track
Definition: loading.cpp:59
File fileSHPGrid
Definition: loading.h:22
QRadioButton * m_fr
Definition: loading.h:77
File fileSHPTrack
Definition: loading.h:23
void launchFiles()
launchFiles
Definition: loading.cpp:125
void country()
country
Definition: loading.cpp:25
void getCountry()
getCountry Choose country
Definition: loading.cpp:116
QRadioButton * m_usa
Definition: loading.h:78
void readyNext(File)
readyNext track file informations
void grid()
grid
Definition: loading.cpp:42
~Loading()
Definition: loading.cpp:21
void loadFileSHPTrack()
loadFileSHPTrack Get File of CSV track
Definition: loading.cpp:91
QPushButton * m_shpTrack
Definition: loading.h:81
void ready(File, File)
ready Emit files informations
Loading()
Definition: loading.cpp:3
QGroupBox * m_track
Definition: loading.h:73