-
Notifications
You must be signed in to change notification settings - Fork 0
/
mainwindow.h
49 lines (38 loc) · 917 Bytes
/
mainwindow.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
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QFileDialog>
#include <QDebug>
#include <QObject>
#include "mfhdf.h"
#include "mod11_hdf.h"
#include "mod13_hdf.h"
#include "globalcoords.h"
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = nullptr);
QString *m11dir, *m13dir ;
MOD11_hdf *mod11_hdf ;
MOD13_hdf *mod13_hdf ;
GlobalCoords *gc ;
~MainWindow();
int ns, nl, xloc, yloc, nyears ;
float curlat, curlon ;
bool LSTFlag ;
private slots:
void on_actionOpen_triggered();
void on_actionExit_triggered();
void on_nightButton_toggled(bool checked);
void newXY (int *xy) ;
void on_landtempRB_toggled(bool checked);
private:
Ui::MainWindow *ui;
QString infile="" ;
void getProfile (int xloc, int yloc);
};
#endif // MAINWINDOW_H