-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathps_stokescalc.h
65 lines (48 loc) · 1.43 KB
/
ps_stokescalc.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#ifndef PS_STOKESCALC_H
#define PS_STOKESCALC_H
#include <QDialog>
#include <QLabel>
#include <QPixmap>
#include <QPainter>
#include <QPen>
#include <QDir>
#include <QFileDialog>
#include <ps_enum.h>
namespace Ui {
class PS_StokesCalc;
}
class PS_StokesCalc : public QDialog
{
Q_OBJECT
public:
explicit PS_StokesCalc(QDir *pDIR, QWidget *parent = nullptr);
~PS_StokesCalc();
private slots:
void on_doubleSpinBox_P_0_0_valueChanged(double arg1);
void on_doubleSpinBox_P_p90_0_valueChanged(double arg1);
void on_doubleSpinBox_P_p45_0_valueChanged(double arg1);
void on_doubleSpinBox_m45_0_valueChanged(double arg1);
void on_doubleSpinBox_45_m90_valueChanged(double arg1);
void on_doubleSpinBox_m45_m90_valueChanged(double arg1);
void on_pushButton_Save_clicked();
private:
Ui::PS_StokesCalc *ui;
void CalcAll();
double P_0_0 = 0.0;
double P_p90_0 = 0.0;
double P_p45_0 = 0.0;
double P_m45_0 = 0.0;
double P_p45_m90= 0.0;
double P_m45_m90= 0.0;
double Stks_0 = 0.0;
double Stks_1 = 0.0;
double Stks_2 = 0.0;
double Stks_3 = 0.0;
double Stks_I = 0.0;
double Stks_p = 0.0;
double Stks_Psi = 0.0;
double Stks_Chi = 0.0;
QPixmap PX_Ellipse;
QDir *pDIR_Operation;
};
#endif // PS_STOKESCALC_H